Notice:

This is a script I wrote quite a while ago. It is not supported, but I left it here in case it might be useful to someone.

Please visit http://www.mattkruse.com/ for my updated web site and to find some of the things I've done more recently. Hopefully you will find something useful, or at least mildly interesting!

Form Mailer


This script is meant to process forms and e-mail all the results back to a specific user that you specify. This way, anyone can create a form and get their results back to them. And it is perfect for a site-wide application, since you can set it up and everyone on your site can use it.

The script is used by putting specific fields into your form. You use the names "TO", "SUBJECT", and "REPLY-TO" to do the obvious. More information is in the script itself.

So, this is just the same old thing, right? No. This script does some really nice things, in my opinion. First, it puts all the fields in their propoer order in the mail message. Second, it can mail to multiple recipients. Third, it will accept fields with the same name, or things like SELECT where multiple options can be chosen. Finally, it formats the mail message in a very readable way.

I can't think of anything else to include in this script, so I hope you like it.

Example Mail Message

This is a sample of what the mail message looks like.

Source Code

Grab the source code from here. It's 100% free.