MTVWebdesign MailPage- An Excellent Free Send Page by Email Script

Introduction
After testing many different free page mailing scripts, I have determined that MTVWebdesign MailPage is the best, since it allows the user to send either a link, an HTML page or an attached page to a friend or to himself. The script is a good way to advertise your site, since sending the HTML page ensures that the recipient can click on any link on the page to visit your site. Visitors to this site send an average of over 200 pages a month to their friends.
Installation
This is a simplified, "quick and dirty" instruction set to get the program up and running.
- Download the program at
MTVWebdesign MailPage(link no longer active) or below. - Extract the downloaded program using Win Zip or other zip extraction program.
- Open the "mailpage" folder. Open the "mailpage.cgi" file with a text editor (like Notepad, BBedit, etc.). Edit the first line (Path to Perl) if necessary. For most hosts, the setting should be "#!/usr/bin/perl" (default is "#!c:/perl/bin/perl").
-
Open the "mailpage.conf" file with a text editor. You must edit
six settings within this file. If your hosting service uses CPANEL,
these are the settings you should use:
- $servicename = "Your Website Name";
- $servicelocation = "http://www.yourwebsite.com/";
- $mtvwebdesignlib = "/home/yourusername/public_html/ cgi-bin/mtvwebdesign.lib";
- $privacy_file = "/home/yourusername/public_html/ cgi-bin/privacy.txt";
- $use_flock = "1";
- $mailprog = "|/usr/sbin/sendmail -t";
- Upload the contents of the "mailpage" folder ("mailpage.cgi", "privacy.txt", and "mtvwebdesign.lib") using an FTP client into the cgi-bin directory where your html files go. Change the permissions of the "mailpage.cgi" and "mtvwebdesign.lib" files to 755.
- Put a link on each page of your site to the "mailpage.cgi"
script (e.g., "/cgi-bin/mailpage.cgi".
The script automatically detects the referring page and sends that page
when the user completes the form.
OR
Include the script through SSI (e.g., name the page as "send.shtml") and add the code:
<!--#include virtual="/cgi-bin/mailpage.cgi" -->
OR
Include the script through PHP (e.g., name the page as "send.php") and add the code:
<? virtual ("cgi-bin/mailpage.cgi"); ?>
Customizing the script
Mailpage does not offer templates, so I edited the script directly to change the formatting of the sending page. I changed the table organization and layout along with the default sending method (from "As a URL" to "In the body of an email"). This way, the entire HTML page will be sent by default. Your site has a much better chance of being visited if the user finds a link that interests him.
You can download the script package below. No technical support is provided.
Otherwise, download the script at:
MTVWebdesign MailPage(link no longer active)
Update
The script was being abused by spammers, so a subroutine was added to block any messages containing a URL. In addition, a feature was added to restrict referring URLs, so be sure to specify your domain in the @okaydomains variable. However, the script is provided "as is" with no particular warranty for usefulness or even the implied warranty of merchantability or fitness for a particular purpose.
Conclusion 
Let your visitors advertise your site for you by putting a "Email Page" link on your site. MTVWebdesign MailPage is the best available, since it has the option of sending the page as HTML, a URL or an attachment.
Daily Deals from Buy.com
We are a leading retailer focused on providing a positive shopping experience & competitive prices and free shipping for over 9 million products.
- 02/09/2012 02:00 AM
Get a Toshiba Satellite L635-S3100 13.3" Notebook (Black) for $469.99 at Buy.com, a $160 Savings! Valid through 02/13/2012
PRODUCT: Buy.com Price: $469.99, List Price: $629.99 SAVE $160, Valid through 02/13/2012
image/jpg (1 Bytes) - 02/09/2012 02:00 AM
Get an LG 47LV4400 47" LED HDTV 1080p 120Hz for $749.99 at Buy.com, a $549.01 Savings! Valid through 02/13/2012
PRODUCT: Buy.com Price: $749.99, List Price: $1299 SAVE $549.01, Valid through 02/13/2012
image/jpg (1 Bytes) - 02/09/2012 02:00 AM
Get a Kobo Vox 7" eReader (Green) - Receive a $10 Kobo Gift Card w/ Purchase for $179.99 at Buy.com, a $20 Savings! Valid through 02/13/2012
PRODUCT: Buy.com Price: $179.99, List Price: $199.99 SAVE $20, Valid through 02/13/2012
image/jpg (1 Bytes) - 02/09/2012 02:00 AM
Get an LG 37LK450 37" LCD HDTV 1080p 60Hz for $449.99 at Buy.com, a $250 Savings! Valid through 02/13/2012
PRODUCT: Buy.com Price: $449.99, List Price: $699.99 SAVE $250, Valid through 02/13/2012
image/jpg (1 Bytes) - 02/09/2012 02:00 AM
Get a Fantom Drives Diamond 1.5TB 64MB Cache USB 2.0 External Hard Drive for $99.99 at Buy.com, a $24.96 Savings! Valid through 02/13/2012
PRODUCT: Buy.com Price: $99.99, List Price: $124.95 SAVE $24.96, Valid through 02/13/2012
image/jpg (1 Bytes) - 02/09/2012 02:00 AM
Get an ASUS VH242H 24" (23.6" Viewable) Widescreen LCD Monitor for $159.99 at Buy.com (after mail-in rebate), a $19.01 Savings! Valid through 02/13/2012
PRODUCT: Buy.com Price: $159.99, List Price: $179 SAVE $19.01, Valid through 02/13/2012
image/jpg (1 Bytes) - 02/09/2012 02:00 AM
Get a Logitech V220 Optical Mouse Espresso Brown for $9.99 at Buy.com, a $20 Savings! Valid through 02/13/2012
PRODUCT: Buy.com Price: $9.99, List Price: $29.99 SAVE $20, Valid through 02/13/2012
image/jpg (1 Bytes) - 02/09/2012 02:00 AM
Get a TDK 8X DVD+R 8.5GB Double Layer (50-pack Spindle) for $29.99 at Buy.com, a $66.28 Savings! Valid through 02/13/2012
PRODUCT: Buy.com Price: $29.99, List Price: $96.27 SAVE $66.28, Valid through 02/13/2012
image/jpg (1 Bytes) - 02/09/2012 02:00 AM
Get an Epson Stylus Photo R2880 Color Inkjet Photo Printer - Refurbished for $349.99 at Buy.com, a $250 Savings! Valid through 02/13/2012
PRODUCT: Buy.com Price: $349.99, List Price: $599.99 SAVE $250, Valid through 02/13/2012
image/jpg (1 Bytes) - 02/09/2012 02:00 AM
Get a RIM BlackBerry PlayBook 16GB Tablet for $199.99 at Buy.com, a $299.01 Savings! Valid through 02/13/2012
PRODUCT: Buy.com Price: $199.99, List Price: $499 SAVE $299.01, Valid through 02/13/2012
image/jpg (1 Bytes)
http://www.godandscience.org/general/mailpage.html
Last Modified March 18, 2009



