The Ultimate Gravity SMTP Guide: Everything You Need to Know
By Colin Newcomer Published September 6, 2024Want to start using Gravity SMTP on your WordPress site but not sure where to begin? This ultimate guide will cover everything that you need to know, including how Gravity SMTP works, which email sending service to choose for your situation, and how to configure Gravity SMTP to start sending emails using your chosen service.
By default, WordPress sends transactional emails (password resets, new comment notifications, form notifications, etc.) via wp_mail, which is based on PHP mail.
While this method kind of works, some web hosts block it. And even if your host does allow it, your site’s emails might end up in users’ spam folders because emails sent via wp_mail aren’t optimized for deliverability.
Gravity SMTP lets you fix those issues for all of your site’s emails by helping you connect your WordPress site to a dedicated email sending service, also known as an SMTP sending service. This includes core WordPress emails, Gravity Forms notification emails, and emails from any other plugin that uses wp_mail.
Once you set up Gravity SMTP and your sending service, you can be confident that your emails will be reliably sent and make it past the spam folder – and Gravity SMTP even logs events to help you make sure your emails keep working as expected.
Here’s what we’ll cover over the rest of this post:
- How Gravity SMTP improves your site’s emails, with a quick hands-on look at its key features
- How to choose the best email sending service for Gravity SMTP, with an in-depth look at all of the built-in integrations that Gravity SMTP supports
- How to set up Gravity SMTP with one of the dedicated integrations (SendGrid, for our example)
- How to set up Gravity SMTP with the custom SMTP server option (which lets you use any SMTP sending service)
It is important to note that Gravity SMTP is currently only available with a Gravity Forms Elite, Nonprofit, or Developer license. If you have one of these licenses, simply head on over to your Gravity Forms Account section to download Gravity SMTP today. Check out this documentation for help with your license key.
How Gravity SMTP Can Fix Your WordPress Site’s Emails (Key Features)
To kick things off, let’s take a look at some of the key features that Gravity SMTP offers, and how these features can improve your WordPress site’s emails.
Multiple Dedicated Integrations (+ a Custom SMTP Option)
Gravity SMTP offers dedicated integrations for multiple providers, which lets you choose the one that works best for your situation.
Currently, you’ll find dedicated integrations for the following providers:
In the next section, we’ll compare these SMTP services in detail so that you can pick the best one for your site(s).
Going forward, we also plan to add even more dedicated integrations. You can see these planned integrations and vote on your favorites on the Gravity Forms roadmap.
Beyond those dedicated integrations, Gravity SMTP also offers a custom SMTP option that lets you connect your site to any standard SMTP-enabled server, which gives you even more flexibility.
We’ll also show you how to set up the custom SMTP option later in this post.
Tools to Test Emails
To help you make sure your site’s emails are working properly, Gravity SMTP offers multiple tools to test your site’s emails.
First, there’s an option to send a test email to any email address using any one of your connected email sending services. This lets you quickly verify that you’ve properly connected your site to your chosen service(s) and emails are being sent.
Second, there’s also a test mode feature that lets you disable external email sending while still logging emails internally.
This can be helpful if you’re working on a staging site or a local development site where you don’t want to actually send emails, but you still want to keep track of emails that your site would have sent.
You can still check the email log to make sure that everything is working properly, but you don’t need to deal with actually sending emails.
Speaking of the Gravity SMTP email log…
Customizable Email Logging
To help you check and track your emails going forward, Gravity SMTP also includes full email logging to track every single email that your site sends.
On the main email log page, you can see the following information about each email:
- Subject
- Status (e.g., whether it was sent or failed to send)
- Recipient (to whom it was sent) and associated avatar
- Source (which plugin the email originated from)
- Date sent
The log entries can be searched and deleted individually or in bulk.
Clicking the envelope icon lets you view the email in its original format directly from the email log table. Viewing the full details of the log by clicking the eye icon is possible, too. Doing so enables you to review the content and check for any potential errors or formatting issues.
Beyond the content and design of the email, there’s also an option that lets you enable logging for email attachments, as well.
Because the email log could become quite large if your site sends a lot of emails, Gravity SMTP also lets you choose how long you want to retain log entries for. You get the following options:
- Never delete (store log entries indefinitely)
- One day
- One week
- One month
- Three months
- Six months
- One year
You’re also free to completely disable the email logging feature if you don’t want to use it.
Backup Connections
Even if you choose a reliable transactional email sending service as your site’s primary sender, there’s still a chance that your site might run into email sending issues.
With Gravity SMTP, you can specify a backup connection that your site will automatically use if the primary connection fails for some reason.
There’s zero manual intervention required. Everything will happen seamlessly and automatically to ensure maximum deliverability for your site’s emails.
You can also keep track of the situations where your backup connection was needed by looking at Gravity SMTP’s logs.
Email Reporting Dashboard
In addition to the email log tools, Gravity SMTP also includes a separate reporting dashboard that lets you view additional data about your site’s email sending usage.
To start, you can see high-level details about the number of emails your site has sent over your chosen time period, including the number of successful, pending, and failed emails.
You can also track the top sending sources on your site. For example, the number of emails that were initiated by the core WordPress software versus a specific plugin.
If multiple plugins are sending emails, you’ll be able to see the number of sent emails for each individual plugin. This can help you really dig in and see which plugins are sending the most email on your site.
Finally, you can also see the top email recipients, which lets you see which email addresses are receiving the most emails from your site.
Manual Email Resends
In addition to the option to set up a backup connection to automatically resend emails that fail to send via your primary connection, Gravity SMTP also lets you manually resend any email on your site.
For example, if a customer says that they’ve lost track of a certain email, you could easily resend that email so that the customer has a copy.
You can do this just by clicking a button in the email log interface.
WordPress Email Management
To help you control the emails that your site sends, Gravity SMTP also offers an email management dashboard for all of the emails that the core WordPress software sends.
Using simple toggle buttons, you can easily activate or deactivate various types of core transactional emails including the following:
- Automatic update email notifications
- New comment notifications
- New user notifications
- Personal data request actions
- User activity notifications, including changed passwords and emails
Easy WP Mail SMTP Migration
If you’re already using the WP Mail SMTP plugin on your site, Gravity SMTP makes it super easy to switch thanks to a dedicated migration tool within the Setup Wizard.
You won’t need to manually reconnect to the services that you’re using – Gravity SMTP will seamlessly migrate all of the connections so you can continue sending your site’s emails without any effort on your part.
An In-Depth Look at Gravity SMTP’s Integrations
Currently, Gravity SMTP offers dedicated integrations for seven services, as well as a catch-all custom SMTP feature that lets you connect to any SMTP server.
Which service should you use? Here’s a quick breakdown of the dedicated integrations…
Postmark
Owned by ActiveCampaign, Postmark is a popular email sending service with a reputation for having good reliability and deliverability. If you read reviews around the web, you’ll see a lot of people recommending Postmark to people who have been having issues with other sending services.
The tradeoff is that Postmark is generally a little more expensive than other services. But if you’re willing to pay a little more for hassle-free setup and top-notch reliability, Postmark might be a good option.
Postmark lets you send 100 emails per month for free. Paid plans start at $15 for up to 10,000 emails per month (at time of writing).
Pros
- Offers high deliverability rates without needing to pay for a dedicated IP address (an extra charge at many other email sending services). There is a dedicated IP option, if you really want it.
- Very detailed outbound email analytics tools.
- Offers both single sender and domain-level verification options.
- Uses separate infrastructure for transactional emails and bulk emails (which improves deliverability for transactional emails).
Cons
- Has a very low free plan limit that won’t be enough for most sites. You’ll almost certainly need a paid plan.
- Paid plans can be a little more expensive than Mailgun and SendGrid.
SendGrid
Owned by Twilio, SendGrid is one of the most well-known email sending services.
For WordPress users, one of its standout features is a generous forever-free plan. Without needing to pay anything, you’ll be able to send up to 100 emails per day, which is more than enough for many WordPress sites.
If you need to exceed that limit, SendGrid offers preset pricing plans, starting at $19.95 per month for up to 50,000 emails (at time of writing), which is still quite affordable if you need that much volume.
Pros
- Has the second most generous forever-free plan of the dedicated Gravity SMTP integrations (after Brevo). Being able to send 100 emails per day for free will be enough for a lot of WordPress sites.
- Offers both single sender and domain-level verification.
- The paid plans are very affordable if you’re sending 50,000+ emails per month.
Cons
- The minimum spend for paid plans is $19.95 for 50,000 emails. This is affordable for high-volume sending, but it can be expensive if you only need to send 5,000-20,000 emails per month. Unfortunately, there are no cheaper options for lower-volume sending (beyond the free plan).
- Some people report issues with slightly delayed emails (e.g. a transactional email taking 45 seconds to send instead of sending immediately, which often happens because the email server is throttling that IP address).
- You can only access a dedicated IP on the pricier Pro plans, which start at $89.95 per month.
Mailgun
Mailgun is one of the most affordable email sending services for mid-volume sending, which can make it a good option if you’re on a budget.
One of the standout features of Mailgun in comparison to most of the other SMTP integrations is that it offers both preset plans and pay-as-you-go options:
- Preset plan – you pay a fixed amount per month for a certain number of emails, with an optional overage charge if you need to exceed your plan’s fixed limit.
- Pay-as-you-go pricing (Flex plan) – you pay $1 per 1,000 emails that your site sends, with no monthly minimums (at time of writing).
If you’re only sending around 5,000-10,000 emails per month, the Flex plan can often work out to be cheaper than other alternatives.
While Mailgun doesn’t technically advertise a forever-free plan, you won’t be billed on the Flex plan unless your monthly billing usage exceeds $1. Essentially, this means that you can use the Flex plan to send up to 1,000 emails per month for free.
Pros
- Has a fairly generous free usage tier with the Flex plan (1,000 emails per month).
- Lets you choose between preset pricing plans and pay-as-you-go pricing based on your exact usage.
Cons
- The preset plans have the highest starting price of any service on this list ($35 per month).
- You can only access a dedicated IP on the pricier Scale plan, which starts at $90 per month.
Brevo
Brevo, formerly Sendinblue, is a CRM that can send transactional emails. Therefore, if you’re looking for an email marketing platform as well as an SMTP service, Brevo fulfills both needs.
However, whether you want a CRM or not, Brevo’s relatively generous free plan makes it a great choice.
Thanks to the free plan, you can send up to 300 transactional emails daily — which works out to around 9,000 per month — without spending any money (at time of writing). The next plan starts at $25 a month and supports 20,000 emails a month, or approximately 657 a day. You can also pay to increase the monthly email limit on the plans via the flexible pricing. Another option is purchasing email credits via the pay-as-you-go option rather than choosing a monthly subscription.
The Brevo paid plans are in the mid-range of the SMTP services covered in this guide. However, you do get access to a fully-featured CRM platform when you sign up. This means you can send email campaigns, use the drag-and-drop editor to design professional-looking emails, create automated workflows, and more. However, thanks to the generous free plan, you might not need to upgrade.
While everything looks good on paper for Brevo, there are some reports of relatively low email delivery rates.
Pros
- The free plan is the most generous in this comparison, with a daily limit of 300 transactional emails.
- Free and paid plans include access to the email marketing service, with email templates and a drag-and-drop email editor.
- Paid plans are cheaper than some options (e.g., Mailgun) but more expensive than others (e.g., Postmark).
- The prepaid email credits option is a pay-as-you-go alternative to the monthly plans.
Cons
- A dedicated IP is only available on the top plan or as a paid add-on.
- Some reports of relatively poor email deliverability rates.
Amazon SES (Simple Email Service)
Amazon SES, short for Amazon Simple Email Service, is a transactional email service that’s part of AWS, Amazon’s suite of cloud tools.
One of the most unique things about Amazon SES is its pricing. Rather than locking you into a monthly plan for a certain number of emails that you may or may not use, Amazon SES uses 100% pay as you go pricing, with no monthly minimums.
For general email sending, you’ll pay just $0.10 per 1,000 emails. For example, sending 50,000 emails in a month would cost you just $5, which is significantly cheaper than every other service on this list.
Amazon also offers a free trial for the first 12 months where you can send up to 3,000 emails per month for free.
There are some optional add-ons. For example, if you’re attaching documents to your emails, those cost $0.12 per GB of data. And if you want to use Amazon’s Virtual Deliverability Manager, that will be an extra $0.07 per 1,000 emails.
Pros
- One of the cheapest transactional email services out there.
- No monthly contracts or minimums – you’re only billed based on your usage.
Cons
- Reporting tools are not as detailed as something like Postmark and it can be a little more technical to manage things.
- Managing/maintaining deliverability can be a little more difficult than other services. Less technical people might prefer to pay a little more for a more managed email sending service.
Gmail / Google Workspace
While all of the previous services are dedicated transactional email services, this one is a little different. With Gravity SMTP, you can actually use your own free Gmail account (or your own paid Google Workspace account) to send emails for your website.
This approach gives you a free way to send up to 500 emails per day with a free Gmail account, which is more than the free plan of pretty much any transactional email service. However, the downside is that Gmail is not totally optimized for the transactional email use case.
In general, you should probably not use Gmail to send mission-critical emails, especially if those emails are user-facing and/or high volume. However, it can be a very cost-effective solution for sending emails to yourself and/or a few trusted users.
Pros
- It’s 100% free if you use a Gmail account and has no added cost if you’re already paying for Google Workspace.
- The sending limit (500 emails per day) is a lot higher than most dedicated transactional email services. If you have a paid Google Workspace account, you can send up to 2,000 emails per day.
- You can use your existing Google account – there’s no need to sign up for a new service.
Cons
- It’s not a true transactional email service. That is, the primary purpose of Gmail is not for sending your website’s emails, whereas that is the primary purpose of services like SendGrid.
- Google might temporarily suspend your account if you send too many emails at once. This is because Google throttles email sending.
- The setup process is a little more involved because you need to create your own app in Google Cloud. This is a one-time setup process, but it might take you 15-30 minutes depending on how familiar you are with the Google Cloud interface.
Outlook / Microsoft 365
Just like how Gmail allows you to send your website’s emails, you can also do the same thing with a free Outlook account (or your own paid Microsoft 365 account, if you have one).
This approach probably has the highest free sending limit of any solution that you’ll find – Microsoft lets you send up to 10,000 emails per day for free (though the limit will be lower if you’re using a brand new Outlook account without any sending history).
However, using Outlook for WordPress emails has the same constraints as Gmail. As such, you probably don’t want to use it for important user-facing emails, but it can be a cost-effective option for sending primarily internal emails.
Pros
- It’s 100% free if you use a free Outlook account. If you already have a Microsoft 365 account, there’s also no added cost to using it for WordPress emails.
- It has a very high free sending limit. For established Outlook accounts, you can theoretically send up to 10,000 emails per day (though you might get throttled if you try to send too many emails at once).
- If you already have a Microsoft account, you can use your existing account rather than needing to sign up for a new service.
Cons
- Some email clients might filter the emails to spam. If you’re sending emails to yourself, you can easily fix this by creating a filter in your email client to make sure it routes emails straight to your inbox. However, if you’re sending emails to other users, you might want to be careful.
- It’s not a true transactional email sending service. This can lead to some deliverability issues as discussed in the previous point, along with some other things like rate-limiting.
- The setup process is a little more complicated because you need to create your own app in Microsoft Azure. It will probably only take you 5-15 minutes to do, but there are more steps than just adding an API key.
Custom SMTP
If you don’t want to use one of the dedicated integrations, Gravity SMTP also offers a Custom SMTP option that lets you connect to any standard SMTP-enabled server.
You could use this to connect to a different email sending service, such as Mailjet. If you’re on a tight budget, Mailjet might be attractive because it lets you send 200 emails per day for free (double SendGrid’s already generous free tier but less than the 300 email daily limit of the Brevo free plan).
Beyond dedicated services, there are also other ways to access SMTP servers. Here are some examples:
- A free SMTP server that your host provides. Not all hosts do this, but some do.
- The SMTP functionality in your email client (Gmail, Outlook, Zoho Mail, etc.).
- Your own SMTP server that you create with something like DigitalOcean and Postfix (too complicated for most people, but it is an option).
Comparing the Pricing of Gravity SMTP’s Integrations
While ease of use, deliverability, and other features might play some role in choosing your SMTP service, the largest part of your decision will probably come down to price.
To make the differences in pricing as clear as possible, here’s a quick summary table that compares the pricing of the dedicated transactional SMTP integrations that Gravity SMTP offers.
Postmark | SendGrid | Mailgun | Brevo | Amazon SES | |
Has forever-free plan? | ✅ | ✅ | ✅❌* | ✅ | ❌ |
Free plan limits | 100 emails per month | 100 emails per day (~3,000 per month) | 1,000 emails per month | 300 emails per day (equivalent to ~9,000 per month †) | 3,000 emails per month for first 12 months |
Has pay-as-you-go pricing? | ❌ | ❌ | ✅ | ✅ | ✅ |
Pay-as-you-go rate | N/A | N/A | $1 per 1,000 email sends | Starts at $32 per 5,000 email sends (equivalent to $6.40 per 1,000) | From $0.10 per 1,000 emails |
Has preset monthly plans? | ✅ | ✅ | ✅ | ✅ | ❌ |
Preset monthly plan starting price | $15 incl. 10,000 emails per month | $19.95 incl. 50,000 emails per month | $35 incl. 50,000 emails per month | $25 incl. 20,000 emails per month | N/A |
Cheapest price to send 1,000 emails per month | $15 (10,000 emails) | Free | $1 (Flex plan) | Free (but limited to 300 per day) | $0.10 |
Cheapest price to send 5,000 emails per month | $15 (10,000 emails) | $19.95 (50,000 emails) | $5 (Flex plan) | Free (but limited to 300 per day) | $0.50 |
Cheapest price to send 25,000 emails per month | $42 | $19.95 (50,000 emails) | $25 (Flex plan) | $35 (40,000 emails) | $2.50 |
Cheapest price to send 50,000 emails per month | $55 | $19.95 | $35 (Foundation plan) | $49 (60,000 emails) | $5.00 |
*Mailgun technically doesn’t advertise a forever-free plan that allows public email sending. However, Mailgun applies a minimum $1 billing charge to its Flex plans. If your usage is under that, you won’t be charged anything.
† While you can send around 9,000 emails a month on the free Brevo plan you can’t send more than 300 per day.
Additionally, you can also consider Gmail or Outlook, which we’ve omitted from the table. Again, just be careful about using Gmail or Outlook for high-volume, user-facing emails.
How to Set Up Gravity SMTP Using SendGrid (or Other Providers)
Now that you know more about the various providers that Gravity SMTP supports, let’s get into the step-by-step guide for how you can actually configure your site to start sending its emails using a dedicated SMTP service.
For this tutorial, we’re going to use SendGrid as the example. As we discussed above, SendGrid has a forever-free plan that will work for a lot of sites, so we think it makes a good starting point if you don’t need to send more than 100 emails per day.
With that being said, the same basic steps from this tutorial will apply to the other services as well. In the next section, we’ll also show you how to set up a custom SMTP server.
The only thing that we’ll assume here is that you’ve already installed the Gravity SMTP plugin on your site.
As mentioned, Gravity SMTP is available for free with a Gravity Forms Elite, Nonprofit, or Developer license. If you have one of these licenses, simply head on over to your Gravity Forms Account section to download and install Gravity SMTP.
1. Register for a Free SendGrid Account
If you haven’t done so already, your first step is to register for a free SendGrid account.
You will not need to enter a credit card to register for an account and the free account lets you send up to 100 emails per day forever.
2. Authenticate Your WordPress Site With SendGrid
Before you start sending emails with SendGrid, we recommend fully authenticating the domain name that you want to send emails from.
While this is technically optional, unauthenticated emails might still have spam issues. Additionally, if you do not set up domain authentication, your site’s emails will still show as being sent “via sendgrid.net” instead of as just coming from your “From” email address.
Here’s an example of what your emails might look like without setting up domain authentication:
To authenticate your domain name, you’ll need to add some DNS records to your domain name’s DNS management.
If you don’t feel comfortable doing that, SendGrid also offers an option to verify a single sender email address, which just requires you to click a link in an email that SendGrid offers you.
While we still recommend setting up full domain authentication if possible, the single sender option can work fine if you’re just looking for a simple way to get started and you feel overwhelmed by needing to add DNS records to your domain name.
We cover this process in more depth in our blog post about the Gravity Forms SendGrid Add-On. You can follow the guide in Step #3 – this link should take you straight to the relevant section.
SendGrid also has documentation showing you how to set up both types of authentication:
3. Access Your SendGrid API Credentials
Once you’ve set up domain authentication for your WordPress site’s domain name, the next step is to generate a SendGrid API key. This is what you’ll use to allow Gravity SMTP to send its emails using SendGrid.
You can click this link to go straight to the SendGrid API dashboard. Or, go to Settings → API keys in the menu on the left side of the SendGrid dashboard.
Then, click the Create API Key button and give it Full Access.
You should then see your API key:
Keep this API key in a safe place because you’ll need it in the next step.
4. Add SendGrid API Credentials to Gravity SMTP
Once you’ve copied your SendGrid API key to a safe place, you’ll perform the rest of the setup from your WordPress dashboard:
- Open your WordPress dashboard.
- Go to Gravity SMTP → Settings → Integrations.
- Click the settings gear icon next to the SendGrid option.
This will open a popup where you can add your SendGrid API key, along with the From Email and From Name that you want to use when sending your emails.
Note – make sure that your From Email is one that you’ve authenticated with SendGrid. If you set up domain authentication, this can be any email that uses your site’s domain name. If you only set up single sender verification, you must use the exact email address that you verified.
Make sure to click Save Changes when you’re finished.
5. Set SendGrid As Your Primary Email Sending Service
Once you’ve set up SendGrid in Gravity SMTP, you’ll want to make sure that you’ve also set it as your primary email sending service.
To do this, enable the toggle under SendGrid in the Gravity SMTP integrations area.
6. Send a Test Email
To finish things out, you’ll want to send a test email using Gravity SMTP to make sure that everything is working properly:
- Go to Gravity SMTP → Tools → Send a Test.
- Enter your email address in the Send To box.
- Click the Send Test button.
If you see the email in your inbox, you can be confident that your site is properly configured to use SendGrid.
If you’ve enabled the email logging functionality in Gravity SMTP, you’ll also be able to track your site’s emails via the email log.
7. Set Up a Backup Sending Service (Optional)
This step is totally optional.
However, if your site is sending really important emails, Gravity SMTP gives you the option to set up a backup sending service.
If an email fails to send via your site’s primary service for any reason, Gravity SMTP will automatically try to resend the email using your backup service. This lets you ensure reliable email deliverability even if your site were to lose its connection to the primary sending service (perhaps because of a temporary outage or issues with your site’s API connection).
If you do want to use a backup sending service, you’ll first need to connect your site to that service. We have dedicated tutorials for how to do this for the various services that Gravity SMTP currently supports:
- SendGrid tutorial
- Mailgun tutorial
- Postmark tutorial
- Brevo tutorial
- Gmail/Google Workspace tutorial
- Outlook/Microsoft 365 tutorial
For example, if you want to use Mailgun as your backup service, you would first add your domain name to your Mailgun account and locate your API key, as we show you in our full Mailgun tutorial.
You would then connect Gravity SMTP to Mailgun, much like we showed you with SendGrid above:
- Go to SMTP → Settings → Integrations.
- Click the gear icon next to Mailgun.
- Add your Mailgun API key, region, and sending domain name, along with the From name and email address that you want to use.
- Click the Save Changes button at the bottom.
Once you do that, you should see a yellow Configured label appear for Mailgun.
To make it your backup service, click on the three dots icon next to the gear icon for Mailgun.
In the drop-down that appears, choose the Set As Backup option.
You should then see the text change from Configured to Connected. You should also see a Backup label appear next to Mailgun, which reminds you that it’s only the backup option.
If you want to send a test email using your backup service, here’s how:
- Go to SMTP → Tools → Send a Test.
- Enter the email address to which you want to send an email.
- Use the Send With drop-down to select your backup service. By default, it will send via your primary service.
- Click the Send Test button.
How to Set Up Gravity SMTP Using a Custom SMTP Server
If you don’t want to use one of Gravity SMTP’s built-in integrations, you can also use the custom SMTP option to connect to any SMTP server.
The advantage of this method is that it opens up a huge array of new services that you can use to send your WordPress site’s emails.
1. Locate Your SMTP Server Credentials
To start, you’ll need to locate the credentials for the SMTP server that you want to use.
Unfortunately, we can’t show you exactly how this works because it will depend on the service that you’re using.
Here are the details that you’ll need to find (usually you’ll find all of this information in the same spot):
- SMTP Host – this could be an IP address or a domain name. E.g. email.xyz.com.
- SMTP Port – this will be a two-digital or three-digit number. E.g. 587, 465, 25, etc.
- Authentication information – this will include a username and password, as well as the relevant encryption protocol. More on this below.
To prevent unauthorized use, most SMTP servers require some additional authentication, which is what the “Authentication information” item covers in the list above.
Typically, this will be a username and a password, just like you would use to log into any other website. You’ll also need to choose the encryption protocol to encrypt your data. This will almost always be TLS, but you might also see SSL or no encryption (which we don’t recommend whenever possible).
For this example, we’ll use the free Mailjet service, which has a generous forever-free plan that lets you send up to 200 emails per day (~6,000 emails per month).
We already signed up and verified our domain name. You may or may not need to verify your domain name depending on the SMTP server that you’re using. If you also want to use Mailjet, we recommend following these steps to validate your sending domain.
At Mailjet, the SMTP server credentials look like this:
- SMTP Host – in-v3.mailjet.com
- SMTP Port – 587
- Encryption – TLS
- Auth Username – Public API key from Mailjet
- Auth Password – Secret API key from Mailjet
If you’re unable to locate these details, we recommend reaching out to the support staff of whatever service you’re using.
2. Add Your SMTP Server Credentials to Gravity SMTP
Once you’ve located the SMTP credentials that you need, you’re ready to add them to Gravity SMTP:
- Open your WordPress dashboard.
- Go to Gravity SMTP → Settings → Integrations.
- Click the settings gear icon next to the Custom SMTP option.
This will open a popup where you can enter your SMTP server credentials, as well as some other information.
For our Mailjet example, we would enter things as follows:
- SMTP Host – in-v3.mailjet.com
- SMTP Port – 587
- Authentication – enabled
- Auto TLS – enabled
- Encryption – TLS
- Auth Username – Public API key from Mailjet
- Auth Password – Secret API key from Mailjet
- From Email – enter the email address that you want your emails to be sent from – e.g. [email protected].
- From Name – enter the name that you want your emails to be sent by – e.g. [Your Brand Name]
Once you’ve added everything, click Save Changes.
3. Set Custom SMTP As Primary Integration
Next, make sure to enable the Custom SMTP option as your primary integration.
You can do this by enabling the toggle under Custom SMTP in the integrations list.
4. Send a Test Email
Finally, you’ll want to send a test email to make sure that your SMTP server is working properly.
Again, go to Gravity SMTP → Tools → Send a Test.
Enter your email address and then click the Send Test button to send a test email.
If you see the email in your inbox, you know that everything is working properly.
If you’ve enabled email logging, you’ll also be able to monitor emails from the email log.
For more in-depth information on Gravity SMTP, please check out the documentation.
How to Migrate from WP Mail SMTP to Gravity SMTP
In the tutorials above, we assumed that you had been using the default WordPress email sending method before setting up Gravity SMTP on your site.
However, some of you might be looking to switch from a plugin like WP Mail SMTP.
If you are already using the free or premium version of WP Mail SMTP, Gravity SMTP includes a built-in migration tool to help you seamlessly migrate all of your email service connections without any interruption in delivery.
Here’s a quick guide on how to migrate WP Mail SMTP to Gravity SMTP…
1. Install and Activate the Gravity SMTP Plugin
To get started, install and activate the Gravity SMTP plugin on the site where you’re using WP Mail SMTP.
If you’re holding the Gravity Forms Elite license, you can download Gravity SMTP from the My Account area on the Gravity Forms website.
Do not deactivate the WP Mail SMTP plugin yet. You should have both plugins active until you complete the migration.
2. Complete the Gravity SMTP Setup Wizard, Including Migration
Once you’ve activated Gravity SMTP, click on the new SMTP tab in your WordPress dashboard sidebar. This should automatically launch the Gravity SMTP setup wizard.
To start the wizard, click the blue Let’s Get Started button.
On the next screen, select WP Mail SMTP from the list of migration options. This tells Gravity SMTP that you want to migrate all of the settings from WP Mail SMTP. This includes all of the services that you’ve connected to WP Mail SMTP – not just the primary sending service.
Next, you can choose which service to use as the primary sending method in Gravity SMTP.
Typically, you’ll choose the same service that you were using with WP Mail SMTP.
For this migration example, we were using Mailgun with WP Mail SMTP so we’ll also select Mailgun for Gravity SMTP.
On the next screen, you’ll see a summary of the details that Gravity SMTP has imported. For our Mailgun example, Gravity SMTP automatically imported the API key, Mailgun region, Mailgun sending domain, and the From name/email address.
All you need to do is verify the information and then activate your chosen sending service on the last step of the setup wizard.
3. Deactivate the WP Mail SMTP Plugin
Once you’ve migrated your details to Gravity SMTP and activated your preferred service as your site’s primary email sending service, you can deactivate the WP Mail SMTP plugin without interrupting your site’s emails:
- Go to Plugins → Installed Plugins.
- Find WP Mail SMTP in the list.
- Click the Deactivate link underneath WP Mail SMTP.
4. Send a Test Email
To finish things out, we recommend sending yourself a test email to make sure everything is working properly with your migrated configuration.
Here’s how to send a test email:
- Go to SMTP → Tools.
- Select the Send a Test tab (it should be selected by default).
- Enter the email address to which you want to send a test email.
- Use the Send With drop-down to select the email sending service that you want to use (if you imported multiple connections from WP Mail SMTP.
- Click the Send Test button.
Get Started With Gravity SMTP Today
That wraps up our ultimate guide to using Gravity SMTP to deliver your WordPress site’s emails.
With Gravity SMTP, you can access a more reliable way to send all of your WordPress site’s emails, including core emails, emails from Gravity Forms, and emails from any other plugin that uses wp_mail.
You can choose one of the dedicated integrations for the services that we detailed above. Again, SendGrid makes a great option if you’re not sure where to start, thanks in large part to its generous forever-free plan.
Or, the Custom SMTP option in Gravity SMTP also lets you use any SMTP server just by entering some basic details.
The Gravity SMTP plugin is available at no extra cost to all Gravity Forms Elite, Nonprofit, and Developer license holders. You can download it directly from your Gravity Forms account dashboard and get started right away.
And if you’d like to have your say on future Gravity SMTP features and integrations, head on over to our Gravity SMTP Roadmap and let us know what’s important to you.
If you want to keep up-to-date with what’s happening on the blog sign up for the Gravity Forms newsletter!