Post SMTP is a WordPress plugin that sends the emails your site creates, such as contact form messages and order notifications, through your tsoHost mail server. This article is for tsoHost customers who run a WordPress site on their hosting account. After you finish, your WordPress site sends its emails from your own domain, and they are more likely to reach your recipients’ inboxes.
Before you begin
Make sure you have the following ready:
- The login details for your WordPress admin dashboard.
- The login details for your tsoHost client area, which gives you access to cPanel (the control panel for your hosting account) and your domain’s DNS settings.
- An email address on your own domain, for example admin@yourdomain.com.
Install and activate Post SMTP
- Log in to your WordPress admin dashboard.
- In the left menu, click Plugins.
- Click Add New Plugin.
- In the search box, type Post SMTP.
- Next to Post SMTP, click Install Now.
- When the button changes, click Activate.
Configure Post SMTP
After you activate the plugin, the Post SMTP setup screen opens. Follow these steps on that screen.
- On the setup screen, click Configure manually.
- In the Transport list, choose SMTP.
- In the Outgoing Mail Server field, enter localhost. This tells Post SMTP that the mail server runs on the same hosting account as your site.
- In the Outgoing Mail Server Port field, enter 25 or 587. Both ports work, so you can use either one.
Always use an email address that belongs to the same domain as your WordPress site. If the domain is different, your emails may be rejected or sent to spam.
- In the Envelope From Address field, enter an email address on your domain, for example admin@yourdomain.com. This address should also match the email address in your WordPress admin settings.
- In the Security field, choose None.
- In the Authentication field, choose None.
- Click Save Changes.
Check Email Routing in cPanel
If your hosting account has more than one domain, check this setting for every domain that sends email from WordPress. The Remote Mail Exchanger option tells your server that email for the domain is handled by an outside mail service (Titan) instead of by the hosting server itself.
- Log in to the tsoHost client area.
- From the client area, log in to cPanel.
- In cPanel, under Email, click Email Routing.
- For each domain in the list, make sure Remote Mail Exchanger is selected.
If you changed the setting, click Change next to that domain.
Update your SPF record
An SPF record is a DNS setting (a record stored with your domain) that lists the services allowed to send email for your domain. Updating it helps stop your emails from being marked as spam.
- In the tsoHost client area, open the custom DNS settings for your domain.
- Click the Custom DNS tab.
- Look for an existing TXT record that starts with v=spf1. If you find one, delete it.
A domain can have only one SPF record. If your old record listed other services you use to send email (for example, a newsletter tool), add their include: entries to the new record before you save it.
- Add a new TXT record with the values in the table below.
| Type | Name | Content | TTL |
| TXT | @ |
v=spf1 include:spf.titan.email include:secureserver.net ~all
| 1 hour/ 3600 seconds |
Save the record.
DNS changes can take a few hours to take effect.
Check that it works
- In your WordPress admin dashboard, click Post SMTP in the left menu.
- Click Send a Test Email.
- In the To field, enter an email address you can check.
- Click Send Test Email.
Post SMTP shows a success message, and the test email arrives in the inbox you entered within a few minutes. If it is not in the inbox, check the spam folder. Your WordPress site now sends its emails through your tsoHost mail server.
Troubleshooting
Problem: Emails from your site arrive in spam.
Cause: The SPF record is missing or incorrect, or the Envelope From Address is on a different domain from your site.
Fix: Check that the TXT record in Update your SPF record matches the values in the table, and that your From address uses your own domain.
Problem: The test email does not send, or Post SMTP shows a connection error.
Cause: The port you chose is not available on your hosting account.
Fix: In Outgoing Mail Server Port, switch from 25 to 587 (or from 587 to 25), click Save Changes, and send the test email again.
Problem: The test email does not send even after you try both ports.
Cause: Email Routing for your domain is not set to Remote Mail Exchanger.
Fix: Follow the steps in Check Email Routing in cPanel and make sure Remote Mail Exchanger is selected for your domain.