View Single Post
  #58  
Old 02-21-2008, 01:08 AM
prasannavigneshr prasannavigneshr is offline
D-Web Incredible
 
Join Date: Feb 2007
Posts: 1,264
prasannavigneshr is on a distinguished road
Send a message via MSN to prasannavigneshr
Thumbs up ColdFusion Tips & Tricks - Why won't Cold Fusion send my Email???

Why won't Cold Fusion send my Email???


Could be several reasons and I'll go over the ones that I know of here.

Check for errors
Open up the file C:\CFUSION\LOG\mail.log and scroll down to the bottom. If you see your Emails listed, scroll to the right and you'll see a brief message as to why Cold Fusion couldn't find it.

Check the Mail Server Settings
Is the mail server setting configured with a doman name or an IP address? If it's an IP address, are there any leading zeros in any of the fields (ex: 207.046.131.030 instead of 207.46.131.30)? Putting leading zeros in the IP address will cause unpredicatble results in where it actually connects. In this example, if you ping "207.046.131.030", it actually pings 207.38.131.24. Check the Port settings in Cold Fusion. The default SMTP port is 25. Also, your SMTP server may be using a different port. But remember, no matter what you configure via the Cold Fusion Administrator, if you speicify the Server and Port attributes in the <cfmail> tag, Cold Fusion will use the tag settings over the server settings.

Check the Spool Directory
Check the directory C:\CFUSION\Mail\Spool. If there are a lot of files in there, shut down Cold Fusion, delete all of the files in the Spool directory, and restart Cold Fusion.
__________________
Prasanna Vignesh
MCPD | Web Developer
Reply With Quote