Skip to content

Instantly share code, notes, and snippets.

@alperbayram
Last active February 7, 2022 13:30
Show Gist options
  • Save alperbayram/d971bae192676631bcc23736e04a63d3 to your computer and use it in GitHub Desktop.
Save alperbayram/d971bae192676631bcc23736e04a63d3 to your computer and use it in GitHub Desktop.
Fake email
let transporter = nodemailer.createTransport({
host: "smtp.ethereal.email",
port: 587,
secure: false, // true for 465, false for other ports
auth: {
user: `${process.env.REACT_APP_EMAIL}`, // generated ethereal user
pass: `${process.env.REACT_APP_EMAIL_PASS}`, // generated ethereal password
},
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment