Exchange Online SMTP Not Working With Any Email Client

1

I am trying to switch our company mail server to exchange online. I have successfully added my domain and users and can send and receive mails through Outlook Web App. I can also send and receive if I configure my Outlook 2013 client using Exchange protocol.

However, some folks in company are using Thunderbird and some old Outlook Clients. For those, I tried to connect to Exchange via IMAP/SMTP. This is what I use,

For incoming,

IMAP / Port : 993 with SSL / Host : outlook.office365.com

For outgoing,

SMTP / Port : 587 with TSL / Host : smtp.office365.com

I can receive emails, however I could not be able to send emails. I keep getting

An error occurred while sending mail. The mail server responded: 4.3.2 Service not active. Please verify that your email address is correct in your Mail preferences and try again.

My username and password are correct, I am using my mail address as my username to mailbox.

I also tried sending mail via C# application which was working for outlook.com and gmail.com SMTP settings. It also fails to send emails and returns the same error code.

I thought TB and other old clients such as Office 2003 might not support Exc. Online so I tried same settings in Office 2013. It successfully connected my mailbox when checking for configuration but failed in sending test message and returned the same error code.

Configuration for incoming and outgoing mailbox are taken from here. They are also available on Office 365 user page and they are same.

What could be the reason for error ?

emre nevayeshirazi

Posted 2013-06-27T21:37:46.477

Reputation: 111

Are you providing credentials for SMTP? – john – 2013-07-01T20:57:11.667

Yes. I provide them – emre nevayeshirazi – 2013-07-02T08:16:41.503

Answers

1

I think you may have invalid SMTP domain name. There are specific SMTP settings for each account. Have a look here for more information:

http://www.configureoffice365.com/smtp-configuration-office-365/

snowdude

Posted 2013-06-27T21:37:46.477

Reputation: 2 560

Thanks for answer. I get my server name from Account page in Office 365. I think microsoft created a generic server name smtp.office365.com because in case of server change by microsoft you need to update all of your smtp settings. Anyways, I had also tried the method you given. It is not working either. Same error. – emre nevayeshirazi – 2013-06-28T10:36:07.913

If you do a simple telnet, e.g. "telnet smtp.office365.com 587", does that work? – snowdude – 2013-06-28T11:46:51.877

yes it returns 220. – emre nevayeshirazi – 2013-06-28T11:55:24.517

Interesting. What happens if you type "MAIL FROM: <youremail>" – snowdude – 2013-06-28T13:53:43.060

500 5.3.3 Unrecognized command. I typed "MAIL FROM: mymail@domain.com" without quotes.

– emre nevayeshirazi – 2013-06-28T14:04:24.613

Ah, I wasn't clear... don't put the angle bracket in. – snowdude – 2013-07-01T16:03:12.327