• Resolved nandugan

    (@nandugan)


    HI,

    We have configured WP MAIL SMTP with below settings

    smtp-mail.outlook.com
    Encryption  TLS
    
    SMTP Port 587
    Authentication  ON

    Also tried smtp.office365.com

    Both are not working.

    ————-

    Versions:
    WordPress: 5.9.3
    WordPress MS: No
    PHP: 7.4.26
    WP Mail SMTP: 2.5.2
    
    Params:
    Mailer: smtp
    Constants: No
    ErrorInfo: SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting
    Host: smtp-mail.outlook.com
    Port: 587
    SMTPSecure: tls
    SMTPAutoTLS: bool(true)
    SMTPAuth: bool(true)
    
    Server:
    OpenSSL: OpenSSL 1.1.1d 10 Sep 2019
    Apache.mod_security: No
    
    Debug:
    Mailer: Other SMTP
    SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting
    
    SMTP Debug:
    2022-04-21 07:57:07 Connection: opening to smtp-mail.outlook.com:587, timeout=300, options=array()
    
    2022-04-21 07:57:13 Connection failed. Error #2: stream_socket_client(): unable to connect to smtp-mail.outlook.com:587 (Network is unreachable) [/home/po31utjlanl2/public_html/georgeoakes.com/wp-includes/PHPMailer/SMTP.php line 388]
    
    2022-04-21 07:57:13 SMTP ERROR: Failed to connect to server: Network is unreachable (101)
    
    SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting

    ———–

    Kindly please anyone guide me.

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

    (@darshanaw)

    Hi @nandugan,

    Thanks for reaching out! Upon inspecting your error log, I see the following message.

    Failed to connect to server: Network is unreachable

    Most probably your server’s Firewall or ModSecurity rules are blocking your SMTP connection requests. Could you please get in touch with your hosting support with the error log and they should be able to assist you accordingly.

    Thanks!

Viewing 1 replies (of 1 total)
  • The topic ‘Not able to connect office 365’ is closed to new replies.