Mandeep Singh
Mandeep Singh

Reputation: 8234

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 ?

Upvotes: 3

Views: 1329

Answers (1)

Mandeep Singh
Mandeep Singh

Reputation: 8234

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;

Upvotes: 6

Related Questions