Thread: CGI Mailing

  1. #1
    Registered User
    Join Date
    Sep 2001

    CGI Mailing

    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.

  2. #2
    C++ Developer XSquared's Avatar
    Join Date
    Jun 2002
    Ontario, Canada
    Naturally I didn't feel inspired enough to read all the links for you, since I already slaved away for long hours under a blistering sun pressing the search button after typing four whole words! - Quzah

    You. Fetch me my copy of the Wall Street Journal. You two, fight to the death - Stewie

  3. #3
    ¡Amo fútbol!
    Join Date
    Dec 2001
    Yeah, you'd have to use a email protocol (SMTP probably).

    Check this out.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. CGI program help please
    By Lince in forum C Programming
    Replies: 3
    Last Post: 08-01-2007, 01:31 AM
  2. cgi - c++ returns image
    By terracota in forum C++ Programming
    Replies: 1
    Last Post: 08-04-2004, 09:41 PM
  3. testing a cgi script on my computer
    By Bigbio2002 in forum C Programming
    Replies: 1
    Last Post: 12-14-2003, 07:26 PM
  4. C/c++ Cgi
    By Raider20 in forum C Programming
    Replies: 2
    Last Post: 09-16-2002, 10:43 AM
  5. Problem with cgi script - can't rename files
    By bjdea1 in forum C Programming
    Replies: 2
    Last Post: 12-12-2001, 04:09 PM