Sending mail via aws ses with attachment in node.js
-
21-12-2019 - |
Question
Does anyone have some example of how to send email with attachment in node.js with aws ses. That would be really helpful for me.
Thank you!
Solution
There is a great mailing library called ˇNodemailerˇ it also has support for the Amazon SES. Here is a small example of how to send e-mail with attachment https://github.com/andris9/Nodemailer/blob/master/examples/example_ses.js.
But be aware that Amazon has strange errors when your email sending fails.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow