Skip to main content
Odoo can send invoices, quotes, and notifications through mySMTP by adding a custom outgoing mail server.

Prerequisites

SMTP settings

Shared IP plans are only available to customers in Denmark.

Add an outgoing mail server

1

Enable developer mode

In Odoo, go to Settings → General Settings. Scroll to the bottom and activate Developer Mode (the tools icon). Menu names can vary slightly by version.
2

Open outgoing mail servers

Go to Settings → Technical → Email → Outgoing Mail Servers.
3

Create a new server

Click New. Fill in the form:
  • Description: mySMTP
  • SMTP Server: your real mySMTP hostname (from your setup email)
  • SMTP Port: 587
  • Connection Security: TLS (STARTTLS)
  • Username: your mySMTP username
  • Password: your mySMTP password
4

Test the connection

Click Test Connection. Odoo will attempt to connect and authenticate. A success message confirms the server is ready.
5

Save

Click Save.

From address filtering

In the same outgoing mail server record, set From Filter to a domain or email address if you want this server to be used only for specific senders. This is useful when you have multiple mail servers and want Odoo to route email intelligently. Leave it empty to use this server as the default for all outgoing mail.
The From address Odoo uses must match an authenticated domain in mySMTP. Mismatched domains can cause delivery failures or spam folder placement.

Odoo 17 and later

Odoo 17 introduced a simplified Use a custom email server option in Settings → General Settings → Discuss. When enabled, you can configure an outgoing mail server without entering developer mode. The fields are the same as above: SMTP server, port, username, and password.
Odoo Online (the hosted SaaS version) may have restrictions on custom email servers and may require using Odoo’s built-in email gateway instead. If the custom server option is unavailable or testing fails, contact your Odoo provider or support@mysmtp.com for guidance.

Troubleshooting

Confirm you are using your real mySMTP hostname, port 587, and TLS. Re-enter your username and password carefully. If Odoo is hosted behind a firewall, make sure outbound port 587 is open.
Verify SPF, DKIM, and DMARC are configured for your sending domain. See DNS settings quick explainer and SPF, DKIM, DMARC, and BIMI explained.
Run the Sender Readiness Checklist and Email Header Analyzer in the mySMTP Deliverability Toolbox.
Developer mode must be active to see the Technical menu. Toggle it in Settings → General Settings. In Odoo 17+, use the simplified Discuss email server settings instead.