Send single email with CC/BCC


#1

hi guys,

I am using this API to send emails:

I want to send to someone and include CC contacts, how can i acheive that?

it is very critical for us, and i saw your post here

however, i saw here there is a solution:
s.sendmail("from@example.com", [“abc@test.com”, "efg@test.com"], msg)

can you please elaborate?


#2

Hi @adi,

You’re right that there’s a discrepancy here. The knowledge base article you linked to is documenting our standard Marketing Product and is correct you cannot Cc email addresses there. For the transactional add-on you can definitely Cc people using the SMTP API, and the Single Send API supports Cc addresses but doesn’t document it.

Or hasn’t. Until now. Please visit https://developers.hubspot.com/docs/methods/email/transactional_email/single-send-overview and look for the newly documented fields which support Cc and Bcc.

Best,
Mike


#3

thanks.

it seems working however for some reason it duplicates the cc.

for example:
Cc: aaaaaa@gmail.com; aaaaaa@gmail.com

is it an open bug you have?