Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Send mail by amazon ses with Arabic sender name

I am using Amazon SES to send mail message to web users and I want to set the sender name in Arabic as below:

Dim mailObj As New SendEmailRequest
mailObj.Source = "تطبيق كتابى <[email protected]>"

The mail successfully sent but the sender name is shown in wrong way as below:

*7(JB C*'(I [email protected]

What should I do to view the sender name as configured?

like image 336
mizo mizo Avatar asked Nov 30 '25 21:11

mizo mizo


1 Answers

This is not supported by the majority of mail servers, including Amazon SES.

The problem is that the original specification (RFC-822) defines email addresses to consist of ASCII characters only. A recent specification (RFC-6531) seeks to extend that specification to include support for Unicode characters in email addresses, but support for this in existing infrastructure is very poor.

UPDATE: I did find this specification (RFC-2047) that is an extension to support a special encoding of international characters in an e-mail address, and it looks like Amazon supports it. You'll have some programming to do, however, because I don't know how to encoding works.

like image 119
Dave Van den Eynde Avatar answered Dec 02 '25 10:12

Dave Van den Eynde



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!