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 Identified 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 domain's 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.)
Furthermore, please be aware that if you also have access to HubSpot CRM, applying this feature within the Marketing platform will carry over to the CRM.
Content > Content Settings
From your HubSpot Dashboard, navigate to Content > Content Settings.
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.
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.
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 firstname.lastname@example.org, type in mywebsite.com.
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 Add Domain.
TXT record in your DNS
Please note: each DNS provider has a unique layout and interface. These instructions give a general overview of the steps to take within your own DNS provider; however, the navigation and steps may be slightly different.
If you need to set up your email sending domain with 1&1 hosting service, contact their support and ask for the Transfer Department. They should be able to set up the TXT record on your behalf.
Log into your DNS Provider and navigate to your DNS Zone File (navigate to your products, then Manage Domains/Manage DNS).
Find your TXT records. In the example below, all DNS record types are displayed together. Your DNS provider may show each record type (A, CNAME, TXT, etc.) in a separate section; if this is the case, find the section for TXT records. Once you've located your TXT records, add a new record by clicking Add (Add Record, Create new record, etc).
When adding your new TXT record, add the value from the Fully Qualified Domain Name (host name) field in HubSpot, as shown above (e.g. smtpapi._domainkey.mywebsite.com) to the Host field. Paste the value from the TXT Record Value field in HubSpot into the TXT Value field. Be sure to Save your changes once you've added your TXT record. Here's an example of how this will look in a DNS Provider.
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.