Sign In Register

How can we help you today?

Start a new topic

Sending email with multiple BCC with an attachment file

Hi

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 https://sendgrid.com/docs/API_Reference/Web_API_v3/Mail/index.html, 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.


Thanks,
Jo
Login to post a comment