How to send emails via SMTP with MailerSend
What is SMTP?
SMTP or Simple Mail Transfer Protocol is the standard set of rules by which emails are sent, received and relayed over the internet. Regular email clients (Gmail, Yahoo, Outlook etc) all use SMTP to send your message to a mail server that then uses SMTP to relay that message to the correct recipient server.
How to send emails via SMTP
To send emails using SMTP:
1. Navigate to the Domains page.
2. Find the domain from which you want to send emails via SMTP and click Manage.

3. Scroll down to SMTP.
4. Click Generate new user.

By creating SMTP users, the following information will be automatically generated:
Username
Password

You will be required to enter this information into your content management system either directly or via a plugin. Either way, all systems will require you to enter your Server (SMTP host), Port, Username and Password.
By enabling SMTP, the following information will be automatically generated:
Username
Password
You will be required to enter this information into your content management system either directly or via a plugin. Either way, all systems will require you to enter your Server (SMTP host), Port, Username and Password.
How to troubleshoot SMTP emails not sending
Please note you won't be able to send any emails if:
Your account is unapproved - fill out your approval questionnaire and ask for our Customer Support team to approve your account.
You're sending from a different FROM email address than one of your verified domains - use only verified domains or subdomains on your FROM email address.
You've reached your account's quota - the quota is reset every day, please wait or upgrade your account.
The reply-to email address is invalid - ensure all email addresses are valid.
Additionally, you may be asked to provide the type of encryption. You must always use TLS encryption.
What’s the difference between SMTP and API?
The key difference between SMTP and API is that the SMTP uses multiple back-and-forths between the client and the server to communicate whereas the more feature-rich API receives HTTP requests directly from your app and the email sending is triggered directly from there.
Additionally, without the help of an integration tool such as Zapier, some coding knowledge is required to send emails via API whereas no such knowledge is required to send emails via SMTP.
Now and again SMTP may be the only option available depending on your limitations. For example, perhaps your content management system only uses SMTP and you don't have a developer available to write the code required to switch to sending via API.
To determine which route is best for you, compare the two below.
SMTP Relay | Web API | |
Protocol | SMTP (Simple Mail Transfer Protocol) | HTTPS (HyperText Transfer Protocol) |
Pros | - Simple setup - Requires no coding - Easy to test - Straightforward troubleshooting | - Optimized security - Quick email deliverability - Ideal for bulk sending - Compatible with MailerSend templates |
Cons | - Slower performance when sending in bulk - Emails are not triggered automatically - MailerSend templates can’t be sent via SMTP | - Requires some coding skills |
Ultimately, the choice is yours. If you’re a casual email sender with a simple content management system, SMTP relay may be what works for you; whereas bulk senders and app developers may benefit more from the use of email API.
Need more info?
Feel free to reach out to support@mailersend.com. A member of our support team will gladly assist you.
- Getting started
- FAQ
-
Features
- Sending domains
- Managing API tokens
- Domain tracking options
- How to add a domain space to your account
- SMTP relay
- Webhooks
- How to use variables in emails
- Inbound routing
- Templates
- How to add a survey to your emails
- Email tagging
- File manager
- Email verification
- How to whitelist IPs
- Email and recipient activity
- Analytics
- Split Testing
- How to use the MailerSend iOS app
- Schedule bulk emails with the bulk endpoint
- SMS verification and limits
- SMS: How to handle opt-in and opt-out
- Deliverability
- Account settings
- Billing
- Integrations