I am currently using the TSmtpCli component to send email notifications to
users. I want to change the HdrTo property value to additionaly contain the
user name instead of just the plain email address.

As my user name is retrieved from a database as WideString I wonder
how I handle non-ASCII characters in the user name. My application is
compiled using Delphi 2006.

I see in my mail client that such non-ASCII string parts are escaped like 

=?ISO-8859-1?Q?H=E4llo?= world

Is there some way to produce this string escape sequence when setting the
HdrTo property? I have looked at the ICS sources but could not find the
appropriate helper function.


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

Reply via email to