Is there a reason, why TMIMEPart.EncodePartHeader does not
encode Content-Description mime part header? When attachment filename
contains 8-bit characters (like ä ö ü õ), then they are encoded in
Content-Disposition and Content-type headers, but not in
Content-Description. After changing
FHeaders.Insert(0, 'Content-Description: ' + FDescription);
to
FHeaders.Insert(0, 'Content-Description: ' + InlineCodeEx(FDescription,
FTargetCharset));
I only noticed it because it started causing problems with newer
Courier IMAP and POP3 servers, that support UTF8 extension.
--
Virgo Pärna
[email protected]
_______________________________________________
synalist-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/synalist-public