which one is right? the mailer daemon thing? if you want
this, then I think all you need to do is set the
failto parameter of your cfmail tag with the email you want
the failure notification to be sent to.
but if you want your cf app to give you the true or false
value, then maybe you should have a mailsent log file mentioned by
Dan and make some checkings on that file. you can enable this log
in the cf admin under Mail in the server settings. Once enabled, if
you're using cf8, the log is usually created/updated in
\your_cf8root\ColdFusion8\logs\mailsent.txt every cfmail. There,
you can let cf(maybe try doing some cffile) read and parse the file
and do some checkings in order for your cf app to determine if the
mail has been succesfully sent or not.