I have PHPMailer working and sending emails in HTML however after adding a comment or publishing content it redirects to a tonne of text on a white page. Starts like this ..

SMTP -> get_lines(): $data was "" SMTP -> get_lines(): $s

How do I prevent this?

Comments

OnlineWD™’s picture

In the text is ..

We do not authorize the use of this system to transport unsolicited, 220 and/or bulk e-mail. SMTP -> get_lines(): $data was "" SMTP -> get_lines(): $str is

But it's working!

jose reyero’s picture

Status: Active » Closed (won't fix)

Looks like some settings issue with your mail server, we won't look into fixing PHPMailer internal issues. Try posting to PHPMailer project.

Workaround: Disable 'Inmediate sending' so at least these errors will be just logged.