TD Form
Mailer
Note: As of February 28, 2007 the TD Form Mailer script is no longer being developmed and has been retired.
Allow people visiting your site to send you or others email from a web-based form. Send TDavid a note the easy way and at the same time you can demo TD Form-Mailer 1.0. You can also send email to friends with this handy freeware form-mailer. Just set the FORM tags as follows inside any webpage in HTML:
FORM ACTION = all forms start with
this tag
Example:
<form action="/cgi-bin/tdformmailer.cgi" method="POST">
<-- call from same domain (relative)
Example:
<form action="http://www.anydomain.com/cgi-bin/tdformmailer.cgi"
method="POST"> <- call outside script domain (there
is a built-in security setting in the script to prevent offsite use if you don't want it)
to = this is who you are sending the
email to, if it is left blank the
script will send to a default address you define inside the configuration
section, this is a great way to keep your email safe from email harvestering bots since it
will show up nowhere on the page or in the source (try to find my email address by doing a
view source right now... cool, huh?)
Example: <input
type="text" name ="to">
from = this is who the email is coming
from, the script will check for email syntax and present the user with an error if it
isn't in the proper syntax
Example: <input
type="text" name ="from">
subject = the subject of the email
Example: <input
type="text" name ="subject">
dropdownmenu = dropdownmenu is
optional
Example:
<select name="dropdownmenu" size="1">
<option
value="choice1">choice1</option></select>
contents = the body of the message
Example:
<textarea name="contents" rows="5"
cols="64"></textarea>
submit = You need a submit button to
actually submit the contents of a form
Example: <input
type="submitt" value ="Submit">
closing FORM tag = don't forget your
closing form tag. I've been there and done that :-)
Example:
</form>
*Freeware Version - You
make the form in any HTML document and call tdformmailer.cgi
using the FORM ACTION tag. You can control whether you want results
mailed to you, or to provide your surfers a convenient way to mail
others. Checks email syntax as well as provides a handy security
setting to allow onsite use only or universal calling from any website
*Use of freeware versions of all TD Scripts require a linkback to the home page. Please use the following link syntax below or you are welcome to take the 3D logo at the top of the page (just make sure to serve it from your server, please). In some scripts there are linkbacks built-in, so as long as you don't remove those you can download and use my scripts.
TDavid's Script Shop - Useful CGI-scripts for Webmasters with freeware versions
[ home ] [ write TDavid ]
Copyright 1999-2007 TD Scripts All Rights Reserved