I am trying to configure email service in MEAN stack.
I have the following configuration :
mailer: {
from: process.env.MAILER_FROM || 'xyz@gmail.com',
options: {
service: process.env.MAILER_SERVICE_PROVIDER || 'Gmail',
auth: {
user: process.env.MAILER_EMAIL_ID || 'xyz@gmail.com',
pass: process.env.MAILER_PASSWORD || 'aaaaaa'
}
}
}
it gives me error "Failure sending email" - every time i try to send email.
what am i missing ?
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.