How to Compose an E-mail in Right-to-left Language such as Hebrew?
A customer can compose both plain-text and HTML e-mails in right-to-left languages such as Arabic and Hebrew without any additional considerations. There are no special settings in MIME for right-to-left rendering. In addition, e-mail reader programs automatically select the direction depending on the actual characters displayed.
With HTML e-mails, apply RTL attributes to certain HTML tags when building complex right-to-left documents, but these are general HTML design concerns rather than e-mail specific issues.
Specify the correct charset (UTF-8 or local language charset), just as a customer can do for any other international e-mail in left-to-right language:
// Set Hebrew's local codepage.
mailer.Message.Charset = "windows-1255";
// Set subject and body.
mailer.Message.Subject = "נושא means Subject in Hebrew";
mailer.Message.BodyPlainText = "טקסט means Text in Hebrew";
' Set Hebrew's local codepage.
mailer.Message.Charset = "windows-1255"
' Set subject and body.
mailer.Message.Subject = "נושא means Subject in Hebrew"
mailer.Message.BodyPlainText = "טקסט means Text in Hebrew"
Send us your feedback: We're always looking for advice to help improve our Knowledge Base! Please let us know if this article was helpful or provide feedback on how we can improve your experience here.