Hello Synapse Team,
I have some questions and suggestions about your E-Mail objects:
I tried to produce an E-Mail with a subject in UTF-8 encoding, but it didn't
work.
However, after adding the "UTF_8" symbol in the function InlineCodeEx (File:
mimeinln.pas) (see blow for code),
it worked as I wanted it to.
Is it ok to do this? Shouldn't this be added for the next release?
function InlineCodeEx(const Value: string; FromCP: TMimeChar): string;
var
c: TMimeChar;
begin
if NeedInline(Value) then
begin
c := IdealCharsetCoding(Value, FromCP,
[UTF_8, ISO_8859_1, ISO_8859_2, ISO_8859_3, ISO_8859_4,
ISO_8859_5,
ISO_8859_6, ISO_8859_7, ISO_8859_8, ISO_8859_9, ISO_8859_10,
KOI8_R, KOI8_U
{$IFNDEF CIL} //error URW778 ??? :-O
, GB2312, EUC_KR, ISO_2022_JP, EUC_TW
{$ENDIF}
]);
Result := InlineEncode(Value, FromCP, c);
end
else
Result := Value;
end;
Finally, I'd like to thank you all for a very fine socket library, it solved
all the problems I previously had with Indy. :)
Regards!
mrk
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
synalist-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/synalist-public