Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.6 / 3....
  • Linux Kernel 3.0.82 LTS...
  • KDE Software Compilatio...
  • PulseAudio 4.0
  • Wireshark 1.10.0
  • NetworkManager 0.9.8.2
  • LibreOffice 3.6.6 / 4.0...
  • SystemRescueCd 3.7.0
  • Linux Kernel 3.10 RC6
  • Ubuntu Tweak 0.8.5
  • Home > Linux > Programming > Perl Modules

    CGI::Application::MailPage 1.7

    Download button

    No screenshots available
    Downloads: 556  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    Poor (1.8/5)
    9 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Sam Tregar | More programs
    Perl Artistic License / FREE
    May 23rd, 2008, 09:54 GMT
    ROOT / Programming / Perl Modules

     Read user reviews (0)  Refer to a friend  Subscribe

    CGI::Application::MailPage description

    A Perl module to allow users to send HTML pages to friends

    CGI::Application::MailPage is a Perl module to allow users to send HTML pages to friends.

    SYNOPSIS

    use CGI::Application::MailPage;
    my $mailpage = CGI::Application::MailPage->new(
    PARAMS => { document_root => '/home/httpd',
    smtp_server => 'smtp.foo.org' });
    $mailpage->run();


    CGI::Application::MailPage is a CGI::Application module that allows users to send HTML pages to their friends. This module provides the functionality behind a typical "Mail This Page To A Friend" link.

    To use this module you need to create a simple "stub" script. It should look like:

    #!/usr/bin/perl
    use CGI::Application::MailPage;
    my $mailpage = CGI::Application::MailPage->new(
    PARAMS => {
    document_root => '/home/httpd',
    smtp_server => 'smtp.foo.org',
    },
    );
    $mailpage->run();


    You'll need to replace the "/home/httpd" with the real path to your document root - the place where the HTML files are kept for your site. You'll also need to change "smtp.foo.org" to your SMTP server.

    Put this somewhere where CGIs can run and name it something like mailpage.cgi. Now, add a link in the pages you want people to be able to send to their friends that looks like:

    mail this page to a friend

    This gets you the default behavior and look. To get something more to your specifications you can use the options described below.

    Product's homepage

    Requirements:

    · Perl

      


    TAGS:

    send HTML pages | CGI application | Perl module | CGI | mail | HTML

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM