简体   繁体   中英

Node.js: AWS SES sendRawEmail: mails not getting sent to BCC addresses

I am sending a mail with attachments using mailcomposer and the sendRawEmail method of the AWS SDK. I am able to send the emails using the to and cc fields but when I add an address in bcc , the mail does not get delivered. There is no failure though. Is there any extra configuration not mentioned in the docs that I might be missing ?

I found the answer in one of the issues of mailcomposer. You need to add one extra config in the mail options.

var mail = mailcomposer(options);
mail.keepBcc = true;

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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM