Is there a way to identify the originating email from a complaint notification in Amazon's SES? For example if we have 3 different mailing groups all sending different emails, and the recipient doesn't like 1 of them and reports it as spam, is there anything in the SES notification that would help us identify which email, and therefore which mailing group, we need to act on?
Identify original email from Complaint SES notification
1.1k Views Asked by northernMonkey At
2
There are 2 best solutions below
0
Arafat Nalkhande
On
Yes, you can do that For each of the email that you send out via the SES, it gives back a messageID which is unique for every message that goes out (In your case it will be unique for each of the 3 mails that you send to the same recipient).
You need to persist that somewhere when you send emails.
Now when a complain occurs SES gives back the original messageId that this particular email was sent with.
And this way you can look up your local persistance and find out which of the 3 emails did the user complained for
Related Questions in AMAZON-WEB-SERVICES
- "Access Denied" - User's Permissions to S3 Bucket
- Cohort analysis with Amazon Redshift / PostgreSQL
- Using Amazon KMS service on Heroku
- can't ssh in after cloning an EC2 instance on Amazon AWS
- Using HDFS with Apache Spark on Amazon EC2
- How can I access Mule ESB Community edition via browser?
- AWS EC2: Migrating from Windows to Linux Server
- AWS ELB Load Balancer: is it possible to set multiple session cookies?
- AWS Flow Framework: Can we run activity worker and activity task on different EC2 instances
- Unable to access files from public s3 bucket with boto
- Cloudfront stream only part of the video
- s3cmd not working as cron-task when echos/dates are added
- How to deploy django 1.8 on Elastic Beanstalk using Docker
- InstanceProfile is required for creating cluster - create python function to install module
- How to fix WordPress HTTPS issues when behind an Amazon Load Balancer?
Related Questions in AMAZON-SNS
- Production certificates not working for APNS but works for APNS_SANDBOX in AWS SNS
- Amazon SNS delivery retry policies for SQS
- SNS implementtion of IOS
- Handle GCM Canonical Id with Amazon SNS
- How can I use Amazon Web Services policy statement in my Java application?
- Remove amazon logs
- APNS_SANDBOX tokens deactivate instantly on Amazon SNS
- AWS SNS sending with Spring Cloud. Trying to understand
- How to deal with AWS security for SNS
- Amazon sns/sqs offline messages APNS(Pubnub,SNS,APNS)
- AWS SNS push notification
- AWS SNS not sending subscription confirmation for HTTP
- What Json string should it be to send SNS (AWS) message for iOS with sound by AWS Java SDK?
- Extracting message body from the push notification data structure
- Identify original email from Complaint SES notification
Related Questions in AMAZON-SES
- Catch emails to all [email protected], and execute code
- Django & Amazon SES SMTP. Cannot send email
- Amazon Simple Email Service (SES) - Should I use SMTP Interface or SES API?
- Hours wasted trying to get AWS SES / PHPMailer to work - anyone done it?
- SES in AWS, don't send my email
- no bounce mail in PHPlist
- AWS SES is treating vacation responder as bounce
- Identify original email from Complaint SES notification
- Changing MAIL FROM Domain in Amazon AWS SES
- boto3 ses InvalidParameterValue error due to unicode characters
- Laravel: Send emails only if the email is not on bounce list
- Can't Connect Wordpress to Amazon SES
- AWS SES sendmail from CRON Fails
- Sending email with attachments using Amazon AWS SMTP
- AWS SES (Console) - Can't see sending statistics for more than 24 hours ago
Related Questions in EMAIL-BOUNCES
- AWS SES is treating vacation responder as bounce
- Identify original email from Complaint SES notification
- Bounce mail error Read Java
- New Bounce Processing Templates in Mailman
- How can the Return-Path header be different than the actual email bounce recipient?
- Header-variables in bounced emails: what points could have an effect if they are deleted or not?
- handling bounce email w/phpmailer
- Detecting bounced messages by Return-Path header
- How to catch bounced emails in PHP?
- AWS SES - Bounces Not Being Delivered To ReturnPath Address
- Is bounce email handling worth it?
- Catch email bounce
- Cleaning bounce mail
- "This is a permanent error." Is that for the email address or the message?
- Custom Header Information in Postfix Bounce Header
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Yes, there is! From the docs:
Basically you can receive an email of a SNS notification (email, SMS, queue, etc.) to handle this. I would suggest SNS as it's way more flexible and the cost shouldn't be a problem (considering you don't have loads of complaints, of course!). Take a look:
Monitoring Using Amazon SES Notifications
EDIT: to identify the specific message the complaint is about, you'll need to store the unique ID created by SES when you send the message. From this AWS blog post:
I have used complaints treatment but never paid attention to this message ID. Anyway, looks like the path to follow.