> Would it also work if I would set Allow8BitChars to TRUE, Charset to > "UTF-8" and manually encode all string properties like "HdrTo", > "HdrSubject" and "MailMessage.Text" using Utf8Encode()?
No, the headers contain their charset inline as part of the string, and are encoded using function HdrEncodeInLine in MimeUtils, an example looks like: =?utf-8?Q?ve_=28Greek:_=C5=B4=C6=9F=C6=B1=CE=A3=CE=A8=CE=A9=29?= > My assumption was that the header lines should not contain non-ASCII > characters, but maybe it is legal to use UTF-8 if the header also > declares something like > Content-Type: text/plain; charset="UTF-8" The headers may have different charset to the content, indeed they are usually ASCII. Never use the body charset to decode the headers. Angus -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be