Ssl – Is it possible to use CDO libraries (classic ASP) to send mail to Office 365 / Exchange Online

exchangeonlinemicrosoft-office-365smtpsmtp-authssl

I'm working on a migration to Office 365 / Exchange Online for a SMB company which until now has been running a local Exchange 2010 server; we're talking about ~25 mailboxes here.

However, there's a LOB application which sends messages via SMTP to Exchange, it's based on classic ASP and uses the quite old CDO libraries.

I know Exchange Online only accepts SMTP submissions when authentication is used, and only with TLS encryption; however, it looks like CDO doesn't support this: the most it can do is SSL, which Exchange Online used to support until some time ago, but it doesn't seem to support anymore.

There are several discussions lying around the Internet (including this very site and StackOverflow) which suggest using SSL to make this work; however, as I already said, this was only an option until some time ago: now Exchange Online only supports TLS for SMTP submissions.

I'm also perfectly aware of both possible workarounds, i.e. 1) using a local SMTP relay and 2) creating a receive connector in Exchange Online to allow unauthenticated relay from the company's public IP address; however, for reasons that should be obvious, I'd like to go the proper way, and have the application send its messages using SMTP authentication.

I'm looking for a definitive answer here: is it possible now to have a CDO-based application submit messages to Exchange Online? Or, more specifcically, is there any way for a CDO-based application to support SMTP authentication over a TLS connection?

Best Answer

It makes me feel dirty to say this, but why not keep the EX2010 box and make it a hybrid deployment? You could continue to relay messages from your CDO libraries to SMTP receive on EX2010, then they would go across to O365 via the "on-premises to cloud" connector.

Then you can explain to the business that their old LOB application is causing increased infrastructure costs. Once they update the LOB app, then they get rid of an Exchange server on-premises, saving $$$.