SMTP and charset problem

Giganews Newsgroups
Subject: SMTP and charset problem
Posted by:  Christer (nospam@utfors.se)
Date: Thu, 18 Sep 2003

I'm trying to use the TIdSMTP component. The trouble is that our Swedish
characters "åäöÅÄÖ" are converted to something else when used in the body
text of a message.

I tried to set the CharSet property to iso-8859-1 in the TIdMessage
component for the mail, but that resulted in the text being attached as a
file to the mail, instead of included as body text. The text in the
attachment however, now used the correct charset.

Please tell me how to get the charset working!

Best regards
Christer

Replies