• Resolved msmith29063

    (@msmith29063)


    I’m trying to use the plugin with an Outlook account. Note that I’m using the free version and have it set up under Other SMTP. I’m assuming this should still work though.

    Here’s what I’m seeing in the debug when I try to send a test email:

    2022-03-22 23:26:06 Connection: opening to smtp.office365.com:587, timeout=300, options=array()
    2022-03-22 23:26:10 Connection failed. Error #2: stream_socket_client(): unable to connect to smtp.office365.com:587 (Connection refused) [/home/********/public_html/wp-includes/PHPMailer/SMTP.php line 388]
    2022-03-22 23:26:10 SMTP ERROR: Failed to connect to server: Connection refused (111)

    The Outlook account I’m trying to use is set up with Multi-Factor Authentication but I’ve been told the password I was given is the App Password.

    The user who set up the Outlook account also said this:

    Smtp setting on my end for the email address is either enabled or disabled
    When enabled, the settings are set as already described & I can’t make any changes

    Any ideas what might be going on? Thank you for your help.

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

    (@dpinson)

    Hi @msmith29063,

    Thanks for reaching out! The password would need to be the same password used to log into Outlook. Basically, when you’re using the Other SMTP option, it’s similar to the way you would connect with the Outlook client software on your computer or phone.

    In case it helps, take a look at this guide on our site. It walks through a lot of the common settings you’ll use with different email providers:

    https://wpmailsmtp.com/docs/how-to-set-up-the-other-smtp-mailer-in-wp-mail-smtp/

    Thanks!

    Plugin Support David

    (@dpinson)

    Hi again @msmith29063,

    There may be another cause of the problem you’re seeing. The App Password should get you through when you’re using Multi-Factor authentication, but looking back at the error you’re seeing, it looks like you may have another issue. Can you check with your host and ask them if they are blocking outgoing SMTP connections? That may be what’s causing the issue you’re seeing.

    Thanks!

    Thread Starter msmith29063

    (@msmith29063)

    Thanks, David. Looking into it. Just to confirm, we CAN use Outlook under the Other SMTP option. Correct?

    Thread Starter msmith29063

    (@msmith29063)

    I had the client disable 2FA and send me the account password. Same error when sending a test email.

    So does it look like their host may be blocking outgoing SMTP connections? I’m having them look into it on their end.

    Plugin Support David

    (@dpinson)

    Hi @msmith29063,

    Thanks for the response! It may be that the server the site is hosted on is blocking outbound SMTP connections. If so, the host should be able to let you know. Let them know you’re trying to connect over port 587, as they may be blocking specific ports.

    I hope that helps!

    Thanks!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘WP Mail SMTP Not Working with Outlook’ is closed to new replies.