Welcome to CGI City - One of the biggest WWW Resources for CGI and Perl materials
Our Original Scripts Collection
Author: Peter Go
Price: US$ 30.00 - (purchase using our secure page)
Platform: UNIX

What is Mail-A-File?
Mail-A-File is a web-based email program (written in Perl) with file attachment features. The program allows any user to send an email from a web-based form to any recipient with a valid email address plus the ability to attach a file to the email message. This is a great feature to add to both business and personal web sites.

Mail-A-File Screen Shot
Click on image to see a feature-limit demo.

How does Mail-A-File work?
MAIL-A-FILE makes use of two Perl libraries/modules namely:

  • CGI_LIB.PL - developed and copyright © by Simon Tneoh Chee-Boon
    CGI_LIB.pl is used to parse data (including the file attachment) from the web form.

  • MAIL_LIB.PL (slightly revised version of MIME Lite.pm)
    MIME Lite originally developed and copyright © by Eryq
    MAIL_LIB.pl is used to generate the MIME email attachments.

    Both these Perl libraries/modules are bundled with every purchase of Mail-A-File.

Multiple File Attachment Feature
Mail-A-File allows for file attachments (up to a maximum of 5 files simultaneously) to the email message being sent. The program can be configured to set an aggregate file size limit to the attachment(s). Most file types are supported and have been tested to work with Mail-A-File.

In order for Mail-A-File to work properly, the following are required:

  • Webhost server running a Unix operating system (e.g. Linux);
  • Unix sendmail program, properly configured and installed; (also works with Qmail)
  • Perl interpreter, properly configured and installed;
  • proper permissions from your web host admin for you to run custom Perl scripts.

In no event will CGI City or the program's author be liable to the user of this script or any third party for any damages, including any lost profits, lost savings or other incidental, consequential or special damages arising out of the operation of or inability to operate this script, even if user has been advised of the possibility of such damages.

Ordering Mail-A-File
Please read the Requirements and Disclaimer above before placing and order.

Mail-A-File may be purchased for only US$ 30.00. You may order through our secure online credit card payment system (via CCNow.com). After confirmed receipt of payment, the script will be sent to you via email - so please make sure you enter your email address correctly.

secure payment

CGI City's Secure Payment System by:


Order Mail-A-File Now

IMPORTANT - Read This Before Ordering:

All ordered CGI City scripts are sent via e-mail as attachments after confirmed receipt of payment. We will send the ordered scripts only to email addresses which are either associated with your own domain name or your ISP's domain name.

If the contact email address provided is a free account like Hotmail, Yahoo! Mail or any other free web-based email account, the order WILL NOT be honored. Such orders will be cancelled immediately and the credit card used refunded the appropriate amount. We have received far too many fraudulent transactions associated with free email accounts which forced us to implement this rule.

Important Note To Credit Card Orders

Please choose the appropriate Shipping To information upon your order. This is just for record purposes. The script(s) will be sent to you via email within 24 hours of verification and approval of your credit card information.

Search For:
Quick jump to
Home | About Us | Contact Us | Link To Us | Search
Tips & Tutorials | References | Books | Add A Resource
Custom Programming Services | Advertise
Disclaimer | Privacy Policy

Copyright © 1998-2099    CGI City    All Rights Reserved
All original materials contained herein including text, images, and original scripts written by CGI City, are copyrighted by CGI City. All other scripts and materials are copyrighted by their respective authors/owners.