You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Oddly, this behaviour in PHPMailer originated by copying exactly what Apple Mail does with long lines! This is standard RFC2047 encoding, and it's the only way you can wrap lines without introducing extra spaces when it's decoded. What other solution do you have for that?
The best workaround for this is to use SMTP to localhost instead of mail(), so add a call to isSMTP() to your code. This encoding is only done in order to avoid a bug in mail(), and although it's entirely RFC compliant, some email clients don't like it.
Problem description
List-Unsubscribe & List-Id header values should not be encoded
Values will be encoded, mail clients like Apple Mail are unable than to read the values for the unsubscribe button.
Code to reproduce
Debug output
The text was updated successfully, but these errors were encountered: