Re: [twsocket] SmtpCli and sending mails in international context

2012-08-03 Thread Arno Garrels
Markus Humm wrote: Hello, Arno wrote: Humm, Markus wrote: Hello, fixed my Smtp problem not by specifiying UTF8 as charset and using AnsiToUTF8 It's not clear how you fixed it? You should specify UTF-8 as the charset if you convert mail body and subject line etc. to UTF-8. Also set

Re: [twsocket] SmtpCli and sending mails in international context

2012-08-02 Thread Humm, Markus
Hello, Thanks for the information in the first place. Any hints for me how to do this the correct way? e.g. find out the user's charset and use that? Or sending UTF8? (does this work with all mail clients?) UTF-8 is the charset to use, that should work with all common mail clients

Re: [twsocket] SmtpCli and sending mails in international context

2012-08-02 Thread Humm, Markus
Hello, fixed my Smtp problem not by specifiying UTF8 as charset and using AnsiToUTF8 For the mail body and subject line. Works correct as it seems. Greetings Markus ebm-papst Mulfingen GmbH Co. KG Sitz der Gesellschaft: Bachmuehle 2, D-74673 Mulfingen Kommanditgesellschaft Sitz Mulfingen:

Re: [twsocket] SmtpCli and sending mails in international context

2012-08-02 Thread Arno Garrels
Humm, Markus wrote: Hello, fixed my Smtp problem not by specifiying UTF8 as charset and using AnsiToUTF8 It's not clear how you fixed it? You should specify UTF-8 as the charset if you convert mail body and subject line etc. to UTF-8. Also set Allow8BitChars to FALSE so any 8-bit char will

Re: [twsocket] SmtpCli and sending mails in international context

2012-08-01 Thread Arno Garrels
Markus Humm wrote: Hello, I used SmtpCli in one of my applications (ok still ICS V5 under D2007) ICS V7 supports D7+, so unless you have to support Windows 2000- you should upgrade ASAP. and today I found out that I send all mails with charset set to iso8859-1, even when the message body