#!rebol -cs
REBOL [
Title: "CGI Form Emailer"
Date: 19-July-1999
File: %cgimail.r
Purpose: {
Emails the contents input into a web CGI form.
}
Notes: {
Be sure to setup your email networking configuration
to provide an SMTP and default email return address.
The -cs option is needed to allow the SEND to happen.
}
Category: [cgi email net 1]
]
print "Content-Type: text/plain^/" ;-- Required Page Header
send luke@rebol.net decode-cgi system/options/cgi/query-string
print "Email sent."