PWP Email/Mail To Processing
Prodigy Personal Web Pages Mailto Email Link Information

HTML Tutorials

Creating a Basic Email/Mailto Link on Your Personal Web Page

If you want to receive Email from visitors to your site, it's very easy to setup a basic Email link.

In its most basic form, an Email link will pop up the users Email Client (either included with their browser or an external program) provided their browser has this capability.

The basic syntax to accomplish this is very simple:

* Start with the standard HREF syntax
* Inside the quotes, use the mailto: tag
* After the colon, use YourID or Netname@prodigy.com
* Add the text you wish to make clickable
* Close the HREF tag and you're done!

Just below is a sample of mailto HTML syntax:

<A HREF="mailto:YourID(or Netname)@prodigy.com"> Send Email to netname@prodigy.com</A>


The finished link on your page, after you edit the syntax shown above to use yourID@prodigy.com or your netname@prodigy.com would look similar to the sample below:

Send Email to netname@prodigy.com

If you also include your Email Address in a clickable link, even if the visitor's browser doesn't support sending mail directly, your Email address is displayed for reference.


Creating a More Sophisticated Email/Mailto Link

With just a little more work, you can create a slightly more sophisticated Email/Mailto link that will work with most forms capable web browsers.

With just a single line of HTML, you can create a link that displays Prodigy's Personal Web Pages default mailto form.

This method automatically displays a form to the visitor selecting this link. This method allows you to optionally specify a subject and automatically creates a field in form for the visitor to enter their email address and name.

The information you need and the syntax you need to use:

1. First, the part of the syntax that is required to point the optional variable at the correct Personal Web Pages script:

<A HREF="http://pages.prodigy.com/cgi-search/mailto?to=


2. Next, add your Email address:

<A HREF="http://pages.prodigy.com/cgi-search/mailto?to=yourID@prodigy.com


3. Then, optionally add the field for a subject by using the ampersand to separate 'fields" and the variable name, "subject" and then an = sign.

<A HREF="http://pages.prodigy.com/cgi-search/mailto?to=yourID@prodigy.com&subject=


4. To predefine the subject name so that the subject line when received in your mailbox is specified if the visitor doesn't change it, add the subject, separating each word in the subject line with two ++ signs. Remember to close the HREF with the ">" character.

<A HREF="http://pages.prodigy.com/cgi-search/mailto?to=yourID@prodigy.com&subject=Comments++About++My++Prodigy++PWP">


5. Type the text you wish to use at the clickable link. (Again, it's probably a good idea to use your email address here in case the visitor to your page doesn't have a forms capable browser). Remember to close the link with the syntax "</A>".

<A HREF="http://pages.prodigy.com/cgi-search/mailto?to=yourID@prodigy.com&subject=Comments++About++My++Prodigy++PWP">YourNetname@prodigy.com</A>


6. Add introductory text if you wish, such as "Send Feedback to:" and you're done!

Send Feedback to:

<A HREF="http://pages.prodigy.com/cgi-search/mailto?to=yourID@prodigy.com&subject=Comments++About++My++Prodigy++PWP">YourNetname@prodigy.com</A>


The visitor to your page will see:

Send Feedback to: YourNetname@prodigy.com

And, if they select this link, the form shown just below will be displayed.


To:  yourID@prodigy.com 

Your email Addr:  
"Real" Name:     
Subject:         Comments  About  My  Prodigy  PWP





If you're interested in constructing a more detailed form for structured output, please see our Personal Web Pages Forms Tutorial.


Copyright © 1996 Prodigy Services Company. All Rights Reserved.