diff options
author | 2022-05-29 17:45:54 +0100 | |
---|---|---|
committer | 2022-05-29 17:45:54 +0100 | |
commit | 308d07785f811ff470d0e90b11680926a823027b (patch) | |
tree | 7afe7859fc29f6a5c34be8b7b486cc317cc82e21 /configs/sendMail.js | |
parent | 50d781d0bdcac217f2bc037abe087a00019edba5 (diff) | |
download | my_apps-308d07785f811ff470d0e90b11680926a823027b.tar.gz my_apps-308d07785f811ff470d0e90b11680926a823027b.tar.bz2 my_apps-308d07785f811ff470d0e90b11680926a823027b.zip |
add change password option
Diffstat (limited to 'configs/sendMail.js')
-rw-r--r-- | configs/sendMail.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configs/sendMail.js b/configs/sendMail.js index 6405607..c026f0c 100644 --- a/configs/sendMail.js +++ b/configs/sendMail.js @@ -1,6 +1,6 @@ import nodemailer from 'nodemailer' -const sendMail = (to, subject, text, html) => { +const sendMail = ({to, subject, text, html}) => { const transporter = nodemailer.createTransport({ port: 465, host: process.env.MYAPPS_MAIL_SMTP_SERVER, |