Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Help Wordpress not sending email notification if 'not' using local email.
New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

Help Wordpress not sending email notification if 'not' using local email.

pandabbpandabb Member
edited May 2018 in Help

Hello can someone please help, I have already contacted my hosting 3 times but none of them were able to fix the problem.

My Issue is:

I am not receiving notification emails from my WordPress website.
EG: request a new password (no link is sent), new orders (woo commerce) etc.

I have installed a plugin to log emails (wp-mail-log), and it shows that emails are sent but in reality, it's not.

Emails Work , if the recipient is using local email like [email protected], but if the email is not part of the site domain I am not able to receive system generated emails.

For debugging, I also installed a new WordPress on the same domain but on a different directory, the problem is the same.

I also tried adding this to my root domain to test the site phpmailer and it works fine.

<?php > ini_set( display_errors, 1 ); > error_reporting( E_ALL ); > $from = "[email protected]"; > $to = "[email protected]"; > $subject = "PHP Mail Test script"; > $message = "This is a test to check the PHP Mail functionality"; > $headers = "From:" . $from; > mail($to,$subject,$message, $headers); > echo "Test email sent"; > ?>

The company is BLUEHOST, also note that I also have other addon domains using WordPress, and it works fine. Only this particular domain I am having a problem.

Note: The webmail works fine it can send and receive emails, only thing does not work is WordPress system generated emails.

Please help..

What should I do?

Thank you for reading.
pandabb

Comments

  • pandabbpandabb Member

    Hello those are viewing and know the solution please post. Thank you.

  • kkrajkkkrajk Member

    Without going into the issue too much, use the following plugin for your mailing requirements on wp

    https://wordpress.org/plugins/smtp-mail/

    Thanked by 1andrew1995
  • JarryJarry Member

    Maybe time to look into mail-server logs. Or try using different smtp-server if it is allowed on your hosting...

  • Use SMTP MAIL plugin and setup smtp from cPanel.

  • HarambeHarambe Member, Host Rep

    Very strange. If the mail function works then I'm a little lost. I'd give the SMTP plugin a go though, shouldn't be needed.. but yeah, worth a shot.

  • pandabbpandabb Member
    edited May 2018

    Thank you guys!

    I also tried using SMTP plugin and use the same mail servers (Bluehost) SMTP works but it can only send emails to the same domain, if the system generated email is sending to Gmail , Yahoo or any other email other than local email, it's not received.

    If I use SMTP like Sendgrid it works perfectly though. If possible I still want to know or fix this issue and just use default settings. This issue is only isolated, my other domains are working fine sending system emails.

  • @kkrajk said:
    Without going into the issue too much, use the following plugin for your mailing requirements on wp

    https://wordpress.org/plugins/smtp-mail/

    Thanks for this. It works for me.

    Thanked by 1kkrajk
  • HarambeHarambe Member, Host Rep

    pandabb said: If I use SMTP like Sendgrid it works perfectly though. If possible I still want to know or fix this issue and just use default settings. This issue is only isolated, my other domains are working fine sending system emails.

    You got a proper spf record configured? dkim enabled but no record setup on DNS?

  • pandabbpandabb Member
    edited May 2018

    I did not touch those settings, I'm using the default when you add a domain to cpanel.

    But will this help, mydomain.com/webmail works fine, can send/ receive email even those that are not from the same domain, or Gmail yahoo and so on..

    The issue is within WordPress, system generated emails are not received but marked as sent using wp-mail log.


    UPDATE:

    After an hour talking to customer service (my 4th time but with a different approach) finally we got something.


    In the Specialist chat we figured out that the emails were blocked by the outbound filter of Bluehost.

    So He asked me to add the logs and place a ticket.

    Give me 3 minutes to document, please

    *please


    Thanks everyone!

  • I get this problem sometimes as well. Usually it's the host blocking something. I gave up on shared hosting and email to be honest.

    Just use some smptplugin (like the one suggested) and make use of a relay service and save yourself the headache. :)

  • nepsneps Member

    It's probably your host blocking outgoing mail. Some people (like me) would take that as a good sign, +1 for your host. Try opening a ticket.

    Or you could do what many would consider the best option: just use SMTP with a dedicated mail service. Plenty of good free or cheap options out there.

  • FHRFHR Member, Host Rep

    If this doesn't solve the issue, I would look into your SPF policy.

  • I had a similar (or maybe the same) problem in this thread:

    https://www.lowendtalk.com/discussion/31913/google-domains-how-to-send-email-to-and-from-with-same-host#latest

    Not sure if it will help since I haven't had it since Centos 5 but might help

  • pandabbpandabb Member

    Thanks, everyone, problem solved!

Sign In or Register to comment.