Is there any way to clear the mailing queue of aws ses? - amazon-web-services

Due to a bug, our server started sending emails to the clients continously even after we removed the function that sends the mail. We are using Amazon Ses

Related

Mail is not Getting delivered to few mail domains using SES

I am trying to mail S3 object by using Lmbda and SES services in AWS. Cloudwatch logs of lambda function shows that the mail is delivered successfully.
After testing further, I can see that the mail is getting delivered to only certain mail domains [ex: abc#xyz is receiving the mail but abc#def is not receiving the mail].
After subscribing to SNS topic, I could see that both [abc#xyz and abc#def] the mails have below same message.
smtpResponse":"250 2.6.0 010b01811af1d4fc-98135233-ebf2-4972-ae53-700ea8d2088a-000000#eu-west-2.amazonses.com 10358 bytes in 0.130, 77.489 KB/sec Queued mail for delivery"
Upon looking further, I got to know that many people were facing the same issue. But the mail got delivered in sometime for them. But in my case the mail is not getting delivered even after a day.
Can someone please tell me if there is something wrong with SES or the mail server?

Not receiving complaint notifications. It works with the simulator - AWS SES Events

AWS SES
I am creating a new application that will eventually send a lot of emails. Right now I can send emails using the API and I am receiving send and return notifications through SNS. Complaint notifications are processed correctly using the simulator (complaint#simulator.amazonses.com), but I don't get anything when I test gmail or outlook, or my company email accounts. I have enabled email notifications for testing, but this gives the same result. The simulator works testing complaint events. I can receive the events Sends, deliveries, openings and clicks using different emails
Please help.
SES has something called a sandbox. For you to be able to send emails to domains that are not trusted and specifically added in SES service, you have to go out of this mode:
Follow Amazon instructions to go into production mode: https://docs.aws.amazon.com/ses/latest/DeveloperGuide/request-production-access.html

Unable to receive SNS messages

I had SNS working but understood I couldn't attach larger files to my messages but learned I could with SES. So I "connected" my SNS to SES using Configuring Amazon SNS Notifications for Amazon SES - Amazon Simple Email Service (I used the email address rather than domain).
After this configuration, I no longer received emails as I am in "Sandbox" mode. So, I deleted my email address from SES - nothing. I even deleted my email address from SNS topic and can't get any communication at all - even the "Request Confirmation" emails are not sent. It is not my Outlook service as I tested other emails.
Any advice would be much appreciated. I just want to get back to where I was able to send SNS messages.

Monitoring SES delivery

I have implemented SES in one of my application. Currently the I have implemented is that using SDK I wait for the success/failure response and take action based on the response. Now, I want to make is async so the process does not have to wait for the response and if any failure happen I should be able to see it and resend the email.
I have following questions.
I checked the CloudTrial does not support SendEmail or SendRawEmail then where can I see the status of an email whether its sent or not?
I read that SES makes the first attempt to send an email within few milliseconds. Does it retries if the first attempt was a failure or the SES was out of service?
Is there a better way of achieving what I want to achieve?
Can I see the SES queue anywhere?
Thanks
You can sign up to receive Bounces, Complaints and Delivery notifications via SNS. That's all you can do. You can't see the SES queue or get any other visibility into SES besides what the SNS notifications give you.
Amazon will make several attempts to deliver your e-mails to the recipients.
The big thing is that they will not give you the bounce notification until 12-24 hours later in my experience. This is due to them retrying to send the mail a few times, waiting for mail hosts to be available, etc.
If you use SES you should use their SNS system to check for bounces, complaints, and delivery notifications. That way you can handle the failed deliveries in a graceful manner.
Amazon's Doc here gives you some insight into how it works
http://docs.aws.amazon.com/ses/latest/DeveloperGuide/sending-email-with-ses.html

Amazon SES Complaint Notifications not Received in SNS complaint topic

I'm not receiving complaint notifications published into my SNS complaint topic, when i Report Spam in Gmail or Yahoo mail inbox. But, I am able to generate complaint notifications by using Amazon mailbox simulator. It perfectly works. Do i need to make some configurations to receive complaint notifications from Gmail / Yahoo mailboxes?The mail sending client subscribes using Http endpoint. Please note that all other notifications (Hard Bounces,Soft bounces, Delivered) are successfully received. I'm not running the email program in ec2 instance. It runs in my local machine and exposed to the internet using ngrok.
Note : I did run through other related questions in SO. But,they didn't help to resolve my case.