AWS SES - Bounces Not Being Delivered To ReturnPath Address

1.5k views Asked by At

I just wrote my first application using the AWS SDK for .Net to send ~7500 emails via SES with the following code:

AmazonSimpleEmailServiceClient client = new AmazonSimpleEmailServiceClient("awsKey", "awsSecret");

SendEmailRequest req = new SendEmailRequest()
    .WithDestination(new Destination() { ToAddresses = { "[email protected]" } })
    .WithSource("[email protected]")
    .WithReturnPath("[email protected]")
    .WithMessage(
        new Amazon.SimpleEmail.Model.Message(new Content("mySubject"),
        new Body().WithHtml(new Content("myBody"))));

var resp = client.SendEmail(req);

My AWS Console is showing successful deliveries of ~7350 emails and ~150 bounces.

enter image description here

It has been over 3 hours since it finished and I still have not received any bounce back emails ("This email could not be sent because the address doesn't exist or something...") to [email protected].

How do I find out which of those ~150 emails bounced so I can update my database?

2

There are 2 answers

0
Greg On BEST ANSWER

The bounces were being delivered to me, they were just being filtered as spam.

I wish there were a better way to handle this through SES...

0
Peter On

There is a better way to handle it. In SES, you can configure bounces to go into an SQS queue, and then process them programatically from your application (or a different, dedicated bounce handling application) that reads from that Queue.