getting CFMAIL to dance with Microsoft Exchange

84 views
Skip to first unread message

hofar...@houseoffusion.com

unread,
Jan 4, 2013, 2:02:50 PM1/4/13
to ColdFusion Technical Talk

Before anyone says "OH MY GOD...MICROSOFT EXCHANGE????..WHY??!!" It's
what my company uses I can't change it :)

All I'm trying to do is get my ColdFusion server to talk to the mail
server, which happens to be Exchange.

The user names that they are giving me are in the form domain\username
and a password. Every combination I've tried has gotten a connection
refused error.
Does the Exchange server, or the account need to be configured in a
certain way for this to work?

thanks

--
Scott Stewart
Adobe Certified Expert / Instructor
ColdFusion 8, 9


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353769

hofar...@houseoffusion.com

unread,
Jan 4, 2013, 2:38:37 PM1/4/13
to ColdFusion Technical Talk

> OH MY GOD...MICROSOFT EXCHANGE

Exchange is a great mail system and CF integrates with it quite well. Configuration is a bear but once done it works great. It's most likely security settings or allowed connections on the Exchange server; could also be settings on the domain server. For that you may need a MCSE to give you a hand. There are a lot of settings that could be causing the problem.

Robert Harrison
Director of Interactive Services

Austin & Williams
Advertising�I Branding�I�Digital�I�Direct �
125 Kennedy Drive, �Suite 100 ��I �Hauppauge, NY 11788
T 631.231.6600 X 119 ��F 631.434.7022
http://www.austin-williams.com

Blog: http://www.austin-williams.com/blog
Twitter: http://www.twitter.com/austin_

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353774

hofar...@houseoffusion.com

unread,
Jan 4, 2013, 3:06:10 PM1/4/13
to ColdFusion Technical Talk

By default exchange uses mapi, you will pron need to ask your sysadmin to
enable imap so cf can talk to it.
Also the username may be any of these depending how exchange is setup.

Domain\user
Sam name
User@domain

Regards
Russ Michaels
www.michaels.me.uk
www.cfmldeveloper.com - Free CFML hosting for developers
www.cfsearch.com - CF search engine
Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353777

hofar...@houseoffusion.com

unread,
Jan 4, 2013, 3:10:02 PM1/4/13
to ColdFusion Technical Talk

> All I'm trying to do is get my ColdFusion server to talk to the mail
> server, which happens to be Exchange.
>
> The user names that they are giving me are in the form domain\username
> and a password. Every combination I've tried has gotten a connection
> refused error.
> Does the Exchange server, or the account need to be configured in a
> certain way for this to work?

Are you just trying to use CFMAIL? If so, the Exchange server may need
to be configured to accept SMTP connections from your server.

If you're trying to do something else, like read mail, you might need
to use CFEXCHANGE for MAPI access.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
http://training.figleaf.com/

Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
GSA Schedule, and provides the highest caliber vendor-authorized
instruction at our training centers, online, or onsite.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353778
Reply all
Reply to author
Forward
0 new messages