#19500t3lib_htmlmail: sending mails produces error "501 Bad address syntax" in mail.log
Description
After updating to version 4.2.2, some HTML mails did not arrive. Checking the mail.log gives me the error “501 Bad address syntax”.
I tested to send a HTML mail in the install tool and got the same error.
Change line 716 from:
$returnPath = (strlen($this->returnPath) > 0) ? ‘-f “ ‘ . escapeshellarg($this->returnPath) . ‘ “ ‘ : ‘ ‘;
to:
$returnPath = (strlen($this->returnPath) > 0) ? ‘-f ‘.escapeshellarg($this->returnPath).’ ‘ : ‘ ‘;
There are too many double qoutes. After changing this, the mails arrived.
(issue imported from #M9628)
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.