Forgot the 'try command:

    ....
    header: make system/standard/email [
        To: [EMAIL PROTECTED]
        From: [EMAIL PROTECTED]
        Subject: "Message with a header"
        Organization: "Super Org"
    ]
    either error? try [send/header [EMAIL PROTECTED] response header][
        web-response: {There has been an error in processing your
information.  While the error has been logged, you may wish to
resubmit this information if you have not heard back within 48 hours.}
        write/append %/path/to/web/error/log/log.txt response
    ][
        web-response: {Thank you for submitting this information.  
Your response will be processed, and you should receive
an answer within 48 hours.}
    ]
    print web-response


--Scott Jones

-- 
To unsubscribe from this list, just send an email to
[EMAIL PROTECTED] with unsubscribe as the subject.

Reply via email to