Integration guide · WordPress

WordPress SMTP: website emails that arrive

Contact forms, WooCommerce orders and password resets: connect WordPress to SMTP Senpai with an SMTP plugin and four details, no code needed.

  • 14-day free trial
  • Servers and data in the EU
  • A log of every delivery
4.7/5 · 83 reviewsGoogleCapterraTrustpilot
WP Mail SMTP (wp-config.php) · or the same details in the plugin
define( 'WPMS_ON', true );
define( 'WPMS_MAILER', 'smtp' );
define( 'WPMS_SMTP_HOST', 'relay.mailsenpai.com' );
define( 'WPMS_SMTP_PORT', 2525 );
define( 'WPMS_SSL', 'tls' );            // STARTTLS
define( 'WPMS_SMTP_AUTH', true );
define( 'WPMS_SMTP_USER', 'your-username' );
define( 'WPMS_SMTP_PASS', 'your-password' );
define( 'WPMS_MAIL_FROM', '[email protected]' );
define( 'WPMS_MAIL_FROM_FORCE', true );
the 4 details

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.

Serverrelay.mailsenpai.com
Port2525
SecuritySTARTTLS
Username and passwordin the customer area, SMTP Senpai page

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.

how to

Three steps

1

Install an SMTP plugin

WP Mail SMTP, FluentSMTP or Post SMTP: in each one choose «Other SMTP».

2

Enter the 4 details

Server, port 2525, TLS encryption (STARTTLS), authentication with the username and password from the customer area.

3

Send a test

Use the plugin’s test email: the SMTP Senpai log shows right away whether it was delivered.

Frequently asked questions

Does it work with WooCommerce?

Yes: WooCommerce uses WordPress’s mail function, so order confirmations and invoices go through the SMTP plugin.

Which sender should I use?

An address on your domain verified in SMTP Senpai, such as [email protected]. Force it in the plugin so no other plugin changes it.

Do contact form emails go through it?

Yes, Contact Form 7, WPForms, Gravity Forms and Elementor use WordPress’s mail function.

Can I use port 587?

SMTP Senpai listens on port 2525 with STARTTLS: it stays open even on hosts that block the classic ports.

Try SMTP Senpai with your own software

A 14-day trial: connect your software, send your real emails and check the log line by line. Then decide.

14 days freeFree trial