When your WordPress site sends emails (such as contact form notifications, password resets, or order confirmations), it’s important those messages are delivered reliably. One common problem is that emails sent via the default PHPmail method often fail SPF authentication, causing them to be flagged as spam or rejected.
Why PHPmail Fails
By default, WordPress uses PHPmail to send directly from the hosting server. The issue is:
Emails are sent from your web server’s IP address.
SPF (Sender Policy Framework) checks whether that server is authorised to send on behalf of your domain.
Since your website server IP is not listed in your domain’s SPF record, the email fails authentication.
This mismatch is why messages sent using PHPmail often don’t reach the inbox.
The Solution – Use an SMTP Plugin
The best way to ensure your WordPress email is delivered correctly is to send mail through your actual email account, using SMTP (Simple Mail Transfer Protocol). SMTP relays the mail through HostBible’s authorised mail servers, which are already covered by SPF.
Benefits of SMTP
Emails are delivered via authorised servers.
SPF checks pass, improving inbox placement.
Messages look like they truly come from your domain.
How to Set Up SMTP in WordPress
Install an SMTP Plugin
Recommended: WP Mail SMTP or Post SMTP.
Configure the Plugin with Your Email Account
SMTP Host:
mail.yourdomain.comSMTP Port: 587 (STARTTLS) or 465 (SSL)
Encryption: TLS or SSL
Username: Your full email address (e.g. [email protected])
Password: Your email password (or app password if enabled)
Set the “From” Address
Use your own domain email address (e.g. [email protected]).
Save Settings & Send a Test Email
Most plugins include a “Send Test” option to confirm everything is working.
Once set up, your WordPress site will send all mail through your HostBible or third party mail account, ensuring SPF authentication passes and improving deliverability.
