带有 SNS 退回报告的 Amazon SES。单个报告中的一个或多个地址?

Amazon SES with SNS bounce reports. One or multiple addresses in a single report?

我正在编写一个 PHP 脚本作为 Amazon SES bounce/complain 通知的 Amazon SNS 端点。

我需要知道 SNS 是针对每个退回的电子邮件地址发送一个通知,还是收集并发送一个包含多个退回地址的通知。我无法在亚马逊文档上找到这个问题的答案。

该行为似乎不受任何一种方式的约束。

complainedRecipientsbouncedRecipients是列表,所以肯定可以每个通知是多个收件人,但是否涉及多个目标ISP,以及时间来自目标 ISP 的响应似乎决定了一个通知中可能包含多少收件人。您可以看到一封邮件的多个通知,或多个收件人的一个通知。

此外,值得注意的是,投诉通知收件人有时是通过尽力而为的猜测来确定的,因为投诉报告可能不明确,SES 会尝试试探性地猜测,在这种情况下:

Since most ISPs redact the email address of the recipient who submitted the complaint from their complaint notification, this list contains information about recipients who might have sent the complaint, based on the recipients of the original message and the ISP from which we received the complaint.

http://docs.aws.amazon.com/ses/latest/DeveloperGuide/notification-contents.html