Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
SMTP, Sender header, and non-ASCII characters
#1
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
Reply
#2
(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.

Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)