• Resolved debcat24

    (@debcat24)


    Hi,
    I have an error in my WP Mail SMTP plugin, wordfence seems to be blocking from sending emails.
    Mailer: Other SMTP SMTP Error: Could not authenticate.
    The source of the issue is pointing to this :
    Wordfence Security
    /var/app/current/wp-content/plugins/wordfence/lib/wordfenceClass.php (line: 7161)

    I have checked the diagnostic results and also checked the error logs however I’m not seeing any logs related with SMTP. Please help.

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

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support Darshana

    (@darshanaw)

    Hi @debcat24,

    Thanks for reaching out! To confirm the issue, could you please deactivate the Wordfence plugin temporarily and try to send a test email?

    When you send a test email from the WP Mail SMTP > Tools area, you should be able to see the full error log (if you’re having any issues). Here’s a screenshot for the option to get a full error log. This will provide us with an idea of what might be going on.

    If you encounter this issue when the Wordfence plugin is active, then try forcing the “from email” address under the WP Mail SMTP -> Settings area.

    Thanks!

    Thread Starter debcat24

    (@debcat24)

    Hi,
    Thanks for your reply.
    I have disabled the wordfence and tried to locate the screenshot you’ve sent however I couldn’t access the full error log in tools. It could be since I do not have the full premium version. After this I attempted to send a test email and an error regarding Message rejected because email address wasn’t verified. Since we’re using AWS I created the email address and verified it.

    I proceeded to activate the Wordfence and also change the from email to the email address whom will be receiving the emails. Sent another contact form, however for some reason they are being directly going to spam/junk. What can be done regarding this ?

    Plugin Support Darshana

    (@darshanaw)

    Hi @debcat24,

    If your emails are going to SPAM, then you need to check whether your email platform is configured correctly on your domain with the correct SPF, DKIM records as mentioned here.

    Try sending a test email to this online tool to check your email deliverability, and then you can request your hosting support to implement those changes to improve your email deliverability.

    I hope this helps. Thanks!

    Thread Starter debcat24

    (@debcat24)

    Hi,
    Thank you this response and will be checking the DKIM and SPF records as you’ve mentioned.

    Apart from this I have noticed another issue. So currently when a user fills up the contact form it is being delivered successfully. I have also installed a plugin check email to see if its being delivered and also to get a review of the score of your mailing system. It scored high as a 9.9 out of 10.

    The issue I’m having is that when a user decides to reset their password an error comes up saying that : Error: The email could not be sent. Your site may not be correctly configured to send emails.

    When i visit the wp smtp mail log to check more in detail what I see is the summary error log : Type Error.Content Mailer: Other SMTP SMTP Error: Could not authenticate. Source: WP Core /var/app/current/wp-includes/user.php. I am not able to view the full error log as once I try out the test email it is successfully sent. Also this error is shown :Content Mailer: Other SMTP SMTP Error: Could not authenticate. Source Wordfence Security /var/app/current/wp-content/plugins/wordfence/lib/wordfenceClass.php

    What can i do to solve this pls ?

    Plugin Support Darshana

    (@darshanaw)

    Hi @debcat24,

    Did you add WP Mail SMTP constants to configure your mailer?

    If so, please make sure that you have added the constants above the following line of your wp-config.php file.

    /* That's all, stop editing! Happy publishing. */

    Here’s an example screenshot (https://a.supportally.com/cSnp6O).

    Thanks!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Could not authenticate with Wordfence’ is closed to new replies.