Skip to content

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 ​

ReplyMeaningSee
535 5.7.8Wrong username or passwordAuthentication failed
554 5.7.1 … Data command rejectedMailiqo rejected the send: sender, domain, account…Send rejected
554 5.7.1 … Client host rejected: Access deniedThe client didn't authenticateSend rejected
530 5.7.0 Must issue a STARTTLS command firstPort 587 without STARTTLSTLS errors
Timeout or connection refusedWrong host or port, or a blocked portPorts and connection
451 4.7.1Hourly or daily sending limit reachedSending limit reached
450 4.7.1 … internal error, please retryTemporary failure on our sideOther replies
452 4.5.3 Error: too many recipientsMore than 50 recipients in one messageOther replies
552 5.3.4 Message size exceeds fixed limitMessage too largeOther replies

Authentication failed ​

text
535 5.7.8 Error: authentication failed

The 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 ​

text
554 5.7.1 <DATA>: Data command rejected: domain not verified

Mailiqo checks every send before accepting it. The text after Data command rejected: gives the reason:

ReasonWhat it meansWhat to do
sender domain not allowedThe sender's domain isn't one of your account's domains. It must match exactly: a subdomain isn't covered by its parent domainSend from an address on a domain in Email → Domains, or add the domain you use
domain not verifiedThe domain is added, but its DNS records aren't verifiedFinish the DNS setup and click Refresh status
sender not allowedThe domain only accepts certain addresses (Allowed senders) and this one isn't among themSend from an allowed address, or update the list in the domain
ip not allowedThe domain only accepts certain IP addresses (Allowed IPs)Send from an allowed IP, or update the list
ip blockedThe sending IP is in the domain's Blocked IPsSend from another IP, or update the list
account not activeYour account or subscription isn't activeCheck Settings → Plan and usage
message too largeThe message exceeds the maximum size of your accountReduce or remove attachments
rate exceededToo many messages in the same minuteWait a minute and send again
message exceeds send limitThe message has more recipients than your hourly or daily sending limit, so it would never fitSplit it into messages with fewer recipients
no creditsYour sending quota is used upCheck Settings → Plan and usage, where you can also enable additional emails
unknown client (username not found)The username doesn't belong to any accountCopy the credentials again from Email → Domains
missing smtp authThe client didn't authenticateTurn on authentication
missing user profileYour account's data couldn't be loadedTry 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 ​

text
554 5.7.1 <unknown[203.0.113.10]>: Client host rejected: Access denied

Mailiqo 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:

PortEncryptionYour application may call it
587STARTTLSTLS, STARTTLS
465Implicit TLSSSL, 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 number or 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 ​

PortAvailableUse
587YesRecommended, with STARTTLS
465YesImplicit TLS (SSL)
25No—
2525No—

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:

bash
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.com

On Windows, with PowerShell:

powershell
Test-NetConnection smtpmq.mailiqo.com -Port 587

If 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 ​

text
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 ​

ReplyWhat it meansWhat to do
450 4.7.1 … internal error, please retryMailiqo couldn't check the send at that momentTemporary: send it again in a few minutes
452 4.5.3 Error: too many recipientsMore than 50 recipients in one messageSplit the send into messages of 50 recipients or fewer
552 5.3.4 Message size exceeds fixed limitThe message exceeds 50 MiBReduce 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 ​

Built with VitePress