Does any one know if I can stop cfmail through an error if the email address
is invalid.  I'm trying to use <cftry> but I still get an error.  I have
posted my code below.  Not to address is blank to cause error.

<cftry>

        <cfmail to="" subject="Education News - April 2003 Edition"
type="html" from="[EMAIL PROTECTED]">
        #html_source#
        </cfmail>

<cfcatch type="application">
Email Error
</cfcatch>


</cftry>

---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]

MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia
http://www.mxdu.com/ + 24-25 February, 2004

Reply via email to