Node mailer debugging
This commit is contained in:
parent
b8f547d3e9
commit
32439b41f6
|
|
@ -33,12 +33,13 @@ const transport = nodemailer.createTransport({
|
|||
user: config.mail.user,
|
||||
pass: config.mail.passwd,
|
||||
},
|
||||
requireTLS: true,
|
||||
dkim: {
|
||||
domainName: domain,
|
||||
keySelector: selector,
|
||||
privateKey: dkim,
|
||||
},
|
||||
logger: true,
|
||||
debug: true
|
||||
});
|
||||
|
||||
if(process.env.NODE_ENV === 'production')
|
||||
|
|
|
|||
Loading…
Reference in New Issue