MemberMouse utilizes WordPress' built-in mailing functionality called wp_mail to send emails. When it seems that emails aren't being received by the customer keep in mind that MemberMouse is only initiating the process of sending an email being and has no involvement after that. If customers aren't receiving your emails, it's possible that WordPress mail isn't configured correctly or the email is getting blocked by the customer's spam filter.
Step 1: Verify that an Email was Sent
The first thing you want to do if you think emails being sent by MemberMouse aren't being delivered is to verify that MemberMouse actually attempted to send an email. You can easily check this by looking at the activity log for the member in question and filtering by ‘Email' events only. You can get to the activity log by going to the Member Details area for a particular member and clicking the ‘Activity Log' tab.
If the activity log shows that the emails were sent this means that MemberMouse is functioning correctly and you should proceed to the following steps to determine where the source of the problem is.
Step 2: Configure WordPress Mail to use SMTP (recommended)
By default, WordPress mail attempts to use the default settings on your server for sending emails. Even if this works, it's not going to result in the best deliverability and your emails may end up in your customer's spam folder more often. It's highly recommended that you use a plugin like WP Mail SMTP or Easy WP SMTP to configure WordPress mail to send emails via SMTP using your preferred email service.
Step 3: Advanced Troubleshooting
If you've confirmed from the activity log that MemberMouse is sending out the email, followed the steps to configure WordPress mail to use SMTP and you're not receiving them, it is most likely your server is blocking the emails from being sent. MemberMouse uses wp_mail to send emails. Follow these instructions to ensure that PHP Mail is configured correctly on your server:
- Download this test script.
- Open this file in any text editor application and in the top line that says $to = “[email protected]”, change [email protected] to your email address. If your email address is [email protected] then it would look like $to = “[email protected]”.
- Next, use an FTP client or log into your cPanel to upload the file to the directory where WordPress is installed.
- Now just visit the URL where you uploaded the file to execute the test script. For example, if WordPress is installed at http://mydomain.com then you would just visit the URL http://mydomain.com/email-test.php.
- If you don't receive an email within 2 minutes, check your SPAM folder to confirm it didn't just go to SPAM. If it didn't go to SPAM and you didn't receive an email this means that PHP mail isn't configured correctly on your server and you'll need to contact your hosting provider to get it resolved.
Problems Receiving CC Emails
If you're using CC email addresses in a push notification and you're receiving the email on the main address but not on one or more of the CC addresses. This issue is most likely related to a setting on your server which limits outgoing emails from the same domain as the one it's hosted on. For example, the issue can arise if your domain is http://yourdomain.com and you're attempting to send to CC the email [email protected]. You'll want to work with your hosting provider to remove this limitation.
You can use the following test script to isolate the email sending functionality so that you can easily demonstrate the issue to your hosting provider and now when it's been resolved.
Note: make sure to put this script in your root WordPress directory (i.e. the same directory as your wp-load.php file).