Question
CFMAIL test mode?
I have a query that is pulling email addresses from a user
database (an older database in this case). Then the query results
are being looped into a CFMAIL tag.
Is there a way to test the CFMAIL tag before it actually sends the email to prevent the script from crashing 50 records in if it finds a defunct email?
I've wrapped the CFMAIL in a <cfif> to prevent bad emails being passed in...but it's not fool proof. I don't want to run the script again only to have it crash not knowing what broke it!
How do I deal with something like this?
I've run the query and created a filter and output the email addresses so I could see with my own eyes what is passing to CFMAIL. Looks good so far, but with 750+ emails...I'm sure I could over look something.
Ugh.
Paul
Is there a way to test the CFMAIL tag before it actually sends the email to prevent the script from crashing 50 records in if it finds a defunct email?
I've wrapped the CFMAIL in a <cfif> to prevent bad emails being passed in...but it's not fool proof. I don't want to run the script again only to have it crash not knowing what broke it!
How do I deal with something like this?
I've run the query and created a filter and output the email addresses so I could see with my own eyes what is passing to CFMAIL. Looks good so far, but with 750+ emails...I'm sure I could over look something.
Ugh.
Paul
