Sign In Register

How can we help you today?

Start a new topic

Sending email with multiple BCC with an attachment file


I'm trying to send email with multiple BCCs and an attachment file (csv file, and content is generated in cloud code script).
I did try mailgun and SendGrid.

1. mailgun
    without GS integration, I can only use Rest API via Spark.getHttp.
    however, I can not use multi/form to attach file.

2. SendGrid
    with GS integration, I can use Spark.sendGrid to attach file by uploadId.
    However, the api description says "Sets a bcc address to this email. SendGrid only allows one address in this field". I cannot set multiple BCCs.
    After I dig into, it says bcc field is an array of email object. I think SendGrid should support multiple BCCs.

Does anyone has any ideas?

Any suggestion would be helpful.

Login to post a comment