Home | Yahoo Store Design Packages | RTML Packages | SEO Services | RTML Templates | Customer Service |
Tips and Information Blog For Yahoo Store Owners | Search Our Site |


Building, Expanding, Succeeding Yahoo Stores for 6 Years.

 

Step 1

Choosing the package that best fits your Yahoo Store needs. Need help? Click HERE to use our guide that will assist you in your selection. Have questions? Call us toll free 888-312-7839

 

Step 2

Sign up online by adding the design package or RTML Enhancements to your cart and complete the check-out process. Have questions? Call us toll free 888-312-7839

 

 

Step 3

We will send you a design questionnaire form that will help us to understand what your needs are, who your clients are, and how we can achieve the best results for your store. Have questions? Call us toll free 888-312-7839

CGI Email Tutorial
 

This tutorial will teach you how to use the CGIEmail script that is pre-installed with your hosting account.

What is CGIEmail?
CGIEmail is a form mailing script, similar in function to Matt Wright's formmail.pl, but it uses a text based email template instead of just sending an email with a list of form variables.

Where is CGIEmail located?
http://www.yourdomain.com/cgi-sys/cgiemail


This tutorial is broken down to 4 steps:

1.) Creating the HTML Form
2.) Creating the Email Template
3.) Testing your form.
4.) Extra features

1.) Creating the HTML Form

Create a simple html form in your favorite html editor. Something similar to this one:

First Name:
Last Name
Email:

 

HTML Source:

<FORM action="/cgi-sys/cgiemail/myform.txt" METHOD="post">
  First Name: <INPUT name="firstname" type="text"><br>
  Last Name: <INPUT name="lastname" type="text"><br>
  Email: <INPUT name="emailaddress" type="text"><br>
  <INPUT type="button" name="Button" value="Submit">
</FORM>

Save the html form. For this tutorial, we will save it as form.html.

Notice we chose the name of the email template to be myform.txt. You can name it whatever you wish (note: do not name it email.txt! it won't work). The path of the form action="" should be /cgi-sys/cgiemail plus the path to your email template file. In this case, our email template file, myform.txt, is located in the same place as our html form. But if it were located in say a subfolder named foobar, then the form action="" would look like this:

<FORM action="/cgi-sys/cgiemail/foobar/myform.txt" METHOD="post">



2.) Creating the Email Template

The Email template is just a regular plan text file. You can name it pretty much whatever you want, except "email.txt" . The first couple of lines must include the following information:

From:
To:
Subject:

To use the data submitted in the form, place the form field name inside []. We will name our template myform.txt for the purpose of this tutorial. So our email template will look like this:

From: [emailaddress]
To: you@yourdomain.com
Subject: Website Form data

Hi, my name is [firstname] [lastname]
My email address is [emailaddress]

Now save the myform.txt and form.html.


3.) Testing our Form

Now that we have our html page, and our email template, we just need to upload it to our website and test it. When you submit a form, you should see a page that shows the email that will be sent to the recipient.

 

4.) Extra CGIEmail Features

Here are some extra features that cgiemail supports:

Required Form Fields
Prepend required- to the name of the form field in both your html form, and the email template and it will force the user to enter a value for that field. Your code should look something like this:

form.html:

<INPUT TYPE="text" NAME="required-firstname">


myform.txt

Hi, my name is [required-firstname]

Submission Success Page
You can have the user directed to a html page of your choice after they submit the form, instead of being taken to a page showing the email. To do this, put the following code in your html form page.

<INPUT TYPE="hidden" NAME="success" VALUE="http://www.domain.com/somepage.html">


Home | Web Hosting | F.A.Q. | Other Services | Help/Tutorials | Web Templates | Standard Web Hosting Plan | Deluxe Web Hosting Plan | Premium Web Hosting Plan | Custom Web Hosting Package | Transfer Web Hosting | Merchant Account | Search Engine Optimization (SEO) | Start Your Own Business

Have Questions? Call us Toll Free 888-312-7839 or Email Us


Sign up for PayPal and start accepting credit card payments instantly.

See the results of our Redesign Special for yourself! Our owners have seen their website traffic at least DOUBLED or TRIPLED!

More traffic = More Sales!

So get started today! Sign up now and let us help get traffic to your web store!



Yahoo Design Special - Most Popular
Yahoo Design Special PLUS
Facelift For Yahoo Store
Full Optimization Special
Copy Existing Store
Build a New Yahoo Store
Design Comparison Chart

Portfolio
See The Results
Custom Logos
Pre-Made Designs
Why Yahoo Store?

SEO RTML Templates Package
SEO RTML Templates Plus
Design Implementation
Design Implementation W/ RTML
Design Comparison Chart

Blog Content
Link Management / Blog Content
Pay Per Ranking SEO
Website Review & SEO
Build Database

SEO
Design & Graphic
Usability and Navigation
Back End & Processing
SEO RTML Templates Package
SEO RTML Templates Plus

Blog
Newsletter
What is SEO?
Get More Traffic!
Tips and Tricks
Save Money
Merchant Account
Articles
Tools
Resources
Yahoo Store Help

About Us
YStore Online Classes
Custom Order


Subscription Information
Show Order
Privacy Policy
Contact Us
Search
Index