Skip to content

Instantly share code, notes, and snippets.

@cv
Forked from anonymous/gist:698
Created July 22, 2008 09:13
Show Gist options
  • Save cv/751 to your computer and use it in GitHub Desktop.
Save cv/751 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