Hi all, I have a Delphi XE application which sends mails upon request. It works rather well but I sometimes have a problem with the swedish special characters åäö and ÅÄÖ. When I send a mail to a number of recipients it looks OK for most of them but not for all! The special characters doesn't display correctly for those individuals!
I set the charset property like this: MailMessage.CharSet := 'utf-8';
I have also tried to use:
MailMessage.Encoding := meMIME;
MailMessage.Body.Text := UTF8Encode(sMsg);
MailMessage.Subject := UTF8Encode(txtAmne.Gettext);
None of the above have helped!
Some of the recipients run 64 bit Windows and they get the mail with corrupt special characters!
I should also mention that the recipients of the mail are spread all around the world.
Any suggestions?
Regards,
Kenbla
I set the charset property like this: MailMessage.CharSet := 'utf-8';
I have also tried to use:
MailMessage.Encoding := meMIME;
MailMessage.Body.Text := UTF8Encode(sMsg);
MailMessage.Subject := UTF8Encode(txtAmne.Gettext);
None of the above have helped!
Some of the recipients run 64 bit Windows and they get the mail with corrupt special characters!
I should also mention that the recipients of the mail are spread all around the world.
Any suggestions?
Regards,
Kenbla