• Resolved cehweb

    (@cehweb)


    Hello, I have a problem with this plugin since a few days. I try to send a test mail but I receive the following error:

    Versions:
    WordPress: 5.3.2
    WordPress MS: No
    PHP: 7.3.14
    WP Mail SMTP: 1.8.1
    
    Params:
    Mailer: smtp
    Constants: Yes
    ErrorInfo: SMTP Error: Could not authenticate.
    Host: smtp.MYWEB.es
    Port: 25
    SMTPSecure: tls
    SMTPAutoTLS: bool(true)
    SMTPAuth: bool(true)
    SMTPOptions: {"ssl":{"verify_peer":false,"verify_peer_name":false,"allow_self_signed":true}}
    
    Server:
    OpenSSL: OpenSSL 1.0.2k 26 Jan 2017
    SMTP Debug:
    2020-02-06 17:45:24 Connection: opening to smtp.MYWEB.es:25, timeout=300, options=array ( 'ssl' => array ( 'verify_peer' => false, 'verify_peer_name' => false, 'allow_self_signed' => true, ),)
    
    2020-02-06 17:45:24 Connection: opened
    
    2020-02-06 17:45:24 SERVER -> CLIENT: 220 Sophos ESMTP ready
    
    2020-02-06 17:45:24 CLIENT -> SERVER: EHLO www.MYWEB.es
    
    2020-02-06 17:45:24 SERVER -> CLIENT: 250-Sophos Hello www.MYWEB.es [192.168.9.85]250-SIZE250-8BITMIME250-PIPELINING250-STARTTLS250 HELP
    
    2020-02-06 17:45:24 CLIENT -> SERVER: STARTTLS
    
    2020-02-06 17:45:24 SERVER -> CLIENT: 220 TLS go ahead
    
    2020-02-06 17:45:24 CLIENT -> SERVER: EHLO www.MYWEB.es
    
    2020-02-06 17:45:24 SERVER -> CLIENT: 250-Sophos Hello www.MYWEB.es [192.168.9.85]250-SIZE250-8BITMIME250-PIPELINING250 HELP
    
    SMTP Error: Could not authenticate.
    
    2020-02-06 17:45:24 CLIENT -> SERVER: QUIT
    
    2020-02-06 17:45:24 SERVER -> CLIENT: 221 Sophos closing connection
    
    2020-02-06 17:45:24 Connection: closed
    
    SMTP Error: Could not authenticate.

    SMTP settings (port, password…) are correct, I checked the wp-config.php file.
    As you can see, I’ve the last version of WordPress, WP Mail and PHP.
    What can I do? Thanks.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi @cehweb,

    This could be due to improperly configured encryption settings or incorrect port entry in SMTP settings. You’re using TLS encryption on port 25 and a self-signed SSL certificate. It is also possible that your email provider restricting access to their SMTP port using firewall rules. Also, ask your hosting company to fix your SSL certificate and avoid using a self-signed certificate.

    I hope this helps!

    Thread Starter cehweb

    (@cehweb)

    Hello, thanks for your answer. Finally I can send mails, my provider told me that I had to change the SMTP server (from ‘smtp.myweb.es’ to ‘localhost’). Thanks!!

    Glad to know you sorted it out and thanks for taking the time to let us know.

    Have a good one! ??

    @sanzeeb3 Hello

    Im unable to send test email and here’s the error message

    CLIENT -> SERVER: EHLO easywp.com
    CLIENT -> SERVER: MAIL FROM:<[email protected]>
    CLIENT -> SERVER: RCPT TO:<[email protected]>
    SMTP ERROR: RCPT TO command failed: 454 4.7.1 <[email protected]>: Relay access denied
    CLIENT -> SERVER: QUIT
    SMTP Error: The following recipients failed: [email protected]: <[email protected]>: Relay access denied

    Hi @ceoroyale,

    Please do not continue on unrelated closed threads, instead create a new support post with full details of the test email. The little details you’ve provided might indicate that you’re sending emails from an un-authenticated email address.

    Thanks!

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