Open vagifzeynalov opened 5 years ago
Thanks for this contribution @vagifzeynalov. I agree that it is better to have quotes around the name part of the From
header.
However I think this PR needs additional changes to handle quotes that may be included in the original message:
Hi @arithmetric,
Thanks for your response. Please feel free to close this PR or change it by yourself. Unfortunately I can't make any changes anymore. :)
Regards, Vagif
This is quite an important one - we've been seeing emails to Yahoo/Ymail addresses sporadically bouncing for several months now, and it seems to happen when the (unquoted) Display Name is an email address whose domain doesn't match the address in angle brackets. We've started putting quotes around Display Name, all our our emails seem to be arriving.
See https://stackoverflow.com/questions/3644081/what-is-the-format-for-e-mail-headers-that-display-a-name-rather-than-the-e-mail for more info