Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

AWS SES Schedule sending of email (Node SDK)

Simple as that, I am using AWS SDK in Node to make a Lambda procedure that is in charge of sending emails according to data it receives.

I would like to 'delay' that email, delivering in a date and time received, not in the specific moment that the function was called. The Date and Time to deliver are parameters received by the function. Any thoughts? I couldn't find much searching on the web.

Thanks in advance!

like image 547
Gabriel Piffaretti Avatar asked Sep 29 '16 11:09

Gabriel Piffaretti


1 Answers

You should develop a queue for sending email because AWS SES does not offer that feature and if you want to send a lot of emails very soon, you have the problem with sending limit. So, the queue is vital in any email sender service.

For the queue, you can use AWS SQS, for handling hard and soft bounces you can use AWS SNS and AWS lambda function to manage all of them.

like image 96
Reza Mousavi Avatar answered Sep 18 '22 23:09

Reza Mousavi