Welcome to Geeklog, Anonymous Wednesday, June 19 2024 @ 09:18 am EDT

Geeklog Forums

simple form in a block


What is the best method to use to send simple form information to an email address?

Basically what I'm doing is creating a simple form in a block for users to register for an event. I just want to be able to email that info to a specific address and redirect the user to a static thank-you page.

Seems simple enough till I start looking at all the different ways people are doing it, most way more complex then I need.

Thanks in advance,

Status: offline


Forum User
Registered: 07/26/06
Posts: 39
I have always used cgiemail from http://web.mit.edu/wwwdev/cgiemail/ .

Unix platforms only.

It uses a template. The form is simple.

Template named questions3.txt:
Text Formatted Code
 To: strangeman@chasm.big                          HEADER LINES
    Subject: questions three
                                                      blank line
    What is your name?              [yourname]
    What is your quest?             [quest]           BODY
    What is your favourite colour?  [colour]

Text Formatted Code

Your e-mail address: <INPUT NAME="email"><p>
Your name: <INPUT NAME="yourname"><p>
Your quest: <INPUT NAME="quest"><p>
Your favourite colour: <INPUT NAME="colour"><p>
<INPUT TYPE="submit" value="Send e-mail">

"A conclusion is the place where you got tired of thinking."--Steven Wright

All times are EDT. The time is now 09:18 am.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content