Skip to content

Backend to send email Using Nodemailer and Send Grid.

Notifications You must be signed in to change notification settings

manutdmohit/Send-Email

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Send-Email

Backend to send email Using Nodemailer and Send Grid.

  • Create a .env file in the root:

  • To get email,password,host name, port number from Etheral. Go to https://ethereal.email/ and click Create Etheral Account

  • For nodemailer create variables as shown below:

     HOST_NAME:YOUR ETHERAL USERNAME
     PORT_NUMBER: PORT NUMBER GIVEN BY ETHERAL
     USER: ETHERAL EMAIL ADDRESS
    PASS: eHTERAL PASSWORD
      
    
  • For sendgrid: Create your account from https://sendgrid.com/ and grab YOURAPIKEY and then

SENDGRID_API_KEY=YOURAPIKEY
  • To run the project:
npm install
npm start

About

Backend to send email Using Nodemailer and Send Grid.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published