Advertisement
Skip to content

SMTP relay stuck in WordPress queue: 4 checks to identify the cause

By 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)
  1. The short version
  2. Common reasons SMTP relay emails get stuck in WordPress queues
  3. How to verify SMTP server settings in WordPress
  4. How to check IIS SMTP relay queue folder
  5. Steps to clear and prevent stuck queue in WordPress SMTP relay
  6. How to stop SMTP relay emails getting stuck again
  7. SMTP relay stuck in queue WordPress: summary of diagnostic checks
  8. 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.

At a glance
Common causesDNS, Auth, Port, Plugins
Typical SMTP ports25, 465, 587
DNS checkUse nslookup or dig
Auth failure fixesUpdate 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

email error messages on computer screen
email error messages on computer screen

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.

  1. Open your WordPress SMTP plugin settings.
  2. Find and verify the SMTP server hostname.
  3. Check and set the SMTP port to 25, 465, or 587 as recommended.
  4. Re-enter username and password for your SMTP account.
  5. 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.

  1. Open File Explorer and navigate to C:\inetpub\mailroot\Queue.
  2. Review queued emails by file date and size for stuck messages.
  3. Open IIS Manager, check the SMTP Virtual Server status.
  4. Restart the SMTP service to attempt clearing the queue.
  5. If needed, back up then delete queued message files to reset.

Steps to clear and prevent stuck queue in WordPress SMTP relay

WordPress SMTP plugin settings page
WordPress SMTP plugin settings page

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.

  1. Clear the SMTP queue of stuck emails.
  2. Test alternate SMTP ports: 25, 465, and 587.
  3. Temporarily deactivate other plugins that handle emails or security.
  4. Send test emails after each change to verify the fix.
  5. 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

Windows file explorer open to SMTP queue folder
Windows file explorer open to SMTP queue folder

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.

Diagnostic checks for SMTP relay stuck in WordPress queue
CheckHow to verifyFix if failed
DNS resolutionUse nslookup or dig on SMTP hostnameCorrect DNS or use IP address
SMTP authenticationRe-enter username/password in pluginUpdate credentials
SMTP portConfirm port matches provider docsSwitch to recommended port
Plugin conflictsDeactivate other email/security pluginsRemove 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.

Sophie Adams Editor

Sophie edits My Digital Buy. Guides are written from each product's own sales page, pricing page and documentation, and say what each tool is good for and what it is not. We make Ama Affiliate Pro and Ultra ourselves and say so wherever we mention them.

More in Email Marketing & List Building