Highlighted

Trouble with sending email through Office365

Engaged ,
Jun 10, 2016

Copy link to clipboard

Copied

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?

TOPICS
Getting started

Views

3.1K

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

Trouble with sending email through Office365

Engaged ,
Jun 10, 2016

Copy link to clipboard

Copied

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?

TOPICS
Getting started

Views

3.1K

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Jun 10, 2016 0
Adobe Community Professional ,
Jun 18, 2016

Copy link to clipboard

Copied

Did you use all of these cfmail attributes?

from=

to=

subject=

username=

password=

useTLS="yes"

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Jun 18, 2016 0
New Here ,
Nov 03, 2016

Copy link to clipboard

Copied

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.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Nov 03, 2016 0
Community Beginner ,
May 29, 2017

Copy link to clipboard

Copied

Was anyone able to get this working? I'm having the exact same problem.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
May 29, 2017 0
New Here ,
Jan 22, 2018

Copy link to clipboard

Copied

Finally figured it out:

Coldfusion Mail with Office 365 – RantFree.me

Cheers!

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Jan 22, 2018 0