Sending tranactional emails with a bcc address fails

Hello fellow hubspot admin/developers

We developed a webhook which triggers an azure function sending an email towards contacts with an overview of outstanding tickets.
Our internal users would love to see this email in the inbox so we wanted to send the same email as a bcc.

But when adding this email address the email is not sent.

We tried to add 2 email addresses fixed seperated with ; and then we received an error so it seems that the data is parsed.

Anybody has any clue ?

Hi @JVanpachtenbe ,
Thank you for reaching out to the Community!
I’d like to invite some community members who are subject matter experts to join this conversation.
@SAMsan @KhushbooP11 @MichaelMa - Would you be able to share any insights on this? Your expertise would be greatly appreciated.
Best,

Victor

Hi,

Usually, email data parsing in Huspot is done from headers, themselves using coma as a separator. Did you try this?

Hello
Yes, we’ve tried this.
Unfortunately still not working.
Kind regards

According to the API (which is what I’m assuming you’re using?), transactional emails use an array for the BCC field

 "bcc": [
 "bh@hubspot.com",
 "maria@hubspot.com"
 ],

Have you looked at the API log? Sometimes it provides help info for why it failed (sometimes it doesn’t). Failed requests will show the payload in the log.

To all, problem solved.

This only works in a production environment
you cannot use the bcc field in a sandbox environment.