Created
January 4, 2021 13:46
-
-
Save mhemrg/d8772804e8e4fc788be620e6dde8ccae to your computer and use it in GitHub Desktop.
Email example
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
transporter.sendMail({ from: '[email protected]', to: email, subject: 'password reset', html: '<h1>hi</h1>' }) | |
.then(() => console.log('Email sent.')) | |
.catch(console.error) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment