Atozed Forums

Full Version: SMTP, Sender header, and non-ASCII characters
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
In TIdMessage.GenerateHeader, the From header is set using EncodeAddress, so non-ASCII characters are displayed correctly. 
The Sender header, however, is set directly, so that non-ASCII characters in TIdMessage.Sender.Name are substituted by "?".

Is that by design? Because of a standard, or because of actual behaviour by servers?

::tor
(11-22-2019, 12:55 PM)Midiar Wrote: [ -> ]Is that by design? Because of a standard, or because of actual behaviour by servers?

I don't know of any reason why encoding should be skipped on the Sender, it is probably just an oversight.