• Resolved lamayas

    (@lamayas)


    Hi there, happy holidays!

    I recently started having issues with Woocommerce notifications and narrowed the issue down to Wordfence after troubleshooting. I installed WP Mail Logging and noticed that order emails are not being registered on the log when Wordfence is activated. I can see the orders in the dashboard but don’t receive or send any emails.

    I sent a test email from Wordfence > Tools > Diagnostics to a personal gmail account and did not get it. Emails for password reset and Wordfence alerts are not sending either but I do see them on the mail log and I also receive messages from contact forms without problems.

    Until now I was not using SMTP and the emails were working. I set up WP Mail SMTP to see if that would solve the issue but it didn’t. I can only see the Woocommerce emails on the mail log if I deactivate Wordfence.

    WordPress, themes and plugins are all up to date. What can I do about this? Thanks in advance!

Viewing 1 replies (of 1 total)
  • Plugin Support WFAdam

    (@wfadam)

    Hello @lamayas and thanks for reaching out to us!

    If emails are not sending, it might be something to do with your WP Mail. Wordfence just uses your WP Mail or SMTP to send out emails. You can try to disable Wordfence and then do a password reset test to confirm this.

    Once you get the mail issue resolved, to correct the compatibility issue you might also be having with orders being stores properly, we can try Learning Mode to resolve that. From the Wordfence Dashboard click on Manage WAF. Then you will see Basic Firewall Options > Web Application Firewall Status. Change the option to Learning Mode. Now perform the actions that were causing issues. This will help Wordfence learn that these actions are normal and it will allow them in the future. After you have finished performing the actions, switch the WAF from Learning Mode back to Enabled and Protecting. Now test to see if these actions work correctly.

    https://www.wordfence.com/help/firewall/learning-mode/ is an amazing resource for learning more about the WAF and learning mode.

    Let me know if this helps!

    Thanks!

Viewing 1 replies (of 1 total)

The topic ‘Wordfence blocking Woocommerce emails’ is closed to new replies.