dimanche 27 septembre 2015

Getting started with emails on a node server

I have a node app, to which I would like to add email capability. I haven't ever set up email services before in node or any other server and am a bit lost on where to begin. Some things I have come across in my research:

  1. nodemailer.com
  2. http://ift.tt/19DXr9y

Some questions I have:

What infrastructure do I need to support nodemailer? I mean, for us the development is done locally, then a version is pushed to am amazon dev server and finally is pushed to an amazon production server. What do I need to set up in order to test the email functionality on my local machine as well as on the amazon servers? Do I need a smtp server on my local machine alongside my http server? Should I use ses? If so, is there any way to test ses locally?

Another question: How do I integrate the grunt email boilerplate with nodemailer? Is it as simple as pointing nodemailer to the email templates generated by grunt?

I mean, I am obviously completely new to this, just trying to get started, Thanks.




Aucun commentaire:

Enregistrer un commentaire