Answer the question
In order to leave comments, you need to log in
Why is nodemailer not sending copies of emails?
I explicitly specify the cc parameter in the header and envelope
let RFC822Message = await SMTPFacade.buildMail({
from: process.env.EMAIL,
sender: process.env.EMAIL,
to: recipients,
cc: recipientsCC,
subject: subject,
html: html,
inReplyTo: messageId,
references: references
});
let sendingResult = await SMTPFacade.send(SMTPConnection, {
from: process.env.EMAIL,
to: recipients,
cc: recipientsCC,
}, RFC822Message);
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question