From the course: AWS for Developers: Simple Email Service (SES)

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Lambda functions to handle SES bounces

Lambda functions to handle SES bounces - Amazon Web Services (AWS) Tutorial

From the course: AWS for Developers: Simple Email Service (SES)

Start my 1-month free trial

Lambda functions to handle SES bounces

- You can have Amazon email you each time an email bounces or is marked as a complaint, and then you can manually go through these emails and remove each email address from your mailing list. This might work fine if you're sending small volumes of emails, but what if you send thousands of emails each day, this process would get tedious real fast. Using other AWS technologies like Amazon's Lambda for server less computing, you can create an automated work flow that reaches directly into your application and automatically removes these email addresses from your mailing list. Let's take a look at how we can set that up. From the AWS console, select services and type Lambda. And click on the Lambda option that auto fills. This is the Lambda Console. From the menu on the left, click on functions, and click on create function. At the top, select author from scratch. For name, ses-remove-emails, for runtime make sure to set to node.js version 8.10. For role, click on the pull down and select…

Contents