Mailgun SMTP and IMAP settings
SMTP relay settings for Mailgun, with per-domain SMTP credentials.
Outgoing mail (SMTP)
| SMTP server | smtp.mailgun.org |
|---|---|
| Port | 587 (STARTTLS) or 465 (SSL/TLS) |
| Username | Your domain's SMTP login, e.g. postmaster@mg.yourdomain.com |
| Password | See authentication note below |
Authentication
Each sending domain has its own SMTP credentials, found under Sending, Domain settings, SMTP credentials. EU-region domains use smtp.eu.mailgun.org.
How to set up Mailgun in your email tool
- Open your email client or sending tool and add a new account.
- For outgoing mail, enter the SMTP server smtp.mailgun.org on port 587 (STARTTLS) or 465 (SSL/TLS).
- Set the username to your domain's smtp login, e.g. postmaster@mg.yourdomain.com, and use the password described in the authentication note above.
- Save the account and send a test email to confirm it works.
Connecting is the easy part. Landing in the inbox is not.
Once Mailgun is connected you can send, but whether your cold email reaches the inbox depends on SPF, DKIM, and DMARC authentication, your sender reputation, and proper domain warmup. Scheduler Zero handles warmup and deliverability so your emails actually land.