Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

cfmail and exchange server

Status
Not open for further replies.

andy570

Technical User
Jan 5, 2004
40
US
Hello all, I have inherited a problem. We have a shopping cart which emails the contents of the cart to the sales address. However, our clients installed an exchange server to handle all the email and now they are not receiving any of the order confirmations. Below is the original code:

<!--- Send Email for Order Here --->
<!--- sales@gourmetgardens.com --->
<cfmail
to="sales@gourmetgardners.com"
from="gourmetgardens@gourmetgardens.com"
type="html"
server="127.0.0.1"
subject="Order from Gourmet Gardens">
 
Maybe I can clarify it a bit. Once the order is made a confirmation email containing all the information is sent to sales@domain.com. The clients switched the MX records to use their MS Exchange server for all email. Does this effect the CFMAIL tag? Do you have to make a connection to the SMTP function on the Exchange Server? Sorry for such a newbie question but no experience with MS Exchange Server at all. Thanks!
 
Check the mail logs in the CF administrator and see if you get any connection errors.

Sorry I can't be much more help than that. I've never had to configure ANY mail server in cf administrator.

Human beings, who are almost unique in having the ability to learn from the experience of others, are also remarkable for their apparent disinclination to do so.
-Douglas Adams (1952-2001)
 
Make sure that the Exchange server is set up to allow the CF Server to relay through it.



Hope This Helps!

Ecobb

&quot;My work is a game, a very serious game.&quot; - M.C. Escher
 
Thanks for the help. Once they have the Exchange server configured to allow the CF server to relay through it do you then just specify the server address in the cfmail code?
 
I have mine set up in the CF Administrator with the Exchange server's internal IP address, that way all cfmail tags use the same server and there's no need to put the code in the cfmail tags.

Of course, this is all assuming that the the CF Server and the Exchange Server are on the same network...



Hope This Helps!

Ecobb

&quot;My work is a game, a very serious game.&quot; - M.C. Escher
 
Unfortunately, the Exchange Server and CF Server are not on the same network. According to the logs the CF Server is sending the mail. Since they are not on the same network will that require coding with cfldap to make a connection to the Exchange server? Thanks so much for the help.
 
No, if they are not on the same network then this probably isn't a CF problem. CF is trying to send mail TO this server, not THROUGH this server, right? If CF is sending mail to everyone execpt this server (i.e. your other web sites don't have problems), you have it configured right and there's something wrong with this mail server setup. (DNS, Firewall, ect...)



Hope This Helps!

Ecobb

&quot;My work is a game, a very serious game.&quot; - M.C. Escher
 
Thanks for the help. Yes, every other website has no problem sending email...only this one which is trying to send email to the clients exchange server. Thanks again!
 
Yeah, it sounds like the client's Exchange Server is having problems getting email. They probably need to look at their DNS or firewall settings. I'm not an email expert, but it sounds like CF is doing everything right.



Hope This Helps!

Ecobb

&quot;My work is a game, a very serious game.&quot; - M.C. Escher
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top