MailPost sample request

  

To see what results you can expect to get with MailPost, try filling out and submitting the form below.

The result will be displayed on screen. Note that if the user wanted to display a different "success" HTML page, they would add a hidden form variable named hidden with a value of the full URL to the page.

View the template file for this form.

  

Here is the HTML code for this form

<FORM ACTION="http://www.mcenter.com/cgi-win/mailpost.exe/mailpost/sample.txt" METHOD="POST">

Comment: Don't send email. Use the *nosend* variable.
<INPUT TYPE="HIDDEN" NAME="*nosend*">

Comment: Set a default value for the Elmer checkbox
<INPUT TYPE="HIDDEN" NAME="elmer.dflt" VALUE=" ">

Comment: Setup the "on-error" page
<P>Show a user-created page if a required field is left blank? <INPUT TYPE="CHECKBOX" NAME="*on-error*" VALUE="http://www.mcenter.com/mailpost/error-samp.html"> *

Comment: Setup the "success" page
<P>Show a success page? <INPUT TYPE="CHECKBOX" NAME="success" VALUE="http://www.mcenter.com/mailpost/success.html"> *

Comment: Setup the *wrap-text* variable
Wrap my text to <INPUT TYPE="TEXT" NAME="*wrap-text*"> columns wide.

Comment: Make "Name" a required field
<P>Name: <INPUT TYPE="TEXT" NAME="required-name" SIZE="35" MAXLENGTH="60"></P>

<P>My secret ID number is: <INPUT TYPE="TEXT" NAME="id" MAXLENGTH="20"></P>
<PRE>I am: <INPUT TYPE="RADIO" NAME="age" VALUE="0-6"> 0-6 <INPUT TYPE="RADIO" NAME="age" VALUE="7-12"> 7-12 <INPUT TYPE="RADIO" NAME="age" VALUE="13-15"> 13-15 <INPUT TYPE="RADIO" NAME="age" VALUE="16-21" CHECKED="CHECKED"> 16-21 <INPUT TYPE="RADIO" NAME="age" VALUE="22-35"> 22-35 <INPUT TYPE="RADIO" NAME="age" VALUE="over 35"> Older than 35</PRE>

<P>I'd like to receive the following:</P>
<PRE><INPUT TYPE="CHECKBOX" NAME="elmer" VALUE="X"> Tickle Me Elmer <INPUT TYPE="CHECKBOX" NAME="elf" VALUE="X"> My Little Elf <INPUT TYPE="CHECKBOX" NAME="felix" VALUE="X"> Felix the Kangaroo</PRE>
<PRE> <INPUT TYPE="SUBMIT" NAME=""> <INPUT TYPE="RESET" NAME=""></PRE>
</FORM>

  

  

Show a user-created page if a required field is left blank? *
This uses the *on-error* variable

Show a success page? *
This uses the success variable

Wrap my text to columns wide. *
This uses the *wrap-text* variable

* These variables are usually Hidden variables in your HTML form.

  

Name:

My secret ID number is:

I am: 
 0-6   7-12   13-15   16-21   22-35   Older than 35
  

I'd like to receive the following:

 Tickle Me Elmer    My Little Elf    Felix the Kangaroo

      
  

Note: The template file also has a CGI environment variable $HTTP_REFERER and the *date-time* variable. With these, the email meesage will have the referring URL and the date and time the message was processed.

  

Powered by MailPost

MailPost Homepage

  

For additional information not presented here, email mailpost@mcenter.com

For problems concerning this site, email webmaster@mcenter.com