Sending mail via aws ses with attachment in node.js

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!

Answers


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.


Need Your Help

wrapper_data is empty?

php curl http-headers

I have a php script to retrieve headers using cURL, as described on this link. This works great on a localhost, but when I try to run the exact same script on another host, it will return a similar

Function syntax error in PHP

php function

Does anyone know this PHP function syntax and how it works? It's not working with PHP 5.5