# Multiple email domains using SMTP

**URL:** <https://community.hubspot.com/t/multiple-email-domains-using-smtp/24246>\
**Category:** APIs & Integrations\
**Tags:** email\
**Created:** [August 16, 2020, 6:58am UTC](https://community.hubspot.com/t/multiple-email-domains-using-smtp/24246 "2020-08-16T06:58:42Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Elad\_Levy](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/elad_levy/32/2639_2.png) [@Elad\_Levy](https://community.hubspot.com/u/Elad_Levy)\
**Post date:** [August 16, 2020, 6:58am UTC](https://community.hubspot.com/t/multiple-email-domains-using-smtp/24246/1 "2020-08-16T06:58:42Z")

</div>

Hi

We have the transactional email addon in place for one of our domains, working perfectly fine.

We now want to add two additional domains, and have added these as **Email sending domains (DKIM)**. When trying to send an email using the same token we get an error, though the token doesn’t appear to have any domain-specific settings.

Is there any other setting that I’m missing here?

---

<div class="post-metadata">

**Author:** ![WendyGoh](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/wendygoh/32/42320_2.png) [@WendyGoh](https://community.hubspot.com/u/WendyGoh)\
**Post date:** [August 17, 2020, 8:28am UTC](https://community.hubspot.com/t/multiple-email-domains-using-smtp/24246/2 "2020-08-17T08:28:14Z")

</div>

Hey [@Elad\_Levy](https://community.hubspot.com/t5/user/viewprofilepage/user-id/81314),

As per this [documentation,](https://legacydocs.hubspot.com/docs/methods/email/transactional_email/smtpapi_overview)

“_the email is sent from [the customer’s] system, but is wrapped with the HubSpot tracking codes that allow full engagement tracking and measurement_,”

As such, the SMTP API shouldn’t affect the sending domain.

In this case, could you share more in details on the following:

1. What is the token that your team is using?

2. What’s the full error you’re seeing on your end? A screenshot may be helpful too!

3. The portal ID in question.

---

<div class="post-metadata">

**Author:** ![Elad\_Levy](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/elad_levy/32/2639_2.png) [@Elad\_Levy](https://community.hubspot.com/u/Elad_Levy)\
**Post date:** [August 17, 2020, 10:58am UTC](https://community.hubspot.com/t/multiple-email-domains-using-smtp/24246/3 "2020-08-17T10:58:37Z")

</div>

Hey @WendyGoh

It actually turned out to be an issue with the code sending the emails rather than the SMTP.

Thanks

Elad
