Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
407 views
in Technique[技术] by (71.8m points)

amazon ses - SES Transactional Email - Cloudwatch Track Sends

I have been sending emails through SES for a few months on 3 of my website products. I can see how many emails are sent through the billing function, but I would like to see which product (and eventually which particular client) is sending the emails. I have tried to get Cloudwatch up and going, but am having difficulty.

Current setup: SES Configuration Set 'test2' Destination: Cloudwatch Event Type: Send, Delivery, Click Dimensions: Email Header - DIMENSION NAME - ses:configuration-set - Default Value=test2

SMTP script adds the following header: addTextHeader('X-SES-CONFIGURATION-SET','test2');

The problem: In CloudWatch, I see the send 'event', I think, but it's not tracking the quantity of emails that are sent. When I test it, I send 7 or 8 emails to my various email addresses, and I expect to see 7 on the CloudWatch Metrics when I ask it to graph my SES statistics. However, it only ever shows '1' on the graph - regardless of the quantity of emails that I sent.

How can this show me the quantity of emails sent - by 'config set' or by 'tag' - for when I eventually set it to show statistics for 'website1', 'website2', and 'website3'?

question from:https://stackoverflow.com/questions/65872537/ses-transactional-email-cloudwatch-track-sends

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...