SMTP Errors
When the server rejects a command, your application or plugin receives a reply with a three-digit code, an extended code and a text, for example 535 5.7.8 Error: authentication failed. The first digit tells you what to do:
4xx, temporary. The message wasn't accepted, but it can be if you send it again later.5xx, permanent. Sending the same message again fails until you fix the cause.
Most SMTP libraries return both as an error, and your application decides whether to retry.
Quick reference
| Reply | Meaning | See |
|---|---|---|
535 5.7.8 | Wrong username or password | Authentication failed |
554 5.7.1 … Data command rejected | Mailiqo rejected the send: sender, domain, account… | Send rejected |
554 5.7.1 … Client host rejected: Access denied | The client didn't authenticate | Send rejected |
530 5.7.0 Must issue a STARTTLS command first | Port 587 without STARTTLS | TLS errors |
| Timeout or connection refused | Wrong host or port, or a blocked port | Ports and connection |
451 4.7.1 | Hourly or daily sending limit reached | Sending limit reached |
450 4.7.1 … internal error, please retry | Temporary failure on our side | Other replies |
452 4.5.3 Error: too many recipients | More than 50 recipients in one message | Other replies |
552 5.3.4 Message size exceeds fixed limit | Message too large | Other replies |
Authentication failed
535 5.7.8 Error: authentication failedThe username or password isn't valid.
- Copy them again from Email → Domains, selecting the domain. SMTP credentials are different from the API key.
- Check for spaces at the beginning or end when you paste them.
- The password is shown only once. If you don't have it, use Regenerate SMTP credentials: the previous ones stop working immediately, so update every application that uses them.
- If it worked before and stopped, check whether someone regenerated the credentials.
Send rejected
Data command rejected
554 5.7.1 <DATA>: Data command rejected: domain not verifiedMailiqo checks every send before accepting it. The text after Data command rejected: gives the reason:
| Reason | What it means | What to do |
|---|---|---|
sender domain not allowed | The sender's domain isn't one of your account's domains. It must match exactly: a subdomain isn't covered by its parent domain | Send from an address on a domain in Email → Domains, or add the domain you use |
domain not verified | The domain is added, but its DNS records aren't verified | Finish the DNS setup and click Refresh status |
sender not allowed | The domain only accepts certain addresses (Allowed senders) and this one isn't among them | Send from an allowed address, or update the list in the domain |
ip not allowed | The domain only accepts certain IP addresses (Allowed IPs) | Send from an allowed IP, or update the list |
ip blocked | The sending IP is in the domain's Blocked IPs | Send from another IP, or update the list |
account not active | Your account or subscription isn't active | Check Settings → Plan and usage |
message too large | The message exceeds the maximum size of your account | Reduce or remove attachments |
rate exceeded | Too many messages in the same minute | Wait a minute and send again |
message exceeds send limit | The message has more recipients than your hourly or daily sending limit, so it would never fit | Split it into messages with fewer recipients |
no credits | Your sending quota is used up | Check Settings → Plan and usage, where you can also enable additional emails |
unknown client (username not found) | The username doesn't belong to any account | Copy the credentials again from Email → Domains |
missing smtp auth | The client didn't authenticate | Turn on authentication |
missing user profile | Your account's data couldn't be loaded | Try again later; if it persists, contact support |
Messages whose content is classified as spam can also be rejected with a 5xx reply and a different text.
Access denied or Relay access denied
554 5.7.1 <unknown[203.0.113.10]>: Client host rejected: Access deniedMailiqo only accepts messages from clients that authenticate. This reply means the client tried to send without logging in:
- Turn authentication (SMTP AUTH) on in your application or plugin, with the domain's username and password.
- On port 587, authentication only works after STARTTLS: check the encryption.
The classic 554 5.7.1 Relay access denied comes from other servers. If you see it, your application is probably connecting to another SMTP server (your hosting's, for example), not to smtpmq.mailiqo.com.
TLS errors
The encryption must match the port:
| Port | Encryption | Your application may call it |
|---|---|---|
587 | STARTTLS | TLS, STARTTLS |
465 | Implicit TLS | SSL, SSL/TLS, SMTPS |
Typical symptoms:
530 5.7.0 Must issue a STARTTLS command first: you're connecting to 587 without encryption. Choose TLS or STARTTLS.- The connection hangs or fails right after connecting (
wrong version numberor handshake errors): usually SSL on 587 or STARTTLS on 465. Use the right pair. - Certificate error: the certificate is issued for
smtpmq.mailiqo.com. Use exactly that host name, not an IP address or another name that points to it.
Don't turn off certificate verification to get around an error. If the host name is right and it still fails, the system's root certificates or TLS library are probably outdated: update them.
Ports and connection
| Port | Available | Use |
|---|---|---|
587 | Yes | Recommended, with STARTTLS |
465 | Yes | Implicit TLS (SSL) |
25 | No | — |
2525 | No | — |
What the connection error tells you:
- Connection refused: nothing answers on that host and port. Check the host (
smtpmq.mailiqo.com) and that the port is 587 or 465. - Timeout: a firewall is dropping the connection. Many hosting providers and cloud servers block outgoing SMTP ports. Try the other port (465 if 587 fails, or the other way round) or ask your provider to open it.
To test it from the server where your application runs:
openssl s_client -starttls smtp -connect smtpmq.mailiqo.com:587 -servername smtpmq.mailiqo.com
openssl s_client -connect smtpmq.mailiqo.com:465 -servername smtpmq.mailiqo.comOn Windows, with PowerShell:
Test-NetConnection smtpmq.mailiqo.com -Port 587If openssl shows the server's certificate, the port is reachable and TLS works. If it hangs, the port is blocked on your side. If your provider blocks both ports, send with the API, which uses HTTPS (port 443).
Sending limit reached
451 4.7.1 … Email deferred because the hourly sending limit of N emails was reached. Please retry later.Your account has reached its hourly or daily sending limit (the text says which). It's a temporary reply: the message wasn't accepted, and you can send it again later. New accounts start with lower limits that rise automatically as they send without problems. See Sending limits.
If you need to send in bulk from day one, contact support to have your limits adjusted.
Other replies
| Reply | What it means | What to do |
|---|---|---|
450 4.7.1 … internal error, please retry | Mailiqo couldn't check the send at that moment | Temporary: send it again in a few minutes |
452 4.5.3 Error: too many recipients | More than 50 recipients in one message | Split the send into messages of 50 recipients or fewer |
552 5.3.4 Message size exceeds fixed limit | The message exceeds 50 MiB | Reduce the attachments or link to them |
Where to see what happened
- Your application's or plugin's log shows the server's full reply.
- In the client panel, Email → Logs shows your sends. Filter by the SMTP channel to see the rejected ones with their reason.
- If you can't find the cause, open a ticket from Support in the client panel, with the full reply and the time of the send.
Checklist
- Host
smtpmq.mailiqo.com, port 587 with TLS (or 465 with SSL). - Authentication turned on, with the domain's SMTP credentials.
- Sender on a verified domain of your account, matching it exactly.
- Domain verified in Email → Domains.
See also
- Connection settings → /smtp/connection-settings
- WordPress → /guides/wordpress
- Code examples → /guides/code-examples
