[REBOL] Re: Newbie Rebol (CGI) questions - correction
From: Gary::Jones::usap::gov at: 17-Apr-2004 7:32
Forgot the 'try command:
....
header: make system/standard/email [
To: [[kpeters--somedom--net]]
From: [[kpeters--somedom--com]]
Subject: "Message with a header"
Organization: "Super Org"
]
either error? try [send/header [kpeters--somedom--net] 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