[REBOL] Re: try fails to catch error
From: gchiu:compkarori at: 27-Nov-2000 9:24
Hi Mat,
> GC> bademail: make email! "nospam"
>
> GC> try [ send bademail {testing} ]
>
> GC> Fails in both the current experimental and stable
> versions
> GC> of win32.
>
> Does that not depend on whether your relay accepted the
> mail or not?
>
I think my point is that the try should allow my script to
continue rather than crash with
* User Error: Server error: tcp 550 5.1.1 <nospam>... User
unknown
** Near: insert port reduce data
To get round this, I have to parse the incoming string that
feeds my script to ensure that it conforms to a valid email
form.
Cheers,
--
Graham Chiu