TigerTom's Form Mailer (TTMailer)
Version 1.0
Release date: 19th July 2006.
http://www.tigertom.com
Download: http://www.ttfreeware.com/download/ttmailer.zip
Demo: http://www.ttwebmaster.com/ttmailer/ttmailer.html
Readme: http://www.ttwebmaster.com/ttmailer/README.txt
Support: http://www.tigertom.com/forum/
Copyright (c) 2006 T. O' Donnell
Released under the GNU General Public License, with the
following proviso:
That the HTML of hyperlinks to the author's website
this software generates shall remain intact and unaltered,
in any version of this software you make.
================================================
INSTRUCTIONS for using this script are split
between:
Here, in 'ttmailer_config.php', 'ttmailer.php', and 'ttmailer.html'.
Open all three files and read them.
NOTE!: 'ttmailer.php' has some sub-routine calls deactivated.
Read the top section of that file to find out how to activate them, if you need them.
Quick setup instructions:
- FTP 'ttmailer.zip' to your web space directory e.g. 'public_html' or 'www'
- Unzip it there
- If you have telnet or SSH access, run this command: CHMOD 606 data data/subscriber.dat data/datafile.dat
- Also unzip 'ttmailer.zip' on your home computer
- Open 'README.txt', 'ttmailer_config.php' and 'ttmailer.php', and 'ttmailer.html' in a proper text editor, like EditPad, and follow the instructions therein.
- FTP any files you make changes to, to your web server in ASCII mode.
******************* Email Attached Files *******************
If you want to email zip, .tar.gz, hqx or .exe files
as attached files:
Create a subdirectory 'dump' in a directory above your web space.
FTP the files you want to email to this
sub-directory, and specify their names in your 'ttmailer.html' hidden text.
Your form should have code in it like this :
[This blank value allows the customer to deselect a file]
Using radio buttons and the same NAME means only one file
can be selected by the customer, and then uuencoded and emailed.
NOTE: The script can only handle one file at a time.
Put the absolute path to 'dump' in the appropriate place
in 'ttmailer_config.php'
=========
GOT ERRORS?
---------------------------------
- FTP upload the file 'ttmailer.zip' in BINARY mode only.
- FTP upload individual .php files in ASCII mode only.
- Don't edit the .php and and .dat files in a word processor, like MS Word. Use a simple text editor
like Windows NotePad or EditPad instead.
- Change permissions of sub-directories, where files are written to, to be readable and writeable ('data')
e.g. at the command line type: CHMOD 606 data
- Change permissions (CHMOD) .php files to 705, except 'ttmailer_config.php'. Leave that alone.
- Make a note of the error message, and type it in Google. Leave out your unique paths and file-names.
- If it's a server error, repeat what caused the error, then go quickly to the error log on your
control panel that came with your web hosting account. Any clues there?
Genuine bugs can be reported here: http://www.tigertom.com/forum/