When the SMTP account is specified in the settings, the sender of the email will be "blog name" .
But if there is a : in the blog name, this will break the headers, as the : is the character used in headers to separate keys and values.
I propose a simple fix here, but maybe the function mail::B64Header should take care of this cleaning.
Je viens de jeter un œil à la RFC2047 et il n'y a pas que le : qui pose éventuellement problème. Effectivement il va falloir se pencher du côté de CB pour corriger ça. En attendant j'intègre ta PR.
When the SMTP account is specified in the settings, the sender of the email will be "blog name".
But if there is a : in the blog name, this will break the headers, as the : is the character used in headers to separate keys and values.
I propose a simple fix here, but maybe the function mail::B64Header should take care of this cleaning.