Error: No recipients defined] code: 'EENVELOPE'
var SMTP = nodemailer.createTransport(smtpTransport({
host: 'smtp.xxxx.xxx',
port: '25', // Secure SSL (465) Secure TLS (587)
secureConnection: false,
name: 'Notifications',
ignoreTLS: false,
auth: {
user: config.AuthConfig.nodemailer.username,
pass: config.AuthConfig.nodemailer.password
}
}));
EENVELOPE happens when you do not have any valid to, cc or bcc addresses defined.
Most helpful comment
EENVELOPEhappens when you do not have any validto,ccorbccaddresses defined.