|Subject:||Re: IdMessage subject Encoding|
|Posted by:||Dmitry Mikhilov (d…@fromru.com)|
|Date:||Tue, 16 Sep 2003|
There are many issues with Indy 9 concerning proper handling of cyrillic
encodings, not limited to subject encoding. You got to substantially patch
Indy sources to handle them.
"Alexander Fatykhov" <hightow…@mail333.com> wrote:
> Hello, All!
> Is it possible to change message subject encoding?
> e.g. I've multipart message (1 text part and several attachments), I set
> IdMessage->ContentTransferEncoding = "8bit";
> IdMessage->ContentType = "Windows-1251";
> IdMessage->CharSet = "text/plain";
> IdMessage->Subject = @Subject in russian
> TIdAttachment *a = new TIdAttachment(IdMessage->MessageParts, "file
> TIdText *idText = new TIdText(IdMessage->MessageParts, slBody);
> and after sending I have in headers: (why ISO-8859-1 and how to change
IdMessage subject Encoding posted by Alexander Fatykhov on Tue, 16 Sep 2003