Jump to content
daniel coren

Gmail Subject not sending Non English Character

Recommended Posts

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

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
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

  • Like 1

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×