Howdy, Graham:
How about this:
bademail: to-email "bogus"
ERROR? try [send bademail "testing"]
TRY by itself won't prevent the evaluation of the error, but
ERROR? will.
-jeff
> > 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 -- To unsubscribe from this list, please send
> an email to [EMAIL PROTECTED] with "unsubscribe" in
> the subject, without the quotes.
>
>
--
To unsubscribe from this list, please send an email to
[EMAIL PROTECTED] with "unsubscribe" in the
subject, without the quotes.