Skip to content

Instantly share code, notes, and snippets.

Created January 16, 2010 17:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/278920 to your computer and use it in GitHub Desktop.
Save anonymous/278920 to your computer and use it in GitHub Desktop.
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