Skip to content

Instantly share code, notes, and snippets.

View Monehin's full-sized avatar
🎯
Focusing

Monehin Emmanuel Monehin

🎯
Focusing
View GitHub Profile
@Monehin
Monehin / index.js
Created February 19, 2019 12:28
Using Nodemailer with Gmail SMTP[CODE SAMPLE]
/*
Reference =>
https://stackoverflow.com/questions/45478293/username-and-password-not-accepted-when-using-nodemailer
- Log in to your Google account
- Go to My Account
- Security > App Passwords
- Scroll down to Select App (in the Password & sign-in method box) and choose Other (custom name)
- Give this app password a name, e.g. "nodemailer"
- Choose Generate