Mail Form Help File


This help file is designed to guide you through the setup of our email form.
The form will take information from the user and email it to you.

If you are looking for our other mail form (writes to a file instead of sending email), please follow this link to Database Form Help File (not yet implemented).

The mail form, mailform.pl, is located in the /cgi-bin/ directory.

Create your form in the following way:

LOCATION

To invoke the mailform script, begin your form the following way:

<FORM ACTION="/cgi-bin/mailform.pl" METHOD="GET">

This will call the script when the user submits the form.

The method can be either GET or POST, it doesn't matter.

RECIPIENT

Now that we have defined the location of the script, we need to specify who the recipient is going to be:

<INPUT TYPE="hidden" NAME="recipient" VALUE="your_email@california.com">

This will send the email to your-email@california.com. Replace youremail for your email name.

SUBJECT

This field is for specifying the subject of the message:

<INPUT TYPE="hidden" NAME="subject" VALUE="Email Form Submission">

When you get the email, it will replace your "VALUE" above in the subject header.

REAL NAME

You should use the following "NAME" for your customer's real name in the form. The point is that you will be notified in your email of who is sending you information via our mail form script:

<INPUT TYPE="text" SIZE=25 NAME="realname">

BODY ATTRIBUTES

And here you have a complete list of the attributes you can use with the form. This is used by the return page, which will use these values instead of the built in ones:

To name your page use:
<INPUT TYPE="hidden" NAME="title" VALUE="My Page">

For your background color use:
<INPUT TYPE="hidden" NAME="bgcolor" VALUE="desired_color">

For a background image use:
<INPUT TYPE="hidden" NAME="background" VALUE="image_name">

Your links color:
<INPUT TYPE="hidden" NAME="link_color" VALUE="desired_color">

For visited link color use:
<INPUT TYPE="hidden" NAME="vlink_color" VALUE="desired_color">

Active link color:
<INPUT TYPE="hidden" NAME="alink_color" VALUE="desired_color">

Color for the body text:
<INPUT TYPE="hidden" NAME="text_color" VALUE="desired_color">

RETURN LINK

To include a return link in your page, include the following line in your form:
<INPUT TYPE="hidden" NAME="return_link_url" VALUE="file_location.html">

This can be used in conjuction with a title for the URL:
<INPUT TYPE="hidden" NAME="return_link_title" VALUE="your_title">

RETURN SORTING

If you'd like to sort the results of the mail form, you may use the following option:

<INPUT TYPE="hidden" NAME="sort" VALUE="alphabetic">

There are no other options for sorting the results.

REQUIRED FIELDS

Sometimes it is necessary that a user fills certain fields of your form. In order to impose this, all you need to do is include the following value to the field:

<INPUT TYPE="text" SIZE="25" NAME="email" VALUE="required">

This will force the user to fill the empty fields that you specify.

This is all the information required in order to use mailform.pl.
There is no technical support provided. Use the form at your own risk.
For information on our other mail form, please follow this link to Database Form Help File (not yet implemented).


For any further information regarding mailform.pl, please email support@california.com

 

CaliforniaCom Inc.
Internet and Network Service Provider
Serving the San Francisco Bay Area
1624 Franklin Street, Suite 30
Oakland, CA 94612
U.S.A
Tel: 510.287.8450
info@california.com

home | access numbers | support | services & rates

 

 

Copyright (c) 1998 CaliforniaCom Inc. All rights reserved. Reproduction in whole or in part in any form or medium without express written
permission of CaliforniaCom Inc. is prohibited. CaliforniaCom and the CaliforniaCom logo(s) are trademarks of CaliforniaCom Inc. Website logos, concept & design by webmaster