本文属于机器翻译版本。若本译文内容与英语原文存在差异,则一律以英文原文为准。
Amazon SES 标头字段
Amazon SES 可接受采用 RFC 822
以下字段不能在消息的标头部分中出现多次:
-
Accept-Language -
acceptLanguage -
Archived-At -
Auto-Submitted -
Bounces-to -
Comments -
Content-Alternative -
Content-Base -
Content-Class -
Content-Description -
Content-Disposition -
Content-Duration -
Content-ID -
Content-Language -
Content-Length -
Content-Location -
Content-MD5 -
Content-Transfer-Encoding -
Content-Type -
Date -
Delivered-To -
Disposition-Notification-Options -
Disposition-Notification-To -
DKIM-Signature -
DomainKey-Signature -
Errors-To -
From -
Importance -
In-Reply-To -
Keywords -
List-Archive -
List-Help -
List-Id -
List-Owner -
List-Post -
List-Subscribe -
List-Unsubscribe -
List-Unsubscribe-Post -
Message-Context -
Message-ID -
MIME-Version -
Organization -
Original-From -
Original-Message-ID -
Original-Recipient -
Original-Subject -
Precedence -
Priority -
References -
Reply-To -
Return-Path -
Return-Receipt-To -
Sender -
Solicitation -
Sensitivity -
Subject -
Thread-Index -
Thread-Topic -
User-Agent -
VBR-Info
注意事项
-
acceptLanguage字段为非标准字段。如果可能,您应该使用Accept-Language标头。 -
如果您指定
Date标头,则 Amazon SES 会使用时间戳将其覆盖,该时间戳对应于 SES 接受消息时 UTC 时区中的日期和时间。 -
如果您提供
Message-ID标头,则 Amazon SES 会用自己的值来覆盖标头。 -
如果您指定
Return-Path标头,则 Amazon SES 会将退信和投诉通知发送到您指定的地址。但是,收件人收到的消息包含不同的Return-Path标头值。 -
如果您使用 Amazon SES API v2
SendEmail操作,并且指定了简单或模板化内容类型,或者使用SendBulkEmail操作,则无法为 SES 设置的标头设置自定义标题内容;因此,不允许将以下标头作为自定义标头:-
BCC,CC,Content-Disposition,Content-Type,Date,From,Message-ID,MIME-Version,Reply-To,Return-Path,Subject,To
-