Glad to hear you’re making progress! I noticed that double Cc issue as well when testing. I’m going to get a test + fix out. If not today then hopefully by Monday. Will let you know when it’s out.
Do you have an example proof of concept code? I suspect the issue is that, even though you have the multiple recipients in the headers, you’re not including them in the recipient list for the smtp conversation. For example, if you were using python, the following code wouldn’t work:
Hi Mike,
Thanks for your clarification. I did some extensive test and research to test the various permutations of this issue. So, I got it to work finally in python.
Given below is the python code:
import requests
import urllib
import json
import smtplib
I was also able to get the CC working, i.e. send to multiple recipients on the CC list in C#.Net. I use the SMTP Client in C# to send emails. One Open issue though is the fact the email recipients in the CC list are duplicated when I use the SMTP client and HubSpot SMTP server. This is a HubSpot specific bug as I have tested with mandrill and writing to my local machine, and it works fine. I think it has something to do with the way HubSpot SMTP is parsing the CC email recipients. Attached is the images. If you need source code to test, I can send it separately.
The limitation you’re seeing is definitely not, by any measure, an intentional design decision. An SMTP relay must support Cc, Bcc and multiple recipients. I’m going to investigate today and see why you’re seeing what you’re seeing and get back to you.
@jmichaelRS The Single-Send API only allows one recipient at a time. If you have multiple ones you can loop through them in your code and call the Single-Send API multiple times.
The Deals API, along with the Companies API, has been exposed to allow for easy integration with the HubSpot CRM objects.
It’s a bummer that we cannot send to multiple recipients. Looping through the recipient list one at a time is not a viable solution because, the recipients would want to view the email as a single entity and also want to reply to the emails.
I am not sure why you would want to restrict recipients to a single recipient.
@pmanca This seems to be a basic requirement. Any SMTP service should be able to sent emails to multiple recipients. Any idea why HubSpot is unable to do that?
@jmichaelRS The SMTP API is part of our Transactional email add on. Transactional Email by nature is a 1:1 relationship. A 1:many relationship would be a marketing email. This is set up on purpose given the intent of our SMTP API.
I understand transactional emails having a single recipient in the To list. But it is a genuine requirement to have multiple recipients in the CC list.
There are other marketing automation email vendors such as Mandrill, Sendgrid etc which allow multiple recipients for transactional emails.
Is there is a technical limitation on HubSpot other than the assumption that Transactional Email is by nature 1:1?