Skip to content

Instantly share code, notes, and snippets.

Created July 22, 2008 07:37
Show Gist options
  • 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 '[email protected]'
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