2mail — SMTP relay from Belgian infrastructure

SMTP for Magento — transactional email that arrives

Magento usually runs on its own server or a rented environment, and sends directly from there. Such a server rarely has an established mail reputation, which is why order confirmations, invoices and shipping notifications are regularly flagged as suspicious.

Magento can route its outgoing mail through an external SMTP server. That moves delivery to infrastructure built for it, without you having to change anything about your shop.

Why it goes wrong without a relay

Magento shops send relatively little but highly valuable email: every order confirmation belongs to a payment that already happened. It is precisely at low volume that an own server never builds enough reputation to deliver reliably — too little traffic to become trusted, too much to be ignored.

Setting up SMTP in Magento

1

Collect your details

Log in to your 2mail account and retrieve your SMTP server, username and password there.

2

Fill them in inside Magento

Magento has a setting for the outgoing mail transport, where you pick SMTP instead of the local mail function. Some installations use a module for this. Which one you choose makes no difference to the settings: every variant asks for the same five details.

3

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.

4

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 Magento 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.
PortThe port that matches your chosen encryption; your account shows which one.
EncryptionTLS. Never send unencrypted — your credentials would otherwise travel in plain text.
UsernameThe SMTP login of your 2mail account.
PasswordThe matching password. Never use the password of an employee's mailbox.

Which emails Magento 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.

Order confirmations and invoices
Shipping notifications and track and trace
Password resets and account activation
Credit notes and refunds
Stock alerts and administrator notifications

Pitfalls with Magento

Several store views, one sender

Magento allows a sender address per store view. Make sure each of them sits on a domain whose authentication is in place — otherwise an untrusted address leaks out per language or per brand.

The queue that is not running

Magento can place outgoing mail in a queue processed by a scheduled task. If that task is not running, this is not a delivery problem but a processing problem — check that first.

Stock alerts count too

Administrator notifications leave from the same domain as your customer mail. A flood of internal alerts therefore weighs on your reputation.

SPF, DKIM & DMARC explained About deliverability

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.

Frequently asked questions about SMTP for Magento

Magento usually runs on its own server, which rarely has an established mail reputation. It is precisely at low volume that such a server never builds enough reputation to deliver reliably: too little traffic to become trusted, too much to be ignored.
Magento has a setting for the outgoing mail transport where you pick SMTP instead of the local mail function. Some installations use a module for this; which one you choose makes no difference to the settings, since every variant asks for the same five details.
The connection does, but Magento allows a sender address per store view. Make sure each of them sits on a domain whose authentication is in place, otherwise an untrusted address leaks out per language or per brand.
Check the queue first. Magento can place outgoing mail in a queue processed by a scheduled task; if that task is not running, this is not a delivery problem but a processing problem.
Yes. Stock alerts and administrator notifications leave from the same domain as your customer mail, so a flood of internal messages weighs in.
Trust Guard Security Scanned
Call us
Send an email