Node Send Email

Send Email API using NodeJS ( nodemailer, ethereal and sendgrid )

Project Setup

In order to run app properly, Add a `.env `file to the root of your project with the following content:

PORT = <PORT number in order to avoid port collisions>
SMTP_LOCAL_INFO_HOST = <smtp local host>
SMTP_LOCAL_INFO_PORT = <smtp local port>
SMTP_LOCAL_INFO_AUTH_USER = <smtp local auth user>
SMTP_LOCAL_INFO_AUTH_PASSWORD = <smtp local auth password>
SMTP_CLOUD_SENDER = <smtp cloud sender mail>
SENDGRID_API_KEY = <sendgrid api key>

Install

npm install

Running

npm start

Base url

http://localhost:5001