daniel coren 0 Posted July 20, 2022 hi i am trying to send Email thru GMAIL the body message is sending Hebrew Letters but the subject is in gibrish i tried to change the proerties but did not succeed. here is exampe for hebrew letters בדיקת מייל Can u help me daniel Share this post Link to post
Angus Robertson 574 Posted July 20, 2022 The ICS mail components do not automatically MIME encode unicode text for email headers. If you look at the OverbyteIcsMimeDemo.dpr sample in the MailNewsDemos sample folder, there is a button Encode One Header which will inline MIME encode the Text you specify using various methods, such as ?utf-8?B? or ?utf-8?Q?. The actual inline encoding is done by HdrEncodeInLineEx in OverbyteIcsMimeUtils, and you set the output to the mail header property. Angus Share this post Link to post
Angus Robertson 574 Posted August 4, 2022 Quote The ICS mail components do not automatically MIME encode unicode text for email headers. Sorry, this was incorrect, the ICS SMTP component does automatically inline MIME encode any 8-bit characters, if you have SmtpCli.Allow8bitChars and SmtpCli.ConvertToCharset both false, and set SmtpCli.Charset to 'utf-8', which is not the default. Angus 1 Share this post Link to post