Jason,

I dunno if you ever figured out your problem or not...

I'm assuming when you say CFMAIL doesn't work you mean that you aren't able
to receive the mails you are sending?  In that your CFMAIL tags parse
correctly when you call the template and the mail appears to be sent, but it
doesn't actually get to the person you are trying to mail.

Along with checking out the cold fusion logs, and the mail server logs Cold
Fusion has a mail folder. It can be found under the root directory of Cold
Fusion.  This Mail folder will have several folders within it: log, spool,
undelivr

For some reason CF doesn't actually log to the log folder so you can ignore
that one ;) Spool is where it actually writes the text message that will be
sent to the mail server.  Every minute or so Cold Fusion attempts to send
the files in this folder. If the message fails for some reason it is moved
to the "undelivr" folder.

So if your messages seem to be "disappearing" they might actually be ending
up in the undelivr folder.

When a message is moved to that undelivr folder a log entry is written to
ColdFusion/log/mail.log (I know it seems like the messages should be sent to
the "log" folder within "mail" but thats for a seperate log [logging all
messages sent by cf I think?])

That message should help you debug the problem.

One thing I've found is that if your mail server is setup to properly
prohibit relays/spamming then you might have to use a fully qualified domain
name instead of simply an ip.  There could also be other issues.. for
example if you are sending mail internally the server you are running CF on
might think the users are "local" users.  It might never send the messages
on to the real mail server...

Good Luck,
Benjamin Fitts
Web Developer
uclick, LLC
www.uclick.com
[EMAIL PROTECTED]

Get your favorite comics emailed daily for FREE!
Visit uComics.com - The best comics site in the universe!
http://uComics.com


-----Original Message-----
From: Jason Brooke [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 02, 2001 6:04 PM
To: CF-Linux
Subject: Re: CFMAIL Question


What do you mean, it doesn't work?

What do CF's logs say? What do your system logs says? What does MySQL have
to
do with your email? What exactly happens when you call CFMAIL?


----- Original Message -----
From: "Brown, Brian" <[EMAIL PROTECTED]>
To: "CF-Linux" <[EMAIL PROTECTED]>
Sent: Saturday, March 03, 2001 1:55 AM
Subject: CFMAIL Question


> Hello all,
>
> "Long time listener first time caller."
> We seam to be having a problem with the CFMAIL tag (It dont work). Is
> there a known bug that prevents it from working? If so do you know of
> any work arounds?  The server is Red Hat 6.2 the database is MySql (not
> by choice). Any help would be appreciated.The email server is qmail.
> "I'll hang up and wait for your response."
>
>
> brianBrown
> [EMAIL PROTECTED]
> <cf_beware_the_penguin>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/cf-linux%40houseoffusion.com/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_linux or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to