> message is coding good, bud subject is not coding....
> if i send mail to gmail output display good, but OE display wrong chars.
>
> In mail body is "Subject: 123456789+ěščřžýáíé" (it identic as s variable)
>From my test code (where m is instace of TMimemess):
l.loadfromfile('c:\dia.txt');
m.AddPartText(l,nil);
m.header.from:='"Lukáš Gebauer" <[email protected]>';
m.header.tolist.add('[email protected]');
m.header.subject:='test message (ěščřžýáíé)';
m.EncodeMessage;
memo1.lines.assign(m.lines);
And all is encoded fine, include from header... subject is:
Subject: =?ISO-8859-2?Q?test_message_=28=EC=B9=E8=F8=BE=FD=E1=ED=E9=29?=
--
Lukas Gebauer.
http://synapse.ararat.cz/ - Synapse Delphi and Kylix TCP/IP Library
http://geoget.ararat.cz/ - Geocaching solution
------------------------------------------------------------------------------
RSA® Conference 2012
Save $700 by Nov 18
Register now!
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
synalist-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/synalist-public