SMTP for WooCommerce — order emails that arrive
For a web shop, an email that fails to arrive is not an inconvenience but lost revenue. A customer who sees no order confirmation doubts whether the payment went through and calls your customer service — or simply never orders again.
WooCommerce inherits WordPress's mail problem: without a relay, order emails leave through the web server, without authentication and without an established reputation. For transactional mail in particular, that is the wrong foundation, because those messages tolerate no delay.
Why it goes wrong without a relay
Order emails come in bursts: on a busy day, dozens leave in quick succession from the same address. Without an established reputation, that is exactly the pattern that makes filters suspicious — and the confirmation then lands in the spam folder for some of your customers.
Setting up SMTP in WooCommerce
Collect your details
Log in to your 2mail account and retrieve your SMTP server, username and password there.
Fill them in inside WooCommerce
WooCommerce uses WordPress's own mail settings. So you set up the relay once with an SMTP plugin and all order emails follow automatically. In WooCommerce itself, you then only configure the content and the sender address per email type.
Authenticate your domain
Make sure SPF, DKIM and DMARC are set correctly for your domain, so recipients can verify that the mail comes from you.
Test
Send a test message to an address at a major provider and check that it arrives in the inbox and not in the spam folder.
The fields WooCommerce asks for
Every platform names them slightly differently, but it is always the same five. The actual values are tied to your account and can be found in your 2mail account — take them from there, so you are sure to use the right ones.
| Field | What you enter |
|---|---|
| SMTP server (host) | The server name from your 2mail account. |
| Port | The port that matches your chosen encryption; your account shows which one. |
| Encryption | TLS. Never send unencrypted — your credentials would otherwise travel in plain text. |
| Username | The SMTP login of your 2mail account. |
| Password | The matching password. Never use the password of an employee's mailbox. |
Which emails WooCommerce sends
As soon as the relay is set up, all of these run through 2mail — you do not have to configure them one by one.
Pitfalls with WooCommerce
Separate transactional from marketing
Do not route your newsletters over the same path as your order emails. Reputation is assigned per domain and IP: a campaign with many unsubscribes drags your order confirmations down with it.
Use a real sender address
A noreply address that leads nowhere costs trust with customers and filters alike. Use an address that actually gets read.
Check after every major update
After an update of WooCommerce or your payment plugin, place one test order and check that all emails go out. That takes two minutes and prevents a week of silent failure.
A different platform?
SMTP is a standard protocol: any system that speaks SMTP — a CRM, an ERP, a custom application or a server — can send through 2mail using the same five fields.