Lozinski's Email Scripts

Whether you have Unix or NT/2000, running PHP, Perl, or ASP/VBScript, here are some easy email solutions for your website!

  LANGUAGE
    ASP/VBScript Perl PHP Flash
PLATFORM/OS WindowsNT/2000 Basic
Advanced
Basic
Advanced
Basic
Advanced

Flash interface is FREE to registered users of any "advanced" version who ask for it! You must include your registration number with your request! The flash file is emailed in the raw .fla format, with all the libraries included, for easy editing!
See the flash interface or get more information!

Unix - Basic
Advanced
Basic
Advanced

What's new in the latest version?

1.3 is the latest release. All of the "advanced" versions are now able to limit the number of characters in the "message" field, and allow the end user to choose whether to have the message sent in html or plain text format. No changes have been made to the "basic" versions.


Differences between the "Basic" and "Advanced" versions of my scripts:
ADDITIONAL FEATURES NOT AVAILABLE IN THE "BASIC" VERSION:
  1. Dynamically specify the "subject" field through the query string.
    For example:
    http://www.yourdomain.com/cgi-bin/email_advanced.asp?subject=hello_world
    will cause the phrase "hello_world" to automatically show up as the subject for the email!
  2. Dynamically specify the "to" field through the query string.
    For example:
    http://www.yourdomain.com/cgi-bin/email_advanced.php?to=someone@somewhere.com
    will cause the email to override the default destination address. Great feature if you need to send a certain form submittal to another email address!
  3. Dynamically specify the "from" field through the query string.
    For example:
    http://www.yourdomain.com/cgi-bin/email_advanced.asp?from=webmaster@thiscomputer.com
    will cause the email to override the default from address. Great feature if you want the email to come "from" another email address!
  4. Any combination of the above!
    For example:
    http://www.yourdomain.com/cgi-bin/email_advanced.php?subject=hello&from=webmaster@thiscomputer.com
  5. Limit the size of the message!
    Limit the number of characters allowed in the "message" field!
  6. Multiple file attachments!
    The ability to add multiple file attachments instead of just one!
  7. Limit the file upload size!
    Can specify if there are any limitations to the file upload size, and if so, how big the allowed files are to be!
  8. Limit attachments by file type!
    Restrict the attachments users can send you by file type!
  9. Style sheets!
    The ability to set (or link in) style sheet definitions to customize your HTML text to look like it does on the rest of your site!
  10. Restricted Emails
    Set specific emails you wish to "restrict" from submitting. Users who enterd the specified "restricted" address(es) will receive an "error" message and their email will not be processed!
  11. Special Emails
    Set "special" emails for those user address you wish to leave special messages for! An example might be when your wife completes the form, you could have the program tell her how much you love her! :)
  12. HTML or Plain Text Formatting
    The user can select whether their message is sent in plain text or html format!

See below for a summary of the features and differences:

  Basic Version Advanced Version
Specify "background" color X X
Specify "background" image X X
Specify "required" field font color X X
Specify "optional" field font color X X
Supports "style sheets" allowing you to specify font size, face, color, and other attributes   X
Supports "linking in" external style sheets you already have defined for your site   X
Enable/disable "optional" input fields X X
Max number of file upload attachments allowed 1 unlimited
Can limit number of characters allowed in the "message" field   X
Can limit file upload sizes   X
Restrict file uploads by file types   X
Specify "restricted" emails   X
Set "special" emails   X
Configure default "to" email address X X
Dynamically supply a "to" email over-riding the default   X
Configure default "from" email address X X
Dynamically supply a "from" email over-riding the default   X
Configure default "subject" X X
Dynamically supply a "subject" to automatically appear in the input field   X
Message can be sent as plain text or in HTML format   X
Optional "Flash 5" interface available to registered users upon request   X
Product Upgrades
*Can only upgrade for free within the same language you originally purchased. For example, you cannot purchase the advanced "asp" version, and then upgrade to an advanced "php" version.
free free*
Cost free $30


SEE MY SCRIPTS IN ACTION!

None of these demos are configured to actually send the message you enter to prevent spammers from using my online demo site. Everything else is fully functional.

"Basic" Demos:
See a "Basic" version (php) in action!
Everything is enabled -- the optional fields and file upload field.
See another "Basic" version (perl) in action!
Optional input fields are disabled, but the file upload field is enabled.


"Advanced" Demos:
See an "Advanced" version (php) in action!
Everything is enabled -- the optional fields, style sheets, several file upload fields, and the file upload size limitation (which can be disabled). There is a "special" email address set at "wife@home.com" and a "restricted" email address set at "no_email@junk.com" -- try entering those and see what happens! :) You also see how the "subject" is automatically supplied through the URL!
See another "Advanced" version (perl) in action!
Same as above EXCEPT there are no file upload restrictions, and the following file types are not allowed: .exe, .dll, .gif, .jpg, .doc.


"Flash" Demo:
See the FLASH interface in action!
This interface is FREE (upon request) to registered users of any "advanced" version of my email programs! File is shipped in the raw .fla format, with all libraries included, for easy editing! (Macromedia Flash 5 or later required for edits)

DOWNLOAD MY SCRIPTS!

ASP/Active Server Pages Visual Basic Script:
email_basic.asp is a script which is a feedback form, allowing a single file attachment/upload, and then sends SMTP compliant email messages!

Requirements:
  1. Windows NT or Windows 2000
  2. IIS 4.0 or IIS 5.0
  3. An SMTP functionality enabled on the local server.
Basic Installation/Configuration Instructions:
  1. Download the basic ASP version here (a plain ascii-dos text file) onto your system, saving the file as "email_basic.asp".
  2. Configure the default email address.
  3. Configure the directory where you want the file attachments temporarily stored until they're emailed.



Perl:
email_basic.pl is a script which is a feedback form, allowing a single file attachment/upload, and then sends the email messages! This script should run "as is" on either Unix or WindowsNT/2000 with Perl installed provided you meet the requirements.

Requirements:
  1. Perl version 5.003 (or greater) for Unix, or ActiveState's Active Perl 5.6.1 (or greater) for Windows NT/2000.
  2. "sendmail" which must be properly installed and configured.
  3. The standard "CGI" module. If you do not have it installed, it is free for download from CPAN.
Basic Installation/Configuration Instructions:
  1. Download the basic perl version here (a plain ascii-dos text file) onto your system, saving the file as "email_basic.pl".
  2. Set the value for "$DESTINATION_EMAIL" to the default email address you would like emails sent to.
  3. Set the value for "$FROM_EMAIL" to the default email address you would like emails that are sent to the end user to come from.
  4. Set the value for "$SENDMAIL" to the location of "sendmail" on your system.
  5. Set the value for "$TEMPPATH" to point to the directory where you would like file uploads temporarily stored. Make sure the directory you specify has proper permissions so files can be saved!
  6. Make sure the file email_basic.pl has 755 (rwxr-xr-x) or similar permissions on your system so it can run.



PHP:
email_basic.php is a script which is a feedback form, allowing a single file attachment/upload, and then sends email messages! This script will should run "as is" on either Unix or WindowsNT/2000 with PHP installed provided you meet the requirements.

Requirements:
  1. PHP version 4.1.2 or greater.
  2. Unix or Windows NT/2000
  3. This script relies on PHP's built in "mail" function, which must be properly configured.
  4. The "mail" function uses "sendmail" on Unix and an SMTP server on Windows.
Basic Installation/Configuration Instructions:
  1. Download the basic php version here (a plain ascii-dos text file) onto your system, saving the file as "email_basic.php".
  2. Set the value for "$DESTINATION_EMAIL" to the default email address you would like emails sent to.
  3. Set the value for "$FROM_EMAIL" to the default email address you would like emails that are sent to the end user to come from.
  4. Make sure the file email_basic.php has 755 (rwxr-xr-x) or similar permissions on your system so it can run.



Flash:
The flash interface is FREE to registered users of any "advanced" version. It does not allow for file uploads, nor is configurable. The interface is Flash 5. It is emailed in its raw .fla format for easy editing.

Requirements:
  1. Macromedia's Flash 5 Studio or later
  2. One of the "Advanced" versions of my email scripts.
Basic Installation/Configuration Instructions:
  1. Save the file "flash_email.fla".
  2. Open the file in the Flash editor.
  3. Go to the last frame in the main timeline and "Right click" on the keyframe.
  4. From the menu, select "actions".
  5. Select the line that begins with "getURL"
  6. Edit the value for the URL as appropriate for your server
  7. Save the file
  8. Publish the movie
  9. Upload the resulting .swf file (in BINARY mode) to your website.
  10. Upload the resulting .html file (in ASCII mode) to your website.

ORDER NOW!

DISCLAIMERS