WordPress email: API or SMTP setup and troubleshooting
Contact forms, WooCommerce notifications and password resets: connect the official SMTP Senpai plugin with an API key over HTTPS or with SMTP, then verify a real received email.
- Free plan, no card and no expiry
- Servers and data in the EU
- A log of every delivery
Mode: API key API key: [key from your customer area] From email: [email protected] From name: Demo website Save, then open Test & domain check. Use a verified sender domain. Never share the key in screenshots.
Four details, and your emails go out
They are the same for every program: you also find them, already filled in, in your customer area.
The sender must be on a domain verified in your area: otherwise the server refuses to send. For SPF, DKIM and DMARC records, use the free email DNS checker. After the first send, the free email spam test gives it a score from 0 to 10.
Three steps
Install the official plugin
In Plugins > Add New, search for SMTP Senpai by MailSenpai. Install and activate it. Use one mail transport plugin at a time; two plugins configuring wp_mail() can conflict.
Choose API key or SMTP
Open SMTP Senpai > Settings. API key mode uses HTTPS and is the first option to try when outgoing SMTP ports are blocked. Copy your key from the customer area, set an address on a verified sender domain and save. For SMTP mode, use the relay host, port, encryption and credentials shown below.
Verify a received message
Use Test & domain check and inspect the result and email log. Then open the received message, check its authentication headers and test the actual password reset, form or order notification you need. Acceptance by the relay is not proof of inbox placement.
The official plugin is available on WordPress.org. SMTP Senpai for WordPress connects your site with an API key or SMTP, with a test email, sender domain check and email log. Install it from the WordPress plugin directory; the source code is also on GitLab.
WordPress or WooCommerce emails not sending?
Run these checks on a staging site first. Use a mailbox you control and demo orders; never put customer data, passwords or API keys in screenshots.
No email appears in the log
Trigger one password reset or form notification. If nothing reaches the mail log, confirm the originating plugin has email enabled and is calling wp_mail(). Some plugins use a separate sending service and need their own configuration.
WooCommerce order notification missing
In WooCommerce > Settings > Emails, check that the notification is enabled, the recipient is correct and the order reached the status that triggers that email. Use a test order on staging. SMTP Senpai transports messages that WordPress actually generates; it does not generate invoices or change order triggers.
Timeout, invalid key or sender rejected
For an SMTP timeout, try API key mode over HTTPS. For an authentication error, recopy the key without whitespace and verify account activation. For sender errors, use an address on a domain verified in your account. Do not publish credentials in a support request.
Accepted, but not in the inbox
Check spam, recipient spelling and delivery events. A true result from wp_mail() means the method processed the request without reporting an error. It does not establish receipt, inbox placement or reading. Match the result to the service log and the message actually received. Check SPF, DKIM and DMARC on the received message and test the content separately.
The form uses the visitor as the sender
Keep From on your verified sending domain. Put the visitor's address in Reply-To using the form's supported field. Contact Form 7 separates From from additional headers: do not replace your authenticated sender with the visitor's Gmail address.
The test works, but the actual notification does not
Match the application event, recipient and timestamp between WordPress and the SMTP Senpai log. Check remaining volume and plan limits. One successful test does not validate every form, attachment or future notification. Keep the error code and text, with credentials and personal data removed.
Useful next checks: email DNS checker, spam test and API documentation. See also WooCommerce's email troubleshooting guide and the WordPress wp_mail() reference.
The plugin is free. The permanent SMTP Senpai free plan includes 5,000 emails per calendar month, up to 200 per day and 30 in the preceding hour, one verified sender domain and 7-day service logs. No card or expiry. The plugin's local log has a separate 7, 14 or 30-day setting.
Used the plugin on a real site? Share an honest review on WordPress.org, including anything that needs improvement. For help, use the support forum. Example addresses on this page are placeholders.
MailPoet and FluentCRM: separate transactional mail from campaigns
SMTP Senpai is for transactional email only: password resets, requested notifications and messages tied to a website action. Do not use it for newsletters, cold email or promotional campaigns, even when a plugin technically allows a custom SMTP server.
MailPoet and FluentCRM can handle different workflows. Before connecting them, identify the message being generated and its sending route; do not send all their email through a transactional relay indiscriminately. For newsletters and campaigns, consider the MailSenpai platform, a separate service. This guide does not establish a vendor-approved native integration or a runtime test of every workflow.
Targeted review: 10 November 2026. The existing API/SMTP setup and previous updates are preserved. No delivery test was performed for this editorial review.
Frequently asked questions
Does it work with WooCommerce?
Yes, for notifications WooCommerce generates through wp_mail(), with one configured mailer. Check order status and enabled notifications first. The plugin transports the message; it does not generate invoices or guarantee receipt.
Which sender should I use?
Use an address on a domain verified in SMTP Senpai. You can force From in the plugin; configure Reply-To separately for visitor replies. Use a monitored mailbox if you want to receive responses.
Do contact form emails go through it?
They use this plugin when the notification calls wp_mail() and our mailer handles that route. Check each form's settings: a separate sending service may take a different route.
Can I use port 587?
Yes. relay.mailsenpai.com accepts both 2525 and 587, with STARTTLS on both: SMTP mode defaults to 2525 and, if your host blocks it, you can set 587. If the connection times out on both, ask the host about outbound access or choose API key mode over HTTPS.
More integration guides
Laravel
SMTP for Laravel
OpenNode.js
SMTP for Node.js
OpenStrapi
SMTP for Strapi
OpenDjango
SMTP for Django
Openn8n
SMTP for n8n
OpenPrestaShop
SMTP for PrestaShop
OpenJoomla
SMTP for Joomla
OpenDrupal
SMTP for Drupal
OpenOpenCart
SMTP for OpenCart
OpenMagento 2
SMTP for Magento 2
OpenCraft CMS
SMTP for Craft CMS
OpenStatamic
SMTP for Statamic
OpenTYPO3
SMTP for TYPO3
OpenOctober CMS
SMTP for October CMS
OpenTry SMTP Senpai with your own software
Start free: connect your software, send your real emails and check the log line by line. No card and no expiry.