Created
October 19, 2019 09:42
-
-
Save alexandermckay/b8f1b9e1b045a455a1a785dc4fbf514d to your computer and use it in GitHub Desktop.
improving-the-function.js
This file contains 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
const { | |
gmail: { password, recipient, sender }, | |
} = config(); | |
const transporter = createTransport({ | |
service: 'gmail', | |
auth: { | |
user: sender, | |
pass: password, | |
}, | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment