WordPress email errors are frustrating because the message usually tells you what went wrong, not why or what to do about it. This tool translates common SMTP error codes, bounce strings, and wp_mail_failed output into plain-English causes and fixes.
Email error decoder
Paste the error message from your email test or sending log below. Find out what the error means and what to check next.
What happened
What to check next
All errors this decoder recognises (42)
Each entry shows the text the decoder looks for in an error message. The decoder uses the first entry, in this order, whose text appears in the message. A code does not count when a letter or digit touches it, or when it is part of an IPv4 or IPv6 address.
Microsoft 365 rejected the SMTP login
Matches: 535 5.7.139, 5.7.139 Authentication unsuccessful, 535 5.7.3, SmtpClientAuthentication is disabled
What happened: Microsoft 365 (Exchange Online) refused the SMTP login. Both codes come with "Authentication unsuccessful", and the text after it varies. When the username and password are right, Microsoft's troubleshooting steps point to SMTP AUTH being blocked: turned off for the mailbox, turned off for the whole tenant (security defaults do this), or blocked by a Conditional Access policy for legacy authentication. WordPress itself records only "SMTP Error: Could not authenticate."; the 535 code is in your SMTP plugin's debug log.
What to check next: 1. Check that the username is the full mailbox address and the password is current. 2. Ask the Microsoft 365 admin whether SMTP AUTH is enabled for the tenant and mailbox (the Set-CASMailbox mailbox setting overrides the organization-wide SMTP AUTH setting). With security defaults on, SMTP AUTH is disabled; use OAuth instead of disabling security defaults for one plugin. 3. If SMTP AUTH is on for both tenant and mailbox and the login still fails, look for a Conditional Access policy that blocks legacy authentication. 4. Better: connect your mailer plugin to Microsoft 365 with OAuth, because Microsoft is retiring password SMTP.
Reported remote spam rejection (example)
Matches: 550 5.7.350, 5.7.350, Remote server returned message detected as spam
What happened: Microsoft's list of bounce codes does not include this one. In one bounce posted to Microsoft's Q&A site, Exchange Online said it had tried to deliver the message outside Microsoft 365 and the recipient's server or filter suspected spam; the quoted Gmail reply named a low-reputation sending domain. That is one example, not Microsoft's definition of the code. The text after "->" is the remote server's reason.
What to check next: 1. Read the text after "->" and follow any link in it. 2. Check that SPF, DKIM and DMARC pass for your From domain. 3. If the reason names nothing you control, ask the recipient's email admin to add your domain or address to their allowed senders.
Outlook.com sender authentication failed
Matches: 550 5.7.515, 5.7.515, does not meet the required authentication level
What happened: Outlook.com, Hotmail, Live.com or MSN rejected the message because the domain in the From address does not meet Microsoft's authentication requirements for high-volume senders. Microsoft applies them to senders of 5,000 or more messages to Microsoft consumer services using the same 5322.From domain. It has nothing to do with the SMTP AUTH setting.
What to check next: 1. Read the SPF, DKIM and DMARC results in the headers of a message you sent to an Outlook.com mailbox. 2. Make SPF and DKIM both pass for the From domain: add your sending service to the SPF record and turn on DKIM signing with your own domain. 3. Publish a DMARC record (p=none is enough) and check that SPF or DKIM aligns with the From domain.
Direct Send refused by the tenant
Matches: 550 5.7.68, 5.7.68, Direct Send not allowed for this organization
What happened: The Microsoft 365 tenant has Reject Direct Send on. It refuses mail to its own mailboxes when the envelope sender (Return-Path) is on one of its accepted domains and the message matches no inbound connector. The setting is off by default for existing tenants. Microsoft is rolling it out on by default for new tenants, with no option to turn it off.
What to check next: 1. Send with authentication: connect your mailer plugin to Microsoft 365 with OAuth, or use a sending service whose return path is not on one of the tenant's accepted domains. 2. Or ask the Microsoft 365 admin for a partner inbound connector that matches your server's TLS certificate (recommended) or IP addresses (not if the sending IP is shared with another organization). 3. The admin can check the setting with Get-OrganizationConfig | Format-List RejectDirectSend.
Gmail: message failed DKIM
Matches: didn't pass DKIM authentication, DKIM authentication didn't pass, 4.7.30
What happened: The message did not pass DKIM. 4.7.30 is a temporary rate limit and 5.7.30 is a block. Gmail requires bulk senders to authenticate their email with DKIM. Microsoft documents the same 550 5.7.30 code for a password login once it permanently disables Basic authentication.
What to check next: Turn on DKIM signing for your domain in the service that sends the mail, publish the DNS record it gives you, then send a test message to Gmail and check that its headers show dkim=pass. Google's reply links to its page on setting up DKIM; nanoPost infers the rest of these steps.
Basic-auth SMTP submission refused (Microsoft 365, after disablement), or DKIM failure (Gmail)
Matches: Basic authentication is not supported for Client Submission, 550 5.7.30, 5.7.30
What happened: Microsoft documents this code, with "Basic authentication is not supported for Client Submission", as the response a password login to smtp.office365.com gets once Basic authentication is permanently disabled. From Gmail, the same code comes with "didn't pass DKIM authentication" and means the message failed DKIM.
What to check next: If the text names Basic authentication, switch the mailer plugin to a Microsoft 365 OAuth connection, or send through another service. The guide has the steps per plugin. If it names DKIM, turn on DKIM signing for your domain in the service that sends the mail and publish its DNS record.
Gmail: refused under the domain's DMARC policy
Matches: 5.7.26 Unauthenticated email from
What happened: Gmail refused the message because it did not pass DMARC for the domain the reply names, and that domain publishes a DMARC policy. DMARC passes when SPF or DKIM passes with a domain aligned to the From domain. Under relaxed alignment, the two can share an Organizational Domain; strict alignment requires them to match exactly. A sending service that uses its own domain for SPF and DKIM can pass both and still fail DMARC.
What to check next: 1. Check that the domain named in the reply is one you control. If it belongs to a provider such as Gmail or Yahoo, use a From domain you control and can authenticate, or ask that provider how to send through its service. nanoPost infers this fix; it is not Google's instruction. 2. Turn on DKIM signing with your own domain in your sending service and publish the DNS record it gives you. 3. Send a test to Gmail and look for dmarc=pass in its headers.
Gmail: SPF hard fail on the envelope sender
Matches: SPF record with a hard fail, hard fail policy, 5.7.26 The MAIL FROM domain
What happened: The domain in the SMTP MAIL FROM command (the envelope sender, or Return-Path) has an SPF record that ends in -all, and the IP address in the reply did not pass it. Gmail blocked the message. The MAIL FROM domain can differ from the domain in the From address.
What to check next: 1. Read the domain and the IP address in the reply. 2. If your own server or sending service uses that IP address, add it to the SPF record of that domain, with the include or IP address your provider documents. 3. If the MAIL FROM domain is not one you control, ask the sending service that sets the Return-Path how to use an envelope-sender domain whose SPF record covers its sending IP.
Gmail: neither SPF nor DKIM passed
Matches: sender is unauthenticated, This mail is unauthenticated
What happened: Gmail blocked the message because neither SPF nor DKIM passed. Gmail requires every sender to authenticate with at least one of them, at any volume. The reply shows the DKIM result, and the SPF result with the domain and the IP address Gmail checked. It does not report on DMARC.
What to check next: 1. Turn on DKIM signing for your domain in the service that sends the mail, and publish the DNS record it gives you. 2. Add that service, or your server's IP address, to the SPF record of the domain in the reply. One of the two passing meets this requirement; Google recommends SPF, DKIM and DMARC together. 3. Send a test to Gmail and check its headers for spf=pass or dkim=pass.
Gmail: sender authentication failure (the text decides)
Matches: 550 5.7.26, 5.7.26
What happened: Google lists three replies under this code. "The sender is unauthenticated" means neither SPF nor DKIM passed. "SPF record with a hard fail policy (-all)" means the envelope sender's domain did not pass SPF for the sending IP address. "Not accepted due to domain's DMARC policy" means the message did not pass DMARC for the domain named.
What to check next: Paste the whole reply, with the text after the code, to get the fix for that reply. If you have only the code: 1. Send a test to a Gmail address that accepts your mail and read the SPF, DKIM and DMARC results in its headers. 2. Turn on DKIM signing for your From domain in your sending service. 3. Check that the SPF record of the Return-Path domain covers the service or server.
Gmail: deferred, neither SPF nor DKIM passed
Matches: 421 4.7.26, 421-4.7.26, rate limited because it is unauthenticated
What happened: Gmail rate limited the message because neither SPF nor DKIM passed. Gmail requires every sender to authenticate with at least one of them, at any volume. The reply shows the DKIM result, and the SPF result with the domain and the IP address Gmail checked. The code is temporary.
What to check next: 1. Turn on DKIM signing for your domain in the service that sends the mail, and publish the DNS record it gives you. 2. Add that service, or your server's IP address, to the SPF record of the domain in the reply. One of the two passing meets this requirement; Google recommends SPF, DKIM and DMARC together. 3. Send a test to Gmail and check its headers for spf=pass or dkim=pass. Sending less mail does not make either check pass. Google's reply links to its sender guidelines, which ask for SPF or DKIM; nanoPost infers the rest of these steps.
Gmail: DNS failed while it checked a message under a DMARC policy
Matches: 451 4.7.26, 451-4.7.26, 4.7.26 Unauthenticated email from, temporary DNS failures prevent authentication
What happened: Gmail could not authenticate the message because DNS lookups failed, and the domain the reply names publishes a DMARC policy that does not accept unauthenticated mail. The code is temporary.
What to check next: 1. Check that the nameservers of the domain in the reply answer for its SPF, DKIM and DMARC records, from more than one resolver. nanoPost infers this step; Google says only to contact the domain's administrator. 2. If the records resolve, let the sending server retry. 3. Send a test to Gmail and look for dmarc=pass in its headers.
Gmail: message failed SPF
Matches: 4.7.27, 5.7.27, SPF authentication didn't pass, didn't pass SPF authentication
What happened: SPF did not pass for this message. 4.7.27 is a temporary rate limit and 5.7.27 is a block. Both replies cite Gmail's requirement that bulk senders authenticate their email with SPF, and show the IP address that did not pass.
What to check next: 1. Find the Return-Path domain of the message: SPF is checked on that domain, which can differ from the From domain. 2. If your own server or sending service uses the IP address in the reply, add it to the SPF record of that domain, with the include or IP address your provider documents. 3. Send a test to Gmail and check its headers for spf=pass. Google's reply links to its page on setting up SPF; nanoPost infers the rest of these steps.
Gmail: no DMARC record, or one with no policy
Matches: 4.7.40, 4.7.31, 550 5.7.40, 550-5.7.40, domain doesn't have a DMARC record
What happened: The sending domain has no DMARC record, or its record does not specify a policy. Gmail requires bulk senders to add one. The temporary reply is a rate limit and 550 5.7.40 is a block. Google's two pages disagree on the temporary code: its error list gives 4.7.40 and its sender guidelines FAQ gives 4.7.31, with the same text.
What to check next: 1. Look up the TXT record at _dmarc.yourdomain.com. 2. If there is none, publish a DMARC record that follows your organisation's policy. Google's sender guidelines accept a policy of none (p=none). If there is one, check that it has a p= tag. 3. Google also requires bulk senders to pass SPF and DKIM, with one of them aligned to the From domain, so check both in a test message's headers. Google's reply asks for a DMARC record; nanoPost infers the checks.
Gmail: From domain not aligned with SPF or DKIM
Matches: 4.7.32, 5.7.32, isn't aligned with either the authenticated
What happened: The domain in the From header does not align with the domain that SPF or DKIM authenticated. A sending service that uses its own domain for SPF and DKIM can pass both and still get this reply. The 4.7.32 text says rate limited and the 5.7.32 text says blocked; Google lists both under 421.
What to check next: 1. Turn on DKIM signing with your own domain in your sending service, and publish the DNS record it gives you. Or set up the service's custom Return-Path on a subdomain of your From domain. Either one aligns. 2. Use a From address at that domain in your mailer plugin. 3. Send a test to Gmail and compare the From domain with header.d and smtp.mailfrom in the Authentication-Results header. nanoPost infers these steps; Google's reply links to its page on DMARC alignment.
Sending IP address has no valid reverse DNS (PTR)
Matches: 4.7.23, 5.7.25, have a PTR record, must have a reverse DNS record
What happened: The sending IP address has no PTR record. Gmail gives the same reply when a forward DNS lookup does not lead back to that IP address. Gmail's 4.7.23 is a temporary rate limit and its 5.7.25 is a block. Microsoft lists 5.7.25 for an IPv6 address with no reverse DNS record.
What to check next: The PTR record belongs to whoever controls the IP address. If you send through a service, report the reply to it. If you send from your own server, ask your host to set the PTR record to the server's hostname, and make that hostname resolve to the same IP address.
Gmail: message not sent over TLS
Matches: 4.7.29, 5.7.29, not using a TLS connection, wasn't sent over a TLS connection
What happened: The connection that delivered the message to Gmail did not use TLS. 4.7.29 is a temporary rate limit and 5.7.29 is a block. Both replies cite Gmail's requirement that bulk senders use TLS.
What to check next: The connection in question is the one from your sending server to Gmail, not the one from WordPress to your sending service. If you send through a service, report the reply to it. If you run your own mail server, turn on outbound STARTTLS. Google's reply links to its page on setting up TLS; nanoPost infers the rest of these steps.
Gmail: suspicious entries in the SPF record
Matches: 4.7.24, 5.7.24, one or more suspicious entries
What happened: Gmail says the sending domain's SPF record has one or more suspicious entries. It does not say which ones. The 4.7.24 reply adds that mail from the IP address is temporarily rate limited.
What to check next: Read the domain's SPF record, with each include in it, and remove any mechanism you cannot tie to a service you use. Look for +all, very wide IP ranges, and includes left from services you no longer use. nanoPost infers these checks; Google's reply does not list them.
Gmail asks for a web browser login
Matches: log in through your web browser, log in with your web browser, log in via your web browser, 534 5.7.14, 534-5.7.14
What happened: Gmail's SMTP server refused the login and asked for a login through a web browser first. Google lists this reply under 534 5.7.14 and 534 5.7.90 and does not say what triggers it. 534 5.7.90 also comes with "Application-specific password required", which has a different fix, so read the text.
What to check next: Google does not give a fix for a particular cause. nanoPost infers these steps: sign in to the account in a browser, follow any prompt shown there, and retry. If the error continues, check Google's account sign-in guidance or use Sign in with Google if your mailer offers it.
Gmail rejected the SMTP login
Matches: Username and Password not accepted, BadCredentials, 534-5.7.9, 534 5.7.9, 534-5.7.90, 534 5.7.90, Application-specific password required
What happened: Gmail's SMTP server did not accept the login. Google's list gives 535 5.7.80 "Username and Password not accepted" and 534 5.7.90 "Application-specific password required". The second says Google wants an App Password. The first does not name a cause; one Google documents is that changing the Google Account password revokes every App Password. Google also uses 534 5.7.90 to ask for a web browser login.
What to check next: 1. Confirm 2-Step Verification is on for the account; App Passwords exist only with it. 2. Create a new App Password at myaccount.google.com/apppasswords and paste it into your SMTP plugin. 3. Check that the username is the full Google Account address used for SMTP. nanoPost infers this step; Google's reply does not give it. 4. If the account has no App Password option, Google lists security-key-only 2-Step Verification, work or school accounts, and Advanced Protection as possible reasons. Google recommends Sign in with Google when an app supports it, so check whether your mailer plugin offers it.
Gmail refused the sign-in for now
Matches: Too many sign-in attempts, Cannot sign in due to a temporary
What happened: Google lists two replies under 454 4.7.0: "Too many sign-in attempts, try again later" and "Cannot sign in due to a temporary system problem". Neither says the username or password is wrong. Google's SMTP relay help says the server had a temporary sign-in problem or restricted repeated sign-in attempts on the connection.
What to check next: 1. For its SMTP relay service, Google says to send several messages over one signed-in connection, to queue a refused message and retry with a longer pause each time, and to check the TLS, IP allowlist and SMTP AUTH settings. 2. On a WordPress site, stop sending tests, wait, then send one. If the text says too many attempts, send fewer messages at once: WordPress opens and closes an SMTP connection for each message by default. nanoPost infers step 2; Google's page does not cover WordPress.
Temporary login or TLS failure (the text decides)
Matches: 454 4.7.0, 454-4.7.0, Temporary authentication failure, TLS not available due to
What happened: The server could not complete the login, or it could not start encryption; either failure is temporary. With "Temporary authentication failure", the login failed because of a temporary server failure, and RFC 4954 section 6 says not to ask for another password. With "TLS not available", the server could not start encryption: RFC 3207 uses 454 for that, and Postfix sends it as 454 4.7.0.
What to check next: 1. Wait and send again before you change any setting. 2. If it continues, send the full reply to whoever runs the SMTP server you connect to: your host, relay or mailbox provider. nanoPost infers these steps; the RFCs do not prescribe them.
Recipient address does not exist
Matches: 550 5.1.1, 5.1.1, 5.1.10, User unknown, No such user, address does not exist
What happened: The destination mail server has no mailbox for this address. Either the address was mistyped, the account was deleted, or the domain's MX record points nowhere.
What to check next: Verify the recipient email address is correct. For WordPress notification emails, check the admin email address under Settings → General. If this is a recurring bounce on a list, remove the address.
Google's SMTP relay did not accept this sender
Matches: Invalid credentials for relay
What happened: Google Workspace's SMTP relay service refused the message. Despite the word "credentials", Google's text is about the IP address and the domain: 550 5.7.1 says the registered IP address doesn't match the domain of the account the email is sent from, and 550 5.7.0 says the email comes from a domain or IP address that isn't registered in the Workspace account.
What to check next: 1. Ask the Workspace administrator to check that the IP address WordPress sends from is registered in the SMTP relay service setting. 2. Check that the envelope sender (MAIL FROM) uses a domain registered in the same Workspace account. 3. For a domain that isn't registered there, or an empty envelope sender, Google says to use SMTP AUTH to identify the sending domain, or to present one of your own domains in HELO or EHLO.
SPF check failed
Matches: SPF check failed, SPF MAIL FROM check failed, SPF validation failed, Sender Policy Framework violation, 5.7.23, does not designate
What happened: The receiving server ran an SPF check, and the sending IP address is not authorized for the domain it checked. That is usually the envelope sender's domain (MAIL FROM). It can also be the HELO name, which SPF uses when the envelope sender is empty. RFC 7208 recommends 550 5.7.1 for this rejection, and RFC 7372 added 5.7.23 for it. One possible cause on a WordPress site, inferred by nanoPost, is that the sending service is not authorized by the SPF policy for the domain the server checked.
What to check next: Identify the domain the server checked and compare that domain's SPF record with the sending IP address. If the record leaves out your sending service, add the service's include. Most providers publish a canonical include (e.g. include:amazonses.com, include:smtp.postmarkapp.com). If the domain the server checked belongs to your sending service, ask the service. Keep the record within SPF's limit of 10 DNS lookups.
Message refused (the text decides)
Matches: 5.7.1
What happened: 5.7.1 is the standard enhanced code for "delivery not authorized, message refused" (RFC 3463), and servers use it for unrelated refusals. Google lists 550 5.7.1 for a policy of the sending or receiving domain, relay settings, mail it judges likely unsolicited, low reputation, IPv6 sending, an IP address that may not send to Google directly, faulty headers, and rate or relay limits; none of those replies names an SPF record. Microsoft lists three meanings: delivery not authorized, unable to relay, and client was not authenticated. RFC 7208 also recommends 550 5.7.1 for a failed SPF check.
What to check next: 1. Read the text after the code. 2. If it names a policy or says delivery is not authorized, ask the administrator of the sending or receiving domain which rule applied. 3. If it names relaying, check the relay configuration and which sending IP, domain, or connector is authorized. If it says the client was not authenticated, check the SMTP host and the authentication method configured in your mailer plugin. If it says the IP address may not send directly, send through your provider's SMTP relay. 4. If it names spam, unsolicited mail or reputation, check the message content and ask your sending service about the IP address or domain. 5. If it names a header, such as From or Message-ID, look for the plugin or code that builds the message. 6. If it names a limit, send less or wait. 7. If it names SPF, identify the domain the server checked and review that domain's SPF record against the sending IP address. nanoPost infers these steps from the replies Google and Microsoft list.
SMTP login rejected: invalid credentials
Matches: 535 5.7.8, 535-5.7.8, 5.7.8 Error: authentication failed, 535, Authentication failed, Authentication credentials invalid
What happened: 535 is the SMTP reply for a refused login, and 5.7.8 is the standard enhanced code for "authentication credentials invalid". The server you connect to (your host's mail server, a relay, or a mail provider) refused the username or password your SMTP plugin sent. The wording after the code depends on the server; "Error: authentication failed" is what Postfix-based servers send.
What to check next: 1. Re-enter the SMTP username and password in your mailer plugin; the username is usually the full email address. 2. If you changed the mailbox password recently, update it in the plugin too. 3. If the provider uses app passwords or API keys for SMTP, use one of those, not the account password. 4. Check that the host, port and encryption match the provider's documented settings, since some servers reject logins on the wrong port.
SMTP login step failed
Matches: Could not authenticate
What happened: WordPress's mailer reached an SMTP server but the login step failed: the server refused the username and password, asked for an App Password, or offered no login at all. This line never includes the server's reply; the reply code (often 535 5.7.8) is only in the SMTP debug transcript or the mail server's log.
What to check next: 1. Turn on your SMTP plugin's debug log (or PHPMailer's SMTPDebug) and send one test to see the server's reply. 2. Check the username and password against the provider's current SMTP instructions and re-enter both. 3. Check whether the mailbox or organisation has SMTP logins switched off, or needs an App Password. 4. If the reply shows no AUTH offered, check the host, port and encryption against the provider's documentation.
TLS certificate not trusted
Matches: SSL: no alternative certificate, certificate verify failed, SSL certificate
What happened: The encryption handshake with the SMTP server started, and your web server refused the mail server's certificate: for example a self-signed certificate, or a host name that is not on the certificate. An expired certificate or a missing issuer certificate can fail the same check.
What to check next: 1. Use the exact SMTP host name your provider documents: the certificate must list the name you connect to, and an IP address or alias may not be on it. 2. Ask your host or mail provider to check the server's certificate and the CA bundle (the list of trusted authorities) your server uses. Do not turn certificate checks off: that removes what stops another machine posing as your mail server and collecting your SMTP password.
Cannot connect to SMTP server
Matches: Could not connect to SMTP host, Connection refused, Connection timed out, SMTP connect() failed, Failed to connect
What happened: WordPress could not open a working connection to the SMTP server. The port refused or dropped the connection, the host name did not resolve, or the encryption setting did not match the port. No login or message was attempted.
What to check next: 1. Check the SMTP host, port and encryption setting against your provider's documentation. Port 587 uses STARTTLS ("tls" in PHPMailer); port 465 uses TLS from the first byte ("ssl"). 2. If the test fails instantly with "Connection refused", the port may be wrong, no service may be listening there, or a firewall may be actively rejecting it. 3. If it hangs for minutes and times out, ask your host whether your server may connect to that SMTP host and port.
WordPress wp_mail() failed
Matches: wp_mail_failed, wp_mail() failed
What happened: WordPress fired the wp_mail_failed action, meaning the mailer layer reported an error. The specific reason is in the error message that follows — look for an SMTP code, 'Could not connect', or 'authentication' in the same log entry.
What to check next: Check your debug log for the full error message. In WP Mail SMTP, enable Email Log under Settings. Paste the specific SMTP error code or message into this tool for a targeted fix.
Temporary refusal (the text decides)
Matches: 421 4.7.0, 421, Try again later, closing connection
What happened: A 421 reply means the service is unavailable and is closing the connection. Gmail uses 421 for several documented cases, including unusual rates or reputation, failed authentication and missing TLS; the text after the code identifies which one. SMTP clients normally retry transient 4yz replies (RFC 5321 §§4.2.1, 4.5.4.1).
What to check next: 1. Read the text after the code. If it names SPF, DKIM, DMARC, a PTR record or TLS, fix that; a lower volume does not fix it. 2. If it names a rate or too many connections, spread the messages over time. Send bulk campaigns through a service meant for them. 3. If it names the reputation of an IP address you share with other senders, ask your sending service. 4. If it says the server is busy or has a temporary problem, wait: the sending server normally tries again. nanoPost infers these steps from the 421 replies Gmail lists.
Too many recipients, or a limit per transaction
Matches: 452 4.5.3, 452-4.5.3, 4.5.3 Too many recipients, 452 Too many recipients, Domain policy size per transaction exceeded
What happened: 4.5.3 means too many recipients for one transaction (RFC 3463), which is one message handed over with its list of recipients. RFC 5321 gives 452 for too many recipients. Limits differ. Google's SMTP relay service documents a limit of 100 recipients per transaction; its documentation does not tie that limit to this reply code. Microsoft 365 returns 4.5.3 when a message has more than 200 recipients at the same domain. Gmail also uses 452 4.5.3 for “Domain policy size per transaction exceeded”, and asks for that recipient in a separate transaction.
What to check next: 1. Send to fewer recipients at a time. On a WordPress site, look for a form notification, alert or newsletter with a long To, Cc or Bcc list and split it into separate messages. 2. If a mail server passes the message on for you, it can try the refused recipients again in another transaction. nanoPost infers the WordPress step.
Recipient's mailbox is full
Matches: 452 4.2.2, 452-4.2.2, inbox is out of storage space, mailbox full, mailbox is full, over quota
What happened: The recipient's mailbox has no room. 4.2.2 is the temporary code for a full mailbox (RFC 3463); Gmail's 452 4.2.2 says the recipient's inbox is out of storage space. A reply that starts with 4 is temporary; one that starts with 5 is a permanent refusal. Gmail's 552 5.2.2 says the inbox is out of storage space and inactive.
What to check next: 1. If the reply starts with 4, the sending server normally tries again. 2. If you manage the mailbox (for example, the address your site's notifications go to), free up space or raise the quota. 3. If you do not, contact the recipient another way.
The mail server is out of storage
Matches: 452 4.3.1, 452-4.3.1, Insufficient system storage
What happened: The mail server is short of storage. 4.3.1 means mail system full (RFC 3463), and RFC 5321's text for 452 is "insufficient system storage". The space is the server's, so the recipient may not be able to free it by deleting mail.
What to check next: 1. Wait: the sending server normally tries again. 2. Check which server sent the reply. If it is a server you run or rent, free disk space there or ask your host; if not, only its administrator can. nanoPost infers these steps.
Temporary refusal: storage or recipients (the text decides)
Matches: 452
What happened: RFC 5321 gives 452 two meanings: the server is short of storage, or the message has too many recipients. Gmail also uses it for a full mailbox. The enhanced code or the text after 452 says which.
What to check next: Read the text after the code and paste the whole reply here. 4.5.3 is too many recipients, 4.3.1 is the server's storage and 4.2.2 is a full mailbox. The refusal is temporary, so the sending server normally tries again.
DKIM verification failure
Matches: DKIM verification failed, DKIM signature, dkim=fail, header.d mismatch
What happened: The receiving server verified your DKIM signature and it failed. Either the DKIM DNS record hasn't propagated yet, the private key in your sender doesn't match the public key in DNS, or something in transit modified the message headers.
What to check next: 1. Check your DKIM public key in DNS matches the key your SMTP provider generated. 2. Wait 24–48 hours after adding the DNS record for propagation. 3. Ensure your sending domain matches the d= tag in the DKIM signature. In WP Mail SMTP, the sending domain is controlled by the From Email address.
PHP mail() refused the message
Matches: Could not instantiate mail function
What happened: WordPress is sending through PHP's built-in mail() function, and the hand-off to the server's local mail program failed: the program at sendmail_path is missing, or it ran and reported failure. If that program relays to another mail server, the refusal may have started there. A host switching mail() off is a different failure on PHP 8: the send stops with a fatal error and this message never appears.
What to check next: 1. Send through SMTP: install a mailer plugin and connect it to an SMTP server, so PHP mail() is never called. 2. If you need mail() itself, check that the program named in sendmail_path exists and read its error output, or ask your host what sendmail_path is set to on your plan.
The From address is not a valid email address
Matches: Invalid address: (From)
What happened: WordPress rejected the From address before sending. By default WordPress sends from wordpress@ plus the site's domain, and it only accepts a domain with a dot in it. A site on a host name such as localhost gets a From address that fails. A plugin or filter that sets the From address from a bad value causes the same error.
What to check next: 1. Set a From address on your own domain in your mailer plugin. 2. If no mailer plugin is installed, set it with the wp_mail_from filter. 3. Check any form or plugin setting that changes the From address.
No valid recipient address
Matches: You must provide at least one recipient
What happened: Every recipient address was dropped before sending. wp_mail() silently drops any To, Cc or Bcc address it cannot parse, so one typo in the only recipient (a missing @, a stray space) leaves the message with nobody to send to. This error is the only sign of the typo.
What to check next: 1. Check the recipient address in the setting or form that sent this email. 2. For a site notification, check Settings > General > Administration Email Address.
SMTP server refused the message
Matches: data not accepted
What happened: The SMTP server accepted the sender and the recipients, then refused the message during the DATA stage. It may reject the DATA command before the message body, or reject the message after the body is sent. Examples include a From address the account may not send as, a message that is too large, or a server content filter rejecting it. When SMTP debugging is enabled and its output is retained, the server's reply appears there; it is not included in this error line.
What to check next: 1. Make the From address match the SMTP account, or a domain verified with your sending service. 2. Turn on your mailer plugin's debug or email log and send again: the server's reply names the reason. 3. If the message has attachments, try once without them.
PHP has no OpenSSL extension
Matches: Extension missing: openssl
What happened: The mailer is set to encrypt the connection (TLS/STARTTLS or SSL), and PHP on your web server has no openssl extension. The mailer stops before it connects, so the host, port and mail server make no difference.
What to check next: Ask your host to enable PHP's openssl extension. Do not switch encryption off to get around it: the send can then go through with your SMTP username and password crossing the network unencrypted, and nothing warns you.
