SMTP relay stuck in WordPress queue: 4 checks to identify the cause
By Sophie Adams Updated 6 min read
Some links on this site are affiliate links: if you buy through them we may earn a commission, at no extra cost to you. We also make Ama Affiliate Pro and Ama Affiliate Ultra and say so wherever we mention them. We recommend a tool only where it fits the job.
On this page (8 sections)
- The short version
- Common reasons SMTP relay emails get stuck in WordPress queues
- How to verify SMTP server settings in WordPress
- How to check IIS SMTP relay queue folder
- Steps to clear and prevent stuck queue in WordPress SMTP relay
- How to stop SMTP relay emails getting stuck again
- SMTP relay stuck in queue WordPress: summary of diagnostic checks
- Questions people still ask
In short: SMTP relay emails get stuck in WordPress queues mainly due to DNS errors, authentication failures, wrong SMTP ports, or plugin conflicts. Checking these four areas usually reveals the cause and offers a quick fix.
Part of our guide on steps to build a lead capture page
Find the exact DNS, authentication, port, or plugin issues causing your WordPress SMTP relay emails to stall.
| Common causes | DNS, Auth, Port, Plugins |
|---|---|
| Typical SMTP ports | 25, 465, 587 |
| DNS check | Use nslookup or dig |
| Auth failure fixes | Update username/password |
The short version
- Check DNS records for your SMTP host first.
- Verify SMTP authentication details in WordPress settings.
- Ensure SMTP port matches your email service requirements.
- Look for plugin conflicts that disrupt email sending.
Common reasons SMTP relay emails get stuck in WordPress queues
SMTP relay emails often get stuck because WordPress cannot communicate properly with your SMTP server. Four common reasons dominate this problem.
DNS problems: If WordPress cannot resolve the SMTP server’s hostname to an IP, emails stall in the queue.
Authentication issues: Wrong username or password block sending. SMTP servers reject unauthorized relays.
Port mismatches: SMTP servers use specific ports (usually 25, 465, or 587). Using the wrong one stops transmission. People in this spot often ask about getting emails into evidence as well.
Plugin conflicts: Other WordPress plugins that manage emails or security may interfere with SMTP sending.
- DNS errors prevent hostname resolution
- Authentication failures block relay
- Incorrect SMTP port disrupts connection
- Conflicting plugins block or delay emails
How to verify SMTP server settings in WordPress
Get the exact SMTP hostname, port, username, and password from your email provider. WordPress plugins require these details.
In your SMTP plugin settings, check the hostname matches the mail server exactly, including subdomains or prefixes. There is more on convertkit signup emails spam in a separate guide.
Confirm the SMTP port matches the server’s recommended port. For example, port 587 usually works with TLS encryption.
Test authentication by re-entering the username and password. Incorrect credentials cause immediate relay failures.
- Open your WordPress SMTP plugin settings.
- Find and verify the SMTP server hostname.
- Check and set the SMTP port to 25, 465, or 587 as recommended.
- Re-enter username and password for your SMTP account.
- Send a test email and watch the queue for clearing.
How to check IIS SMTP relay queue folder
If you use IIS SMTP relay on Windows, stuck mails appear in the SMTP queue folder usually located at C:\inetpub\mailroot\Queue. People in this spot often ask about signup emails landing in spam as well.
Open this folder to see pending messages and their timestamps. Long-standing files indicate a sending problem.
Check the IIS SMTP service status to ensure it is running. Stopped services cause all messages to queue indefinitely.
Clearing the queue folder manually deletes unsent emails. Do this only after backups or if messages are irretrievable. The other half of this decision is troubleshooting pdf email delivery.
- Open File Explorer and navigate to
C:\inetpub\mailroot\Queue. - Review queued emails by file date and size for stuck messages.
- Open IIS Manager, check the SMTP Virtual Server status.
- Restart the SMTP service to attempt clearing the queue.
- If needed, back up then delete queued message files to reset.
Steps to clear and prevent stuck queue in WordPress SMTP relay
You can quickly test fixes for stuck SMTP relay queues in WordPress with these steps.
First, clear the queue by manually deleting stuck emails from the SMTP queue folder or plugin interface.
Second, switch between SMTP ports (try 587 if 25 fails or vice versa) to find one that connects properly. There is more on settings for planner pdf export in a separate guide.
Third, disable other email or security plugins temporarily to isolate conflicts and retest sending.
- Clear the SMTP queue of stuck emails.
- Test alternate SMTP ports: 25, 465, and 587.
- Temporarily deactivate other plugins that handle emails or security.
- Send test emails after each change to verify the fix.
- Reactivate plugins one by one to spot conflicts.
How to stop SMTP relay emails getting stuck again
Keep your SMTP credentials updated when changing email passwords or providers.
Regularly verify DNS records (SPF, DKIM, MX) for your domain to prevent relay refusals.
Schedule routine checks of your SMTP plugin settings after WordPress updates or plugin installs.
Avoid installing multiple plugins that handle email sending to minimize conflicts.
Consider switching to a reputable third-party SMTP service with diagnostic tools if problems persist.
- Update SMTP credentials promptly
- Maintain correct DNS email records
- Avoid overlapping email plugins
- Use third-party SMTP services for reliability
SMTP relay stuck in queue WordPress: summary of diagnostic checks
To diagnose SMTP relay stuck in WordPress queue, first check DNS resolution of your SMTP server hostname.
Then verify authentication credentials in your SMTP plugin settings are correct and current.
Next, confirm the SMTP port is the one expected by your email provider: usually 25, 465, or 587.
Rule out plugin conflicts by temporarily disabling other plugins that affect email.
These four checks pinpoint almost all causes of emails stuck in the queue, letting you fix the problem quickly.
| Check | How to verify | Fix if failed |
|---|---|---|
| DNS resolution | Use nslookup or dig on SMTP hostname | Correct DNS or use IP address |
| SMTP authentication | Re-enter username/password in plugin | Update credentials |
| SMTP port | Confirm port matches provider docs | Switch to recommended port |
| Plugin conflicts | Deactivate other email/security plugins | Remove conflict plugins |
Questions people still ask
What is the easiest way to test if SMTP authentication is failing?
Send a test email from your SMTP plugin. Authentication failure usually returns an error immediately. If no error shows but email stays queued, check other causes.
Can DNS issues cause SMTP relay to stall in WordPress?
Yes, if WordPress cannot resolve your SMTP server's hostname, emails won't send and remain queued until DNS is fixed.
How do plugin conflicts affect SMTP email sending?
Multiple email or security plugins can interfere with SMTP functions, causing delays or blocking emails entirely.
Is it safe to delete stuck emails from the SMTP queue folder?
Deleting queued emails removes them permanently. Do this only after backing up or if messages are unwanted duplicates.
What SMTP port should I use for WordPress email relay?
Most providers use port 587 with TLS. If that fails, try 465 for SSL or 25 without encryption, based on your provider's documentation.