forward fails for emails sent from wordpress
I am using cPanel on my GoDaddy economy hosting package. I have setup a forward for my email address which works fine when it receives email from an external sender but for some unknown reason the forwarder fails whenever the email is generated by the local wordpress. What makes it all the more baffling is that this applies no matter how I configure the email within wordpress. I currently have it routed through gmail and it always fails yet the forwarder works fine when I create the email from the gmail interface.
-
WP is probably using SMTP mailer or PHP mailer at a guess. In the fist instance, lets rule out WP. Lets assume that you have a-email@me.com, and this has a redirect to somewhere@other.com Redirects work. ?? Do you have another email account at me.com Can you send an email from another@me.com to a-email@me.com, and does this get redirected 0 -
WordPress uses the wp_mail() function which is based on the PHPMailer class. Are you sure your WordPress settings are configured to send email to you assuming you're an administrator? Here's an easy way to troubleshoot. In a text editor, create a php file and put this in it. [CODE=php]include '/home/cpanelID/public_html/wp-load.php'; wp_mail(['you@youremail.org'>, 'Test from WordPress', 'test');
Edit the include line to point to wherever your WordPress root directory is. Call the file through your browser and see if you get an email. If so, it's your WordPress settings, if not, something's really amiss in your WordPress setup.0 -
@derekseabrooke can you let us know if the suggestions by @keat63 and @jdpuglisi helped you resolve your issue? 0 -
No. I am afraid they were not helpful. 0 -
I think you guys are misunderstanding my problem. The wordpress can send emails and they arrive at the intended inbox. The problem is that the forward function I setup through cPanel fails to forward the email to another address in this case when it works in others. This doesn't make any sense at all! In fact I did try to use a plugin to send via gmail with the same result. It's driving me crazy. 0
Please sign in to leave a comment.
Comments
6 comments