[Techtalk] Secure Email cgi form
Andrea Landaker
qirien at icecavern.net
Tue Oct 7 12:34:26 EST 2003
> Can anyone recommend a (some?) safe and secure php or perl cgi script for
> sending email to a fixed address from a webpage form?
I think anything that hard-codes the To: address couldn't be used as an open
relay, though it could possibly be used to send spam to you. :-)
I use a ruby script my husband wrote at my site. It's not perl or php, but
you could probably make your own from it fairly easily.
Here's the HTML file that calls it:
http://www.icecavern.net/~qirien/email.shtml
and here's the Ruby code:
http://www.icecavern.net/~qirien/mailto.txt (needs to be named cgi-bin/
mailto.cgi to work; also, ruby 1.8 must be installed)
--
Andrea Landaker
http://www.icecavern.net/~qirien/
More information about the Techtalk
mailing list