If you’re experiencing issues with emails not being sent in your WpRentals site, follow these steps to troubleshoot and resolve the problem. This guide covers common causes and solutions to ensure that your emails are sent correctly from your website.
Check Subject exists in Email Management
- In your WordPress dashboard, navigate to WpRentals > Theme Options > Email Management.
- Make sure the Subject and Content fields are filled out for the emails you are testing.
- Test with specific actions that trigger emails (e.g., new user registration, password reset, etc.).
Check SPAM Folder
Emails can sometimes be marked as spam, depending on the email provider, the source of the email, and the sending server. To prevent this:
- Email Address:
- The theme sends emails automatically from [email protected].
- Ask your hosting provider to register [email protected] as a valid email address with proper access credentials (username and password).
- Alternatively, change the noreply address to a valid email address you know exists (e.g., [email protected]).
- SPAM Filters:
- This can help reduce the chances of emails being marked as spam. Ensure that the email sent from your website passes through your email provider’s spam filters.
Check Email Settings in WordPress
Test with WordPress Password Reset
- Go to your site’s wp-admin URL.
- Reset your password from WordPress and check the email you receive.
- If no email is received, contact your hosting provider to activate the Mail Server on your hosting account.
- If the email is received, check the email address used as the sender.
- Most hosting providers use an address like [email protected], but it’s best to confirm the exact email address used.
Verify Email Sender from Theme Options matches Email Sender from WordPress password Reset
- Access the Email Settings:
- Go to your WordPress admin dashboard.
- Navigate to WpRentals > Theme Options.
- Under the Email Management tab, click on Email Settings.
- Verify Email Sender:
- Ensure that the “Emails will be sent from email” field is set to a valid email address.
- If using a custom email, make sure it matches the one supported by your hosting service.
- Important: Your email address should match the email address set up in your hosting account to prevent email delivery issues.
Test Email Delivery
Check Reports to Identify the Cause of Emails Not Being Sent
Install the Post SMTP Plugin
- Install the Post SMTP plugin to log email sending activities. The plugin provides detailed reports for each email, showing why an email may not have been sent.
- Install the plugin on your WordPress site.
- After installation, trigger an email action (e.g., a new user registration, password reset).
- Check the plugin’s logs to find any errors or reports indicating the cause of the email delivery issue.
Test with a General Email Address
- Test the Email Delivery Send test emails using a general email address (e.g., Gmail). If you don’t receive the email, the issue could be related to the email server settings.
- Check for MX Record Issues If the test email is not received, the problem may be related to your MX (Mail Exchange) records. Hosting providers can assist you with these settings, which are necessary for your server to send emails.
Verify Email Port Settings for Specific Hosting Providers (e.g., BlueHost) Some hosting providers, like BlueHost, require the outgoing email server port to be set from 465 to 587 for proper email sending.
- You can configure this setting via the Post SMTP plugin.
- Follow the setup wizard in the plugin and enter your hosting’s SMTP details.
- Test the email sending with port 587.
Recommendations for Other Hosting Providers
- HostGator Clients If using a custom email address other than
[email protected]
doesn’t work, try setting the General Settings Email Address to match your domain (e.g.,[email protected]
).- Use the POSTMAN plugin to configure SMTP with login authentication using the same email and password set in General Settings.
- Cloud-Based Hosting Providers or other hostings that do not offer Mail Server. If your hosting does not support mail functionality (many cloud-based hosting providers do not offer this), consider using a third-party service like SendGrid, which offers 100 free emails per day: SendGrid Free Plan.
- For cloud hosting without mail functionality, using SendGrid as an SMTP server can help resolve email delivery issues.
- Follow this guide on how to integrate SendGrid with WordPress for more details.
- Ensure that the sender email set in SendGrid is also added to the Email Settings in your WpRentals theme.
From theme end – the SAME sender email set in SENGRID must be added to Email settings