I am running CF10. New installation on Windows Server 2012R2. Intranet site.
In ColdFusion Administrator, the mail server connection verifies as successful.
Mail server is smtp.office365.com (have also tried smtp.outlook.office365.com)
Port is 587
Username and password are blank, however I have tried it with a valid username and password as well. In both cases the connection is successful.
Enable SSL is unchecked.
Enable TLS is checked.
No other combination of SSL and TLS will verify.
When I send an email using CFMAIL, the mail goes into the undeliverable folder every time without fail.
My internet searches have been futile in this case. With the prevalence of Office365 this can't be a unique scenario can it?
Did you use all of these cfmail attributes?
I too am having the exact same problem with CF2016 and Office365. CFMail could have a bug, but I'm sure there's a setting in the exchange admin somewhere that needs to be tweaked. I got it to work with gmail after jumping through some hoops in the settings (which leads me to believe it's a setting somewhere in the O365 admin), but only with paid business gmail.
Was anyone able to get this working? I'm having the exact same problem.