M
M
Maxim2019-09-19 14:16:09
Node.js
Maxim, 2019-09-19 14:16:09

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);

the letter comes only to and there is ss in the headers of the letter, but letters are not sent to them, maybe nodemailer is not able to do this?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
SagePtr, 2019-09-19
@SagePtr

Most likely, the SMTP server on which you put these letters does not know how to do it

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question