发送邮件通过亚马逊SES阿拉伯语发件人姓名阿拉伯语、亚马逊、发件人、发送邮件

2023-09-11 11:35:15 作者:冒火

我使用亚马逊SES发送邮件给互联网用户,我要设置阿拉伯语为下面的发件人名称:

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 = "تطبيق كتابى <mymail@mydomain.com>"

邮件发送成功,但发件人名称显示在如下错误的方式:

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

*7(JB C*'(I mymail@mydomain.com

我应该做的配置,查看发件人的名字?

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

推荐答案

这是不支持大多数邮件服务器,包括亚马逊SES的。

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

现在的问题是,原来的规格( RFC-822 )定义的电子邮件地址由只有ASCII字符。最近的规格( RFC-6531 )旨在扩大该规范包括统一$ C $支持电子邮件地址在现有的基础设施出现C字符,但支持,这是非常差的。

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.

更新:我没有找到这个规范( RFC-2047 ),它是支持扩展在一个电子邮件地址国际字符一个特殊的编码,它看起来像亚马逊的支持它。您将有一定的编程但是这样做,因为我不知道如何编码工作。

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.