wp_mail() to send order confirmations, shipping notifications, and password resets. To make sure these emails reach customers, route them through mySMTP using the WP Mail SMTP plugin.
Prerequisites
- WooCommerce installed and active on WordPress
- Admin access to WordPress
- Your mySMTP credentials (see Setting up SMTP credentials)
- A verified sending domain
SMTP settings
Shared IP plans are only available to customers in Denmark.
Connect mySMTP to WordPress
WooCommerce does not have its own SMTP settings. Configurewp_mail() at the WordPress level so all WooCommerce emails use mySMTP.
1
Install and activate WP Mail SMTP
In WordPress, go to Plugins → Add New Plugin. Search for WP Mail SMTP by WPForms, then install and activate it.
2
Configure Other SMTP
Go to WP Mail SMTP → Settings. Under Mailer, choose Other SMTP. Fill in:
- SMTP Host: your real mySMTP hostname (from your setup email)
- Encryption: TLS
- SMTP Port:
587 - Authentication: On
- SMTP Username: your mySMTP username
- SMTP Password: your mySMTP password
3
Set the From email and name
Set From Email to an address on your authenticated domain (for example,
orders@yourdomain.com). Set From Name to your store name. Enable Force From Email and Force From Name.4
Save and test
Click Save Settings, then go to Email Test and send a test email to yourself.
Match WooCommerce sender settings to mySMTP
WooCommerce lets you define a sender name and address under WooCommerce → Settings → Emails. These values must match the authenticated domain you use with mySMTP.1
Open WooCommerce email settings
In WordPress admin, go to WooCommerce → Settings → Emails.
2
Set the From address
Scroll to the bottom of the page. Set From address to the same domain-verified address you configured in WP Mail SMTP (for example,
orders@yourdomain.com).3
Set the From name
Set From name to your store or brand name. This appears in the recipient’s inbox.
4
Save changes
Click Save changes at the bottom of the page.
Test order emails
Create a test product and place a test order, or use a sandbox payment gateway. Check that the order confirmation email arrives at the customer address and shows the correct sender name and address. You can also view recent sends and check for errors in the WP Mail SMTP logs, if logging is enabled.Troubleshooting
Order emails not arriving
Order emails not arriving
First confirm the WP Mail SMTP test email succeeds. Then verify that WooCommerce email types are enabled under WooCommerce → Settings → Emails. Make sure the order status changes (for example, from Pending to Processing) because some emails trigger only on status transitions.
Emails go to spam
Emails go to spam
Verify SPF, DKIM, and DMARC are configured for your sending domain. See SPF, DKIM, DMARC, and BIMI explained.
Test email works but WooCommerce emails do not
Test email works but WooCommerce emails do not
Some WooCommerce email customizer plugins or SMTP plugins conflict with WP Mail SMTP. Disable other email-related plugins temporarily to find the conflict.
.png?fit=max&auto=format&n=-Uw4rR8wfyv_xkzc&q=85&s=898bb0b43b6c9dce61441f46ac9ac860)