Setting up an email sending domain within HubSpot gives you the ability to remove the "via yourdomain.com" and "on behalf of yourdomain.com" that you sometimes see when you send an email from HubSpot.
What this looked like before:
What this will look like after setting up your email sending domain:
Why is this important?
The ability to remove the "via yourdomain.com" from emails allows customers to have more attribution over their emails. This helps reduce confusion for the end recipient who should focus on the company sending email, not the client they are sending it through.
Email sending domains are used for DKIM (Domain Keys Indentified Mail) email authentication which is a form of email authentication used to verify a sender's identity. By setting up your email sending domain with your nameserver host, you allow HubSpot to encrypt your message and "sign" it using your domains unique signature. This adds a layer of security behind-the-scenes that enables providers like Gmail to remove the "via hubspot" message for their users.
So let's go through the steps on how to set up your email sending domain in HubSpot. The steps below will go over how to add your email sending domain in the HubSpot Domain Manager, then how to add a TXT record with your nameserver host. (This process does not involve any edits to MX records, as HubSpot does not host your email servers.)
Please note that you will need access to edit your DNS records with your name server host. If you do not have access to edit your site's DNS, you can forward this article to your administrator.
Also, at this point in time, 1&1 hosting does not permit custom email sending domain configurations.
1. Content > Content Settings
From your HubSpot Dashboard, navigate to Content > Content Settings.
2. Domain Manager
Once in Content Settings, on the left-hand side you'll see a grey box titled "Content Optimization System Tools." Within this area, click on the link for Domain Manager.
3. Email Sending Domains
Once in Domain Manager, navigate to the bottom of the page to see the Email Sending Domains section. Click on the blue button within this section to Connect Another Email Sending Domain.
4. Domain to connect
From the pop-up window, you'll want to type in the domain that is used in your From address. For example, if your email From address is email@example.com, type in mywebsite.com.
5. TXT record value
After typing in your domain, your host name will automatically be filled, so then you'll want to copy the TXT record value that appears below so that you can paste it into the relevant area within your DNS records. Then click Connect Domain.
6. TXT record in your DNS
Each Domain Registrar is going to be a little different so this step is going to be a little vague on purpose. Once you're logged into your Domain Registrar, you'll want to navigate to your DNS Zone File area. From there, scroll until you see a TXT (Text) section or simply add a new TXT record. You'll want to type in smtpapi._domainkey.mywebsite.com for the Host (from "Fully Qualified Domain" as seen above), and then paste the TXT record into the TXT Value. Take a look below to get an idea of what this looks like in a Domain Registrar.
Please be aware that it may take up to 72 hours for the domain to validate; TTL times vary depending on which domain registrar you use.
What if I use a From address not configured in Email Sending Domains?
Never fear! We'll still authenticate your email using DKIM, but we'll use our own public key instead. Your mail will still be delivered it just won't be signed with your domain's signature.
Basically, setting up an Email Sending Domain isn't necessary but still has its advantages, as outlined at the beginning of this article.
How can I verify my Email Sending Domain?
If you would like to verify that the TXT (Text) record has been connected successfully, you can use the public query tool available at http://dkimcore.org/tools/keycheck.html to do just that - For further details please click here.
Next Article: How to create and edit your email template