Script Library: 1238 scripts
 

cgimail.r

REBOL [ Title: "CGI Form Emailer" Date: 19-Jul-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. } library: [ level: 'beginner platform: none type: none domain: [cgi email other-net] tested-under: none support: none license: none see-also: none ] ] print "Content-Type: text/plain^/" ;-- Required Page Header send %luke--rebol--net decode-cgi system/options/cgi/query-string print "Email sent."
halt ;; to terminate script if DO'ne from webpage
Notes
  • cgimail.r has documentation.
  • email address(es) have been munged to protect them from spam harvesters. If you are a Library member, you can log on and view this script without the munging.
  • (luke:rebol:net)