tried that originally.  Did not work.  Forgot to switch it back in the below
code.

-----Original Message-----
From: Gavin Cooney [mailto:[EMAIL PROTECTED]
Sent: Friday, 12 December 2003 4:12 PM
To: CFAussie Mailing List
Subject: [cfaussie] Re: Invalid email addressed


cfcatch type="any" should do the trick

----- Original Message ----- 
From: <[EMAIL PROTECTED]>
To: "CFAussie Mailing List" <[EMAIL PROTECTED]>
Sent: Friday, December 12, 2003 4:44 PM
Subject: [cfaussie] Invalid email addressed


> 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
>


---
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

---
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