I am using Devart SecureBridge V10.0.1 with Delphi 10.4.2.
This test...
...
ScMailMsg.Subject := 'Umlauttest ÄÖÜäöüß';
ScMailMsg.Body.Text := 'Umlauttest ÄÖÜäöüß';
ScMailMsg.From.Address := 'from@email';
ScMailMsg.From.DisplayName := 'Umlauttest ÄÖÜäöüß';
ScMailAddressItem := TScMailAddressItem.Create(ScMailMsg.ToAddress);
ScMailAddressItem.Address := 'to@email';
ScMailAddressItem.DisplayName := 'Umlauttest ÄÖÜäöüß';
...
results in getting an email with...
subject being: Umlauttest AOUaou?
from address being: Umlauttest AOUaou? <from@email>
to address being: Umlauttest AOUaou? <to@email>
body text being: Umlauttest DV\dv|_
Please help!
bij
TScSMTPClient - Problem with Umlaute in Emails
-
- Devart Team
- Posts: 70
- Joined: Wed 02 Jun 2021 09:30
Re: TScSMTPClient - Problem with Umlaute in Emails
Hi there,
Please be informed, that in order to use umlauts, the appropriate encoding should be applied:
Please be informed, that in order to use umlauts, the appropriate encoding should be applied:
Code: Select all
TScMailMessage.SubjectCharset:='iso-8859-1';//affect to a Subject
TScMailMessage.ContentCharset:='iso-8859-1';//affect to a whole message content
TScMailMessage.HeadersCharset:='iso-8859-1';//affect to message headers, including mail addresses
Re: TScSMTPClient - Problem with Umlaute in Emails
@YanishevskiyVI:
Thanks a million. This did the trick.
Thanks a million. This did the trick.
-
- Devart Team
- Posts: 70
- Joined: Wed 02 Jun 2021 09:30
Re: TScSMTPClient - Problem with Umlaute in Emails
Glad to hear that your issue is resolved.
Feel free to contact us anytime in case you get any other questions.
Regards,
Vitaliy
Feel free to contact us anytime in case you get any other questions.
Regards,
Vitaliy