Skip to content

Instantly share code, notes, and snippets.

Created January 16, 2010 17:55
class ContactMailer < ApplicationMailer
def message(message)
subject message.subject
body :message => message
recipients "youremail@yourdomain.com"
from message.email
sent_on Time.now
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment