• Resolved mayada5100

    (@mayada5100)


    Hello,
    I am having a problem with lost password in woocommerce , it doesn’t recognize your smtp setup although the setup is working , i checked the test mail and it works and i also can see it does send emails with the contact form and woocommerce orders , so i am not sure why the lost password doesn’t work , when i used the default wordpress password it told me , the following error:
    The email could not be sent. Possible reason: your host may have disabled the mail() function.
    so is there something that i can do , to force the default lost password for wordpress to use your plugin, it works with everything else not sure why this one doesn’t work?
    Best Regards,
    Mayada

    • This topic was modified 5 years, 4 months ago by mayada5100.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi Mayada,

    This error suggests the mail() function might be disabled, but this is not conclusive because other emails than lost password emails are sent. The error appears if wp_mail() is returning false, your hosting provider should fix it. Or you’re using a filter to filter the lost password message and it’s returning empty, try switching to default WordPress theme if you’ve used this filter in functions.php.

    I hope this helps!

    Thread Starter mayada5100

    (@mayada5100)

    Hi Sanjeev,
    well i am not using anything actually , i mean i didn’t change the code for lost password or add to it , i am using woocommerce and a theme my client bought and its working fine with all emails except the lost password, and shouldn’t the plugin be the one called instead of the mail() function,it feels like the lost password is ignoring the smtp mail completely and not using it , i tried to use the reset password made by default in wordpress instead of the woocommerce because the one in woocommerce show a message that the email was sent but it wasn’t sent , so i tried the wordpress reset password and that was the one showing the error i added previously. so i am not sure what is causing this ?

    Hi Mayada,

    This seems a fairly complex issue. Yes, whenever wp_mail() is called then it will route the email through WP Mail SMTP. We don’t have any known issues with WooCommerce and default WordPress reset password emails. So, there might be some plugin/codes that are filtering the message and returning empty. You will need to find out this, you can follow this tutorial to troubleshoot this issue.

    If you’d be willing to consider a paid license, we’d absolutely be able to troubleshoot this further for you.

    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘problem with lost password’ is closed to new replies.