This is a code snippet I designed while creating a website for one of my first clients. I have since used it on numerous occasions. Form Mailers have become more and more prominent with websites, especially business related websites.
I have tried very hard to find a php form mailer that is simple and works. However, I have yet to find a really good. Most of the form mail snippets on the web are complex. Although they pack great functionality, it is lost in a world of confusing, messy, and often unnecessary code.
This code snippet will gives users a way to easily integrate a mailer into your html or php based website. The visible fields are easily edited and variables can be added in a cinch. This snippet can be handle by anyone from a new php user to an advanced php developer. The form is easily customized to fit any need.
By default, the demo mailer, has a form with these options: name, company, email, phone, and comments. The required fields are marked with an “*”. For fields such as email and phone, the form checks to see if the inputted data matches a standard format. This helps protect against spam.
The only absolute change that must be made to the php form mailer, is the recipient email address. By default it is set to “youremail@yourdomain.com”, simply open up the “send-email.php” file and change the recipient email address.
You can find the download below. Also, please consider donating to support development. Thank You!






