DZ-Jay wrote:
> On Dec 22, 2006, at 05:28, Henrik wrote:
>
>> Ok, so if I want to be sure that Swedish e-mails looks the same when
>> they
>> arrive to the recipient regardless of what language is used on the
>> recipients computer I should encode the text message with
>> QuotedPrintable?
>>
>> And this is done by setting the following properties?
>> SmtpCli1.Allow8bitChars := false; (if I want the _subject_
>> encoded) SmtpCli1.DefaultEncoding := smtpEncQuotedPrintable; (to
>> get the body encoded)
>
> This will encode the body. The headers (Subject and From/To lines)
> need to be encoded separately, as this is a fairly new mechanism used
> by many current mail clients, but not originally planed for in RFC-822
> messages. This mechanism is a bit complex because it needs to include
> boundaries and meta-data within each encoded header. I suggest you
> search in Google for "smtp message header encoding" or something like
> that.
>
> dZ.
Hi dZ,
Headers are indeed encoded in latest versions. It's my own, rather old
work added to ICS in summer (or so). It works for me since a couple of
years reliable, the code could be optimized of course.
---
Arno Garrels [TeamICS]
http://www.overbyte.be/eng/overbyte/teamics.html
> --
> DZ-Jay [TeamICS]
> http://www.overbyte.be/eng/overbyte/teamics.html
--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be