You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Now you can send mails through Node.js using nodemailer package.
Steps to be followed first before running the code
Open Your Google Gmail, and click on setting button.
Click on See all settings.
Click on Forwarding and POP/IMAP.
Enable IMAP
Now visit this link https://myaccount.google.com/lesssecureapps?pli=1&rapt=AEjHL4PkGzhj05Mm6DQ0qCzL72ds1G2NdJ8slS41-AvoTnjOeUdUc1U1o_2ecrq1rHQOWKUrRjd6X3sf6iczjPZWONugteJZHg
Now you can run Node.js code
Dependecy - Nodemailer
$ npm i nodemailer
Cloning this repositary using command line
Open Git Bash.
Change the current working directory to the location where you want the cloned directory.
Type git clone https://github.com/Sagar-Sharma-7/Email-Node.js.git
Press Enter to create the clone of this repositary.
License
The scripts and documentation in this project are released under the MIT License