Email sending failures can be caused by incorrect SMTP settings, authentication issues, blacklisted IPs, or script-level problems. This guide walks through systematic troubleshooting.
Step 1: Test with Webmail First
Before troubleshooting your email client, confirm email works at the server level:
- Log in to cPanel > Email > Email Accounts
- Click Check Email next to your account
- Open Roundcube webmail
- Compose and send a test email to a Gmail or Outlook address
- If webmail works, the problem is in your email client settings
Step 2: Verify SMTP Settings
Ensure your email client uses the correct settings:
| Setting | Value | |---|---| | Incoming server (IMAP) | mail.yourdomain.com | | IMAP port | 993 (SSL) | | Outgoing server (SMTP) | mail.yourdomain.com | | SMTP port | 465 (SSL) or 587 (STARTTLS) | | Encryption | SSL/TLS (port 465) or STARTTLS (port 587) | | Authentication | Required — use full email address | | Username | your full email (e.g., info@yourdomain.com) | | Password | Your email account password |
Common Port Issues
- Port 25: Blocked by most ISPs and hosting providers. Do not use it.
- Port 465: Uses implicit SSL. Most reliable option.
- Port 587: Uses STARTTLS. Good alternative if 465 does not work.
- Port 993: IMAP incoming only (not for sending).
Step 3: Check Email Authentication Records
Missing or misconfigured SPF and DKIM records cause emails to be rejected.
Check SPF
In cPanel, go to Email > Email Deliverability. If SPF shows issues, click Repair. Your SPF record should include:
v=spf1 +a +mx +ip4:YOUR_SERVER_IP ~all
Check DKIM
DKIM should also show as valid in Email Deliverability. If not, click Repair to auto-generate the DKIM key.
Step 4: Check the Mail Queue
In cPanel, go to Email > Track Delivery:
- Search for the recipient email address
- Check the delivery status
- Look for error messages like "rejected," "deferred," or "bounced"
- Common errors:
- 550 5.1.1: Recipient address does not exist
- 550 5.7.1: Rejected by recipient's spam filter
- 421 4.7.0: Rate limited — too many emails sent too quickly
Step 5: Check IP Blacklists
Your server IP may be on an email blacklist:
- Visit MXToolbox Blacklist Check
- Enter your server IP or domain
- If listed, follow the delisting instructions for each blacklist
- Contact BearHost support if you need help with delisting
Step 6: Fix WordPress Email Issues
WordPress uses PHP mail() by default, which often gets flagged as spam or fails entirely.
Install WP Mail SMTP
- Install the WP Mail SMTP plugin
- Go to WP Mail SMTP > Settings
- Set the From Email to a real email address on your domain
- Choose Other SMTP as the mailer
- Enter your SMTP settings:
- SMTP Host:
mail.yourdomain.com - Encryption: SSL
- SMTP Port: 465
- Authentication: On
- Username: Your full email address
- Password: Your email password
- SMTP Host:
- Click Save Settings
- Go to WP Mail SMTP > Tools > Email Test to verify
Step 7: Verify Disk Quota
If your email account's storage is full, new emails cannot be sent or received:
- Go to cPanel > Email > Email Accounts
- Check the Disk Usage column
- If full, increase the quota or delete old emails
Quick Diagnostic Checklist
| Check | How | |---|---| | Webmail sending works? | Test via Roundcube | | SMTP settings correct? | Verify server, port, encryption | | SPF/DKIM valid? | cPanel Email Deliverability | | IP blacklisted? | MXToolbox blacklist check | | Disk quota OK? | cPanel Email Accounts | | WordPress configured? | WP Mail SMTP plugin | | Firewall blocking ports? | Test with telnet or online port checker |
If you have checked everything and still cannot send email, contact BearHost support with the specific error message and we will investigate at the server level.