Created
August 21, 2014 07:44
-
-
Save hamishdickson/4c5a801d2e903fc9fd26 to your computer and use it in GitHub Desktop.
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
smtpTransport.sendMail(mailOptions, function (error, response) { | |
if (error) { | |
console.log('Error sending email!'); | |
} else { | |
console.log('Email sent!'); | |
} | |
smtpTransport.close(); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment