Back to Top

Help & Support

Get instant answers 24/7

Top > Questions & Answers

How do I enable SPF and DKIM for emails sent from my domain?

As of April 2024, Gmail​.com and others have increased enforcement of SPF and DKIM authentication requirements. These measures are crucial for ensuring your emails are reliably delivered. Using SpamHero's Outbound SMTP service, you can set up your domain in just a few minutes.

Enabling SPF

Add to an existing SPF record

If your domain already uses SPF, add this to your existing record before the "all" parameter at the end:

include:spf.spamhero.com

If you are a reseller, use the SPF include published in the reseller area of the control panel instead of the one mentioned here.

Create a new SPF record

If your domain has no SPF record, the following is a good starting point (add this as a TXT record in your domain's DNS settings):

v=spf1 a include:spf.spamhero.com ~all

There may be other options that you wish to include in your SPF record if your domain sends through other outbound services. Contact each provider that you send emails through to find out what their SPF record requirements are.

Enabling DKIM

  1. From within the SpamHero control panel, go to Outbound > Outbound Settings
  2. Scroll down to the Other settings section and click Enable DKIM signing for outbound messages.
  3. Optionally, setup the CNAME records that are displayed. Doing so will cause our system to begin signing the messages with your domain. Otherwise, our system will sign messages using an internal domain.

Last updated April 23, 2024