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 answers
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
- S3 integration testing
- How to get content of BLOCK types LAYOUT_TITLE, LAYOUT_SECTION_HEADER and LAYOUT_xx in Textract
- Error **net::ERR_CONNECTION_RESET** error while uploading files to AWS S3 using multipart upload and Pre-Signed URL
- Failed to connect to your instance after deploying mern app on aws ec2 instance when i try to access frontend
- AWS - Tab Schema Conversion don't show up after creating a Migration Project
- Unable to run Bash Script using AWS Custom Lambda Runtime
- Using Amazon managed Prometheus to get EC2 metrics data in Grafana
- AWS Dns record A not navigate to elb
- Connection timed out error with smtp.gmail.com
- AWS Cognito Multi-tenant Integration | Ok to use Client’s Idp?
- Elasticbeanstalk FastAPI application is intermittently not responding to https requests
- Call an External API from AWS Lambda
- Why my mail service api spring isnt working?
- export 'AWSIoTProvider' (imported as 'AWSIoTProvider') was not found in '@aws-amplify/pubsub'
- How to take first x seconds of Audio from a wav file read from AWS S3 as binary stream using Python?
Related Questions in AMAZON-SNS
- AWS - "Signature" for text messages to China
- How to subscribe to all events in the system in AWS
- Null request id when subscribe to the topic
- Adding SNS Topic Data protection policy from CDK (java)
- AWS SNS service for text sms
- Sound Not Working on iOS Notifications Sent via AWS SNS Using FCM
- sns nodejs publish to a specific phone
- Integrating AWS SNS to NestJS Microservices
- AWS SNS - SMS not receive to mobile at some times
- SNS/SQS Size limit
- Cross account SNS/SQS subscriptions where both accounts have distinct customer managed KMS keys
- Serverless offline failing to start with serverless-offline-sns
- S3 event triggering event - Unable to validate the following destination configurations
- Notifications AWS SNS with android
- How does NotificationChannel from the function StartExpenseAnalysisCommand of Amazon Textract works? AmazonTextract unable to publish msg to SNS
Related Questions in AMAZON-SES
- connection refused on email sending
- How to setup SES SMTP in WHM cPanel shared hosting
- AWS SES message stream?
- AWS Cognito SES FROM E-mail address only verified e-mail address allowed no verified domains
- AWS SES Failed to connect() to host or proxy
- aws sdk sesv2 ListContactsAsync problem in C#
- Sending temperror (4xx) response codes from SES incoming lambda
- What should the resource be for ses:SendEmail and ses:SendRawEmail?
- One-click unsubscribe Amazon SES
- AWS SES - Receiving Email to S3 Possible Throttled?
- Issues with sending forgot passwords links with Django + AWS SES
- Directing Specific Emails to AWS and Others to Google Gmail
- AWS SES VerifyEmailIdentity with Lightsail
- Not able to find Existing Organization Account
- SNS failed to warn about a missing variable in a SES Templated email
Related Questions in EMAIL-BOUNCES
- How to receive NDR notification from microsoft using node mailin?
- Applying bounce messages for unrecognized/catch-all addresses in Google Workspace
- How do I get a list of get bounced and spam reported email addresses from my Sendgrid account, not just a stats overview?
- DMARC compliance for AWS SES bounce emails sent with SendBounce
- Problems understanding current Bounced Emails handling + VERP
- Bounce mail detection with help of Microsoft Graph API
- How to set hostname used in JavaMail or Apache James Message-Id header?
- How to resend bounced email messages using mutt
- No results from SendGrid email activity API
- Custom Header Information in Postfix Bounce Header
- PHPMailer how to set bounce email address
- Retrieve email address from Chinese characters in Undeliverable email report using VBA
- VSTO - Outlook how to trace email from Message ID
- Receive bounced emails using Nodemailer
- Alert about bounced emails using Spring Boot
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?
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)
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.