mtfa65
  • mtfa65
  • 50.25% (Neutral)
  • Newbie Topic Starter
11 years ago
I have a question:
I am from iran and my writen language is persian, when i send email with delphi and by persian language,font email recived is Illegible, What should i do???
for example:
for "سلام" after send to mail, font email recived is "ÓáÇã " but when i use "سلام" in source (example:oSmtp.BodyText:='سلام';) No problem can be.
what should i do???
thanks.
ivan
  • ivan
  • 100% (Exalted)
  • Administration
11 years ago
please try to use:

oSmtp.Charset = "windows-1256" 'set it before you set subject and body.

EXPLORE TUTORIALS

© All Rights Reserved, AIFEI Software Limited & AdminSystem Software Limited.