Skip to content

Instantly share code, notes, and snippets.

@cv
Forked from anonymous/gist:698
Created July 22, 2008 09:13
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 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 '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