-
-
Notifications
You must be signed in to change notification settings - Fork 9.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Breaking Change with PHP 7.2/8 on Dreamhost? #2977
Comments
I think literally all relevant info is missing here.... |
Your snark and assumptions of incompetence are noted, but not helpful. I
have been using PHP Mailer for a while successfully and having it break
when I invoke the initial call threw me for a loop. Thanks?
<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
Virus-free.www.avast.com
<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
…On Wed, Nov 15, 2023 at 3:59 AM XL-2000 ***@***.***> wrote:
I think literally all relevant info is missing here....
Its like saying "My car was driving fine, I replaced the engine at some
point, and haven't started it since. Now it seems the car is not starting
at all. Could it be the ignition key?"
First I would highly recommend you implement (unit)testing on your site,
since you can at least have some control of what is happening.
Next; use the debug options provided in the documentation of PHPMailer,
and at least provide some logging.
Next; if your code *breaks*, it looks like its a PHP (configuration)
thing, not a PHPMailer thing, but any kind of logging must be provided to
say something more concrete on this...
—
Reply to this email directly, view it on GitHub
<#2977 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACHDZVJGCFF763Q7IKGA2ELYESG7BAVCNFSM6AAAAAA7LYNZ2SVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMJSGEZTSMJUGU>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
--
Michael
|
Please provide your implementation of PHPMailer code and corresponding logging (either PHPMailer logging output and/or PHP native logging output) |
Discussed in #2976
Originally posted by irthinker November 14, 2023
I have had PHPMailer working beautifully on my site for many years. I upgraded to PHP 8.1 in the past 3-6 months and I honestly can't recall what version of PHP I was on. My existing PHP Mailer files are from 8/29/2023 and I think the mail functions were working. To be honest, they are only used to create accounts and reset passwords for the most part, so not as obvious a problem. I am sure they were working in February of this year, because usage was hot and heavy then.
Anyway, right now, my code (which, again, was working for years) breaks when I hit this line:
$mail = new PHPMailer;
I am not entirely sure how to debug that. Any help would be appreciated.
Is it a PHP upgrade thing? A Dreamhost change thing?
The text was updated successfully, but these errors were encountered: