Is it possible to use CDO libraries (classic ASP) to send mail to Office 365 / Exchange Online?Multifunction...

How to add power-LED to my small amplifier?

DOS, create pipe for stdin/stdout of command.com(or 4dos.com) in C or Batch?

What is the command to reset a PC without deleting any files

When blogging recipes, how can I support both readers who want the narrative/journey and ones who want the printer-friendly recipe?

A Journey Through Space and Time

Why was the small council so happy for Tyrion to become the Master of Coin?

Can I make popcorn with any corn?

Can an x86 CPU running in real mode be considered to be basically an 8086 CPU?

Why are 150k or 200k jobs considered good when there are 300k+ births a month?

How does one intimidate enemies without having the capacity for violence?

Infinite past with a beginning?

Is there really no realistic way for a skeleton monster to move around without magic?

Is it possible to do 50 km distance without any previous training?

Patience, young "Padovan"

If Manufacturer spice model and Datasheet give different values which should I use?

How old can references or sources in a thesis be?

I’m planning on buying a laser printer but concerned about the life cycle of toner in the machine

Is Social Media Science Fiction?

I see my dog run

Could a US political party gain complete control over the government by removing checks & balances?

black dwarf stars and dark matter

Why has Russell's definition of numbers using equivalence classes been finally abandoned? ( If it has actually been abandoned).

Why did the Germans forbid the possession of pet pigeons in Rostov-on-Don in 1941?

What defenses are there against being summoned by the Gate spell?



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


Multifunction printer scan to SSL SMTP without SSLCan I send email unauthenticated to an internal SMTP server which then relays onto authenticated SMTP?Exchange 2010 - Unauthenticated users can send/relay local mail via telnet. How to stop this?Enable application to send emails in Exchange 365 hybrid deploymentIIS 6 SMTP unable to relay messages to Exchange OnlineAll External Mail to Office 365 Fails SPF, Marked as Junk by EOP in a Hybrid DeploymentWinmail.dat Office 365 Exchange OnlineOffice 365 - iOS Mail and Gmail app not working with ADFS + Modern AuthenticationExchange Online: odd mail routing behavior






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ height:90px;width:728px;box-sizing:border-box;
}







1















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?










share|improve this question
















bumped to the homepage by Community 4 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
















  • Feel free to migrate this question to StackOverflow if this seems more appropriate; I'm only posting it here now.

    – Massimo
    Jan 28 '16 at 0:45











  • stackoverflow.com/q/12812408/1068283

    – Michael Hampton
    Jan 28 '16 at 0:50











  • Thanks @MichaelHampton, that's one of the questions I already examined; however, it's specific to AWS (and also it's not really clear about whether SSL is enough or TLS is actually required). I need a definite answer about if this can (or can't) possibly work with Exchange Online, in order to tell some developers "either you switch to more recent libraries or you won't be able to send anything anymore, and please don't blame the migration about this, because it's your fault if you're still stuck with classic ASP".

    – Massimo
    Jan 28 '16 at 0:58











  • Ah, but that wasn't in your question! I had no way of knowing that you had read it. Anyway, there are apparently other third party libraries capable of this. But CDO does not seem to be.

    – Michael Hampton
    Jan 28 '16 at 1:16




















1















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?










share|improve this question
















bumped to the homepage by Community 4 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
















  • Feel free to migrate this question to StackOverflow if this seems more appropriate; I'm only posting it here now.

    – Massimo
    Jan 28 '16 at 0:45











  • stackoverflow.com/q/12812408/1068283

    – Michael Hampton
    Jan 28 '16 at 0:50











  • Thanks @MichaelHampton, that's one of the questions I already examined; however, it's specific to AWS (and also it's not really clear about whether SSL is enough or TLS is actually required). I need a definite answer about if this can (or can't) possibly work with Exchange Online, in order to tell some developers "either you switch to more recent libraries or you won't be able to send anything anymore, and please don't blame the migration about this, because it's your fault if you're still stuck with classic ASP".

    – Massimo
    Jan 28 '16 at 0:58











  • Ah, but that wasn't in your question! I had no way of knowing that you had read it. Anyway, there are apparently other third party libraries capable of this. But CDO does not seem to be.

    – Michael Hampton
    Jan 28 '16 at 1:16
















1












1








1








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?










share|improve this question
















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?







ssl smtp microsoft-office-365 smtp-auth exchangeonline






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Nov 16 '16 at 13:19









BastianW

2,66841433




2,66841433










asked Jan 28 '16 at 0:44









MassimoMassimo

53.2k44170282




53.2k44170282





bumped to the homepage by Community 4 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.







bumped to the homepage by Community 4 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.















  • Feel free to migrate this question to StackOverflow if this seems more appropriate; I'm only posting it here now.

    – Massimo
    Jan 28 '16 at 0:45











  • stackoverflow.com/q/12812408/1068283

    – Michael Hampton
    Jan 28 '16 at 0:50











  • Thanks @MichaelHampton, that's one of the questions I already examined; however, it's specific to AWS (and also it's not really clear about whether SSL is enough or TLS is actually required). I need a definite answer about if this can (or can't) possibly work with Exchange Online, in order to tell some developers "either you switch to more recent libraries or you won't be able to send anything anymore, and please don't blame the migration about this, because it's your fault if you're still stuck with classic ASP".

    – Massimo
    Jan 28 '16 at 0:58











  • Ah, but that wasn't in your question! I had no way of knowing that you had read it. Anyway, there are apparently other third party libraries capable of this. But CDO does not seem to be.

    – Michael Hampton
    Jan 28 '16 at 1:16





















  • Feel free to migrate this question to StackOverflow if this seems more appropriate; I'm only posting it here now.

    – Massimo
    Jan 28 '16 at 0:45











  • stackoverflow.com/q/12812408/1068283

    – Michael Hampton
    Jan 28 '16 at 0:50











  • Thanks @MichaelHampton, that's one of the questions I already examined; however, it's specific to AWS (and also it's not really clear about whether SSL is enough or TLS is actually required). I need a definite answer about if this can (or can't) possibly work with Exchange Online, in order to tell some developers "either you switch to more recent libraries or you won't be able to send anything anymore, and please don't blame the migration about this, because it's your fault if you're still stuck with classic ASP".

    – Massimo
    Jan 28 '16 at 0:58











  • Ah, but that wasn't in your question! I had no way of knowing that you had read it. Anyway, there are apparently other third party libraries capable of this. But CDO does not seem to be.

    – Michael Hampton
    Jan 28 '16 at 1:16



















Feel free to migrate this question to StackOverflow if this seems more appropriate; I'm only posting it here now.

– Massimo
Jan 28 '16 at 0:45





Feel free to migrate this question to StackOverflow if this seems more appropriate; I'm only posting it here now.

– Massimo
Jan 28 '16 at 0:45













stackoverflow.com/q/12812408/1068283

– Michael Hampton
Jan 28 '16 at 0:50





stackoverflow.com/q/12812408/1068283

– Michael Hampton
Jan 28 '16 at 0:50













Thanks @MichaelHampton, that's one of the questions I already examined; however, it's specific to AWS (and also it's not really clear about whether SSL is enough or TLS is actually required). I need a definite answer about if this can (or can't) possibly work with Exchange Online, in order to tell some developers "either you switch to more recent libraries or you won't be able to send anything anymore, and please don't blame the migration about this, because it's your fault if you're still stuck with classic ASP".

– Massimo
Jan 28 '16 at 0:58





Thanks @MichaelHampton, that's one of the questions I already examined; however, it's specific to AWS (and also it's not really clear about whether SSL is enough or TLS is actually required). I need a definite answer about if this can (or can't) possibly work with Exchange Online, in order to tell some developers "either you switch to more recent libraries or you won't be able to send anything anymore, and please don't blame the migration about this, because it's your fault if you're still stuck with classic ASP".

– Massimo
Jan 28 '16 at 0:58













Ah, but that wasn't in your question! I had no way of knowing that you had read it. Anyway, there are apparently other third party libraries capable of this. But CDO does not seem to be.

– Michael Hampton
Jan 28 '16 at 1:16







Ah, but that wasn't in your question! I had no way of knowing that you had read it. Anyway, there are apparently other third party libraries capable of this. But CDO does not seem to be.

– Michael Hampton
Jan 28 '16 at 1:16












1 Answer
1






active

oldest

votes


















0














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 $$$.






share|improve this answer
























  • If it turns out that an SMTP relay has to be used, at least in the short term, I'd probably prefer to use a third party SMTP relay like SendGrid or the like rather than maintain the on premises Exchange server just for this purpose.

    – joeqwerty
    Jan 28 '16 at 1:46











  • Or even IIS's built-in SMTP component, which is perfectly up to the task...

    – Massimo
    Jan 28 '16 at 1:51











  • Ah yes, IIS. True enough.

    – joeqwerty
    Jan 28 '16 at 2:04












Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "2"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f752258%2fis-it-possible-to-use-cdo-libraries-classic-asp-to-send-mail-to-office-365-e%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









0














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 $$$.






share|improve this answer
























  • If it turns out that an SMTP relay has to be used, at least in the short term, I'd probably prefer to use a third party SMTP relay like SendGrid or the like rather than maintain the on premises Exchange server just for this purpose.

    – joeqwerty
    Jan 28 '16 at 1:46











  • Or even IIS's built-in SMTP component, which is perfectly up to the task...

    – Massimo
    Jan 28 '16 at 1:51











  • Ah yes, IIS. True enough.

    – joeqwerty
    Jan 28 '16 at 2:04
















0














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 $$$.






share|improve this answer
























  • If it turns out that an SMTP relay has to be used, at least in the short term, I'd probably prefer to use a third party SMTP relay like SendGrid or the like rather than maintain the on premises Exchange server just for this purpose.

    – joeqwerty
    Jan 28 '16 at 1:46











  • Or even IIS's built-in SMTP component, which is perfectly up to the task...

    – Massimo
    Jan 28 '16 at 1:51











  • Ah yes, IIS. True enough.

    – joeqwerty
    Jan 28 '16 at 2:04














0












0








0







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 $$$.






share|improve this 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 $$$.







share|improve this answer












share|improve this answer



share|improve this answer










answered Jan 28 '16 at 1:31









blaughwblaughw

2,0871616




2,0871616













  • If it turns out that an SMTP relay has to be used, at least in the short term, I'd probably prefer to use a third party SMTP relay like SendGrid or the like rather than maintain the on premises Exchange server just for this purpose.

    – joeqwerty
    Jan 28 '16 at 1:46











  • Or even IIS's built-in SMTP component, which is perfectly up to the task...

    – Massimo
    Jan 28 '16 at 1:51











  • Ah yes, IIS. True enough.

    – joeqwerty
    Jan 28 '16 at 2:04



















  • If it turns out that an SMTP relay has to be used, at least in the short term, I'd probably prefer to use a third party SMTP relay like SendGrid or the like rather than maintain the on premises Exchange server just for this purpose.

    – joeqwerty
    Jan 28 '16 at 1:46











  • Or even IIS's built-in SMTP component, which is perfectly up to the task...

    – Massimo
    Jan 28 '16 at 1:51











  • Ah yes, IIS. True enough.

    – joeqwerty
    Jan 28 '16 at 2:04

















If it turns out that an SMTP relay has to be used, at least in the short term, I'd probably prefer to use a third party SMTP relay like SendGrid or the like rather than maintain the on premises Exchange server just for this purpose.

– joeqwerty
Jan 28 '16 at 1:46





If it turns out that an SMTP relay has to be used, at least in the short term, I'd probably prefer to use a third party SMTP relay like SendGrid or the like rather than maintain the on premises Exchange server just for this purpose.

– joeqwerty
Jan 28 '16 at 1:46













Or even IIS's built-in SMTP component, which is perfectly up to the task...

– Massimo
Jan 28 '16 at 1:51





Or even IIS's built-in SMTP component, which is perfectly up to the task...

– Massimo
Jan 28 '16 at 1:51













Ah yes, IIS. True enough.

– joeqwerty
Jan 28 '16 at 2:04





Ah yes, IIS. True enough.

– joeqwerty
Jan 28 '16 at 2:04


















draft saved

draft discarded




















































Thanks for contributing an answer to Server Fault!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f752258%2fis-it-possible-to-use-cdo-libraries-classic-asp-to-send-mail-to-office-365-e%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

As a Security Precaution, the user account has been locked The Next CEO of Stack OverflowMS...

Список ссавців Італії Природоохоронні статуси | Список |...

Українські прізвища Зміст Історичні відомості |...