Alaska Software Inc. - E-mail charset problem
Username: Password:
AuthorTopic: E-mail charset problem
Peter KujbusE-mail charset problem
on Fri, 23 Jul 2010 11:06:08 +0200
Hi all!

We're using ISO-8859-2 Central European charset for hungarian special
characters, but sending emails with AsiNet1.90.0331.dll they appers wrong.

For example in Outlook format:
cMessage:="rvztr tkrfrgp"
oMail:SetSubject("=?ISO-8859-2?B?"+ToBase64(cMessage)+"?=")

We use this format, but the dll decodes it wrong, and removes all of the
charset specs.

Attached filenames includes these chars too, and the same problem:
oMail:AttachFile("Tjkoztat.doc")
Webmail clients (yahoo.com, hotmail.com, freemail.hu etc.) can't process
these filenames because of the spec. charset (not defined charset).

For example attached file: rlista_08.06.23.xls
with Outlook correctly:
------=_NextPart_000_009C_01C8D541.7F647660
Content-Type: application/vnd.ms-excel;
 name="=?iso-8859-2?Q?=C1rlista_08.06.23.xls?="
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
 filename="=?iso-8859-2?Q?=C1rlista_08.06.23.xls?="

with Alaska(AttachFile()) without any charset:
---------Boundary576822008062408-29-17
Content-Transfer-Encoding: base64
Content-Type: application/msexcel;
 name="rlista_08.06.23.xls"

What we need:
How can we set spec.(ISO-8859-2) charset for email subject and attached
filenames?

Thanks for any help,
Szolex