This project is read-only.

Emailing in Node.js is easy to do with the Nodemailer module. Nodemailer supports plain text content, HTML content, attachments, different transport methods, etc. The official documentation can be found on github.

 

Creating package.json

{
  "name": "EmailExample",
  "version": "1.0.0",
  "private": true,
  "description": "Sample email app",
  "main": "app.js",
  "scripts": {
    "start": "node app"
  },
  "author": "Jason Everett",
  "dependencies": {
    "nodemailer": "0.3.29"
  }
}


Once the dependency has been added, run npm install to have the nodemailer module downloaded and installed.

npm install

Next, we’ll create our javascript file to send emails.

Click Here For more Information

Last edited Aug 21, 2015 at 6:46 AM by amitpanchall, version 1