Skip to content

Instantly share code, notes, and snippets.

Created July 22, 2008 07:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save anonymous/698 to your computer and use it in GitHub Desktop.
Save anonymous/698 to your computer and use it in GitHub Desktop.
class RegisterMail < ActionMailer::Base
def send_mail(client_email, username)
subject "Someone have signed up."
recipients "#{client_email}"
from 'test@test.com'
charset "utf-8"
content_type 'text/html'
body "#{username}" + "have been signed up."
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment