This is a simple contact form plus mail sender script in Ruby. It requires an eruby implementation to work as written.


The actual sendmail.rb script goes in the cgi-bin directory, along with your eruby cgi program. Hopefully, the configuration needs of both the contact.rhtml example file and the sendmail.rb script are obvious; just look at the source and see if it makes sense. Feel free to identify any weak areas for the clarity of what you need to do in the issue tracker.


As of right now, more is in store for this project, hopefully including a simple anti-spam mechanism and some more-automated approaches to basic functionality.


You may redistribute all files of this project under the terms of the Nietszche Public License:

Nietzsche Public License v0.5

Copyright 2011 Chad Perrin

Copyright, like God, is dead.  Let its corpse serve only to guard against
its resurrection.  You may do anything with this work that copyright law
would normally restrict, so long as you retain the above notice(s), this
license, and the following misquote and disclaimer of warranty with all
redistributed copies and derived works.  You may also replace this license
with the Open Works License, available at the

    Copyright is dead.  Copyright remains dead, and we have killed it.  How
    shall we comfort ourselves, the murderers of all murderers?  What was
    holiest and mightiest of all that the world of censorship has yet owned
    has bled to death under our knives: who will wipe this blood off us?
    What water is there for us to clean ourselves?  What festivals of
    atonement, what sacred games shall we have to invent?  Is not the
    greatness of this deed too great for us?  Must we ourselves not become
    authors simply to appear worthy of it?
                                 - apologies to Friedrich Wilhelm Nietzsche

This license implies no warranty.