Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsGeneralPHPASPPerlColdFusionFlashHTML, CSS, ScriptsBrowsers

Webmaster Forum / ColdFusion / Advanced Techniques / July 2008



Tip: Looking for answers? Try searching our database.

Email handling

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
fxdinh - 03 Jul 2008 09:25 GMT
Hi everyone,
I'm trying to working with email in coldfusion. My problem that I want to know whether my email sent successfully or not?
Anyone can give me a solution.
Many thanks.
GArlington - 03 Jul 2008 10:32 GMT
> Hi everyone,
> I'm trying to working with email in coldfusion. My problem that I want to know whether my email sent successfully or not?
> Anyone can give me a solution.
> Many thanks.

Read CF docs about <cfmail ...> tag... In details...
dongzky - 03 Jul 2008 11:25 GMT
you mean like the mailer-daemon thing? or you want a value to be returned in cf the sending success status as true or false?
Dan Bracuk - 03 Jul 2008 14:38 GMT
Do you have a mailsent log file?
fxdinh - 04 Jul 2008 08:32 GMT
Yes, dongzky, you're right. I still not solve my problem.
dongzky - 04 Jul 2008 09:39 GMT
which one is right? the mailer daemon thing? if you want this, then I think all
you need to do is set the [b]failto [/b] 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 C:\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.
fxdinh - 10 Jul 2008 04:39 GMT
dongzky, thank you very much. I will try it.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.