Email CGI

To help combat spam, Clarke Computer Company has installed a program that will allow you to avoid mailto:s on your site and yet still receive user feedback from your web pages.

Parameters

name (required) (non-edittable by user)
The name within the domain to which the email will be sent.
domain (optional) (non-edittable by user)
The domain to which the email will be sent. If not set, it defaults to the current domain.
subject (optional) (edittable by user)
What the email is about.
message (optional) (edittable by user)
Initial text of the message.
page (optional) (non-edittable by user)
The URL of a link included at the bottom of the form and response. Defaults to the referring page.
page_name (optional) (non-edittable by user)
The name of the link(see page above) at the bottom of the form and response. Defaults to "back".
page_title (optional) (non-edittable by user)
The title of the form and response. Defaults to "Email Form".
If you have a trailer for your site in /trailer.inc, that will be used instead of the standard trailer.

Safety

There are several mechanisms to ensure that the script is not misused.
  • The script checks that the page referring to the script is on the same domain as the script.
  • Information about the user's IP address(and associated DNS name if available), original referring page and script usage is included in the email headers.
    	X-Originating-IP: c1499647-a.ftclns1.co.home.com(IP 65.3.72.212)
    	X-Originating-HREF: http://www.clarkecomputer.com/cgi-bin/email.cgi
    	X-Referrer: http://www.clarkecomputer.com/
    	
  • Basic checks are done to insure that both the sender and recipient email addresses are valid(although due to spammers, some servers will validate all email addresses and then bounce the email later).
  • A copy of the email is sent to the user's email address.

Additional Precautions

For the text of the link, you can use @ instead of an @ in your email address. e.g. clarke@clarkecomputer.com

Example

Send a message to foobar@clarkecomputer.com!
To visit any of the sites below without leaving this site hold down the shift key when you click on the link.


Google
 
Web http://www.clarkecomputer.com

Domain Hosting Error Log Analysis Submittal Engines Free Web Hosting
What's New Domain Resources B&N BookStore Privacy Policy

Please send any questions or comments to: clarke@clarkecomputer.com
Phone: (970) 482-6785.
© 1995-2015 Clarke Computer Company