This PHP code will allow your visitors to contact you via a web form. It will send the results to you in an email. This code does some basic input bounds checks (email address validation etc...) and is easy to set up and configure! This code also has the option to do domain validation to help avoid misuse by spammers. This program will also send you the senders IP address in the letter. This version has the option to log the IP addresses of anyone who attempts to access the form from anywhere other than your domain to a HTML log file. You just use a simple link to view the IP log file. Also this version has the option to notify you via email if someone attempts to use the form from outside your domain. You can also choose to send HTML or plain text mail. This code has the log-in form on a separate HTML file so it is easier to set up and customize for non programmers.
What's new: This script was modified by Michal Hunger. His modified code is now enclosed in regular distribution but you can also get it separately here.
This PHP based anonymous emailer program will allow you or your website visitors to send anonymous emails using your servers SMTP service. This code has the user enter his information into a standard HTML form this way it is easier for non programmers to customize the look of the page. All necessary files are included in the .zip file. This PHP emailer does some input bounds checking and sends the email in HTML format it also adds a few fake header messages. NOTE: This emailer is no good to spammers or any other illegal activity...Your servers IP address WILL show up in message headers within the source. This code also has the option to do domain/referrer verification.