dwyl / sendemail

💌 Simplifies reliably sending emails from your node.js apps using AWS Simple Email Service (SES)
181 stars 26 forks source link

Can we use SMTP for sending our emails (to improve code portability) ? #62

Open nelsonic opened 7 years ago

nelsonic commented 7 years ago

https://en.wikipedia.org/wiki/Simple_Mail_Transfer_Protocol

Today while discussing sending emails in one of our projects the topic of sending emails from within the Azure platform came up... Obviously they don't have a Service for sending emails yet: https://www.google.com/webhp?q=azure+email+service instead they recommend using the Sendgrid service: https://docs.microsoft.com/en-us/azure/app-service-web/sendgrid-dotnet-how-to-send-email

this project is currently using the aws-sdk to send email, when we could use SMTP. http://docs.aws.amazon.com/ses/latest/DeveloperGuide/send-email-smtp.html

This would help us to send email using a different provider later on... Thoughts?

ronanyeah commented 7 years ago

Nodemailer could be an option, I've been using it for a while with my Gmail credentials. https://github.com/ronanyeah/rotools/blob/master/docs.md#emailer https://github.com/ronanyeah/rotools/blob/master/src/emailer.js

newswim commented 7 years ago

also this:

https://github.com/andris9/smtp-server