Another thing to check is the log files.  Cold Fusion saves all mail
information into to log files.  Mail.log and Mailsent.log.  The mail.log
reports all mail that failed to send, gives a quick reason, and mailsent.log
lists all mail messages that are actually sent.  Log files are in the
cfusion/log directory.  Also check the application.log to see if Cold Fusion
has reported any errors.

Brian Knott


-----Original Message-----
From: Cameron Childress [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, November 08, 2000 8:33 PM
To: Fusebox
Subject: RE: Proper use of CFMail ?


> I'm having problem using CFMail. is it very hard to use it ? How come
> working well in the beginning but it started to stop sending the email
> about a week later. Can somebody tell me how to use that tag properly?

Good morning!

There are many reasons CFMAIL might quit working.  As far as using the tag
"properly" syntactically, I would suggest reading the docs.  As far as
troubleshooting why it might not be sending mail, I may be able to point you
in the right direction.

Mail sent using CFMAIL takes several steps which can be prone to failure if
something's not configured right, here they are:

1) CFMAIL tag executed

2) CF generates a mail spooling file (text file), and drops it into
c:\cfusion\mail\spool (default install).  You might want to watch this
folder while troubleshooting.

3) Now CF attempts to connect to the email SMTP server as configured in the
cfadmin or CFMAIL tag.  First, CF tried to connect to the SMTP server.  This
means that the CF server must be able to "see" the SMTP server (firewall?),
and that the SMTP server must be configured to accept relay mail from the CF
server.  These are two more common points of failure for sending CFMAIL.

4) Once CF successfully connects to the server, it attempts to send some/all
messages through it.  Sometimes mailservers will reject mail from at this
point because of the mailserver's configuration.  A common reason for
rejection is illegal or malformed TO or FROM addresses.

5) At this point the email message has either been passed on to the SMTP
server, or has failed to be delivered to the SMTP server by CF.  For failed
deliveries, you should check the C:\cfusion\mail\Undelivr folder.  If there
are messages in there, you should check my steps 1-4 above for reasons they
may have failed to send.  You can actually copy/paste the files from the
Undelivr folder into the Spool folder and cause CF to try to resend the
mail.

If at this point your message(s) seem to have left the CF server, but still
aren't getting delivered, you need to start looking at your mailserver for
failure reasons.

Good luck!

Mmmm Coffee....

-Cameron

--------------------
Cameron Childress
ElliptIQ Inc.
p.770.460.7277.232
f.770.460.0963

----------------------------------------------------------------------------
--
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/fusebox or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.
------------------------------------------------------------------------------
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/fusebox or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to