View Full Version : CGI Mailing

04-14-2003, 08:04 PM
I know that when you have an HTML form, you can just have it submit the form information, raw, to a specified mailto: address. What I'd like to do, is have it be submitted to my CGI script, process and nicely format the information, and send it to an email address?

A couple of questions:
1) Using CGI (or another easy method), how could I send the formatted strings that my CGI program would produce?

2) How could I alter the subject line?

3) What would the "From" name be? The name of my script? The originating web page? Can I change it?

I'd prefer to use traditional CGI in C, or Perl, or something like that, but PHP and stuff like that is OK too.

04-14-2003, 08:08 PM

04-14-2003, 09:56 PM
Yeah, you'd have to use a email protocol (SMTP probably).

Check this out (http://www.informit.com/isapi/product_id~{209B87A8-9CA6-40B6-A812-C6F6AB1894EB}/content/index.asp).