检索Amazon SES事件数据-从退回事件中检索自定义数据 [英] Retrieving Amazon SES Event Data - retrieve custom data from bounce event

查看:160
本文介绍了检索Amazon SES事件数据-从退回事件中检索自定义数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我在SNS中收到退信事件时,我想检索有关此电子邮件的其他数据.我只有messageID.

When I get the bounce event in the SNS I want to retrieve extra data regarding this email. I only have the messageID.

是否可以将自定义标头添加到SendEmail API?

Is there a way to add custom header to SendEmail API?

还有另一种方法来检索特定电子邮件的自定义数据吗?我不想写入数据库,因为每当我发送电子邮件时,写入数据库时​​都会导致性能问题.我每天发送数百万封电子邮件.

Is there another way to retrieve custom data of specific email? I dont want to write to DB because it causes me performance issues when writing to DB whenever I send an email. I send millions email per day.

谢谢!

推荐答案

使用退回对象,您已经可以访问退回类型退回子类型退回收件人 >和 timestamp 数据.

Using the bounce object, you already have access to the bounce type, bounce subtype, bounced recipients and timestamp data.

但是,如果您需要使用Amazon CloudWatch或Amazon Kinesis Firehose对跳动事件进行更细粒度的详细监控,则可以应用一个或多个使用事件发布进行监视.

However, if you need more fine-grained detailed monitoring for the bounce event using Amazon CloudWatch or Amazon Kinesis Firehose, you can apply one or more message tags (as an array) to the emails you send. See Monitoring Using Event Publishing.

这篇关于检索Amazon SES事件数据-从退回事件中检索自定义数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆