Solution: Not sure of exact line number, but look for this line (around 1972): $server_arr = [$this->smtpDomain]; and above it, add: $this->smtpHost = $this->smtpDomain; Andy
550 Bad HELO - Host impersonating
Very creative, looking into it for a permanent fix.
DKIM not working and needed possibly for GMAIL recipients
Fixed the PHPMailer Pro website and added create_dkim_keys.zip utility to the files download section.
Errors using PHP 8.2
Examples show the changes. PHPMailer Pro is NOT code compatile with PHPMailer.
MIME error
Apologies ...
Kevin, I have received the sample email with the HTML text and image attachment showing the way the email should appear. I recreated that email and sent it to you, using the same version of PHPMailer.Pro.php that you have ... there were no errors or warnings. I sent it several times to several email addresses (including yours, and several of mine). I also note that the header you showed me in that last email did not match what should be sent by PHPMailer Pro. Are you modifying PHPMailer.Pro.php?...
Send you an email.
Error duplicated. working on it.
And, a quick question. What happens when you use SMTP?
Can you post a screenshot of the header block, at least up to the start of the message block please. Andy
Rather than rush the release of v1.3.0, I have posted an interim update that fixes the above problem. It's at https://sourceforge.net/projects/phpmailerpro/files/
Apologies ...
MIME error
Kevin, Check your emails, I sent you a fix. Andy
Thanks for posting this Kevin. I've been running tests all day and just managed to duplicate the problem. I have a fix. just trying to figure out how to communicate it to you. Check again in about 30 minutes. Andy
MIME error
Please post a screen shot of the header (with the email addresses blacked out). The error indicates the expected header boundary is malformed or missing.
format bad in outlook (plan txt)
Kevin, I made an assumption and upon going over your posts, my assumption was incorrect. You are building an email body from database data (or a variable) that contains an image. You were using the AddEmbeddedImage method to get it to display in the email properly. Your first attempt was to use AddAttachment, which through an error at the wrong place. The second attempt worked, AddEmbeddedImage. On figuring that out, I reworked PHPMailer Pro to detect errors on image attachments, plus solved a riddle...
Are you trying to add the image that is part of the HTML body? There is no need to do that, the class will add the embedded image automatically ...
Sent. After you test, please post your results here in the "tickets" section so others can be aware of the issue. Thanks, Andy
Any attachments, inline or files, adds to the header as well as the body. I have a potential fix, may I email it to you to test? Thanks Andy
Thanks for reporting that Kevin. I have not been able to replicate your issue ... however, I am aware there have been recent changes where some providers have configuration settings that alter the use of line endings. That affects mainly *nix servers. I am working on an alternate method to generate email headers and body so that it works on all version. It's in process now, hopefully will have a new version to overcome this issue. Thanks, Andy
I have been a contributor to "open source" for a considerable number of years. My projects have included OpCache, Content Management Systems, Templating engines, Mailing List managers, IMAP email tools, Email transport tools, and many more. I retired from developing software to aid in my health recovery. My pancreas decided to stop most of its functionality. After a severe weight loss, and some ensuing coronary issues, I turned over my major projects (PHPMailer mainly) to another admin. As of 2022,...
PHPMailer-FE up to version 4.1.1 is deprecated and support is no longer available.
Home