mrkhan Posted February 26, 2019 Posted February 26, 2019 Hello, I have WireMailSmtp 0.3.0 I am trying to connect to Microsoft Hosted emails and doing bellow settings SMTP HostName: smtp.office365.com Port: 25 SMTP user: full email address SMTP password: email password But when i try to test connection I got the error ERROR: SMTP settings did not work. could not connect to the host "smtp.office365.com": Connection refused I am able to login to outlook online with the same user and password. I just want to send email through SMTP How to fix this issue? your help will be highly appreciated. Thanks
flydev Posted February 26, 2019 Posted February 26, 2019 Hi, The used settings (port) look not secure. try theses settings :
Rudy Posted February 26, 2019 Posted February 26, 2019 @mrkhan please refer to https://support.office.com/en-us/article/POP-IMAP-and-SMTP-settings-for-Outlook-com-d088b986-291d-42b8-9564-9c414e2aa040 Specifically: SMTP server name smtp-mail.outlook.com SMTP port 587 SMTP encryption method STARTTLS 5
adrian Posted February 26, 2019 Posted February 26, 2019 I can confirm that @Rudy suggestions work here. In fact smtp-mail.outlook.com seems to be one of the last SMTP servers that actually still works when called from a web app. I haven't had any luck with gmail's service recently. In fact, I have completely abandoned SMTP and use MailGun for everything these days - it's much faster via the API, than an SMTP call (no delay for the user), is free for 10,000 sends a month. The only downside is the initially setting up of domain records if you're not familiar with it or don't have access to change them.
Rudy Posted February 26, 2019 Posted February 26, 2019 Sparkpost and AWS SES SMTP also work as well. 1
wbmnfktr Posted March 1, 2019 Posted March 1, 2019 I use WireMailSmtp successfully with the following services/webhosting providers: Gmail (@gmail.com) Google for Domains (Google Apps) Yandex for Domains Outlook.com (Freemail) Strato (Webhosting, DE) 1&1 (Webhosting, DE) Checkdomain (Webhosting, DE) webgo (Webhosting, DE) Dreamhost (Webhosting, US) A2hosting (Webhosting, US) 2
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now