Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Banjo.mailer :model_register do
- # Message definitions here...
- email :registration_email do |name, email|
- from "no-reply@belator.com"
- to email
- subject "Your account has been created."
- locals :name => name, :email => email
- render "model_register/registration_email.haml"
- content_type :html
- via :smtp
- end
- end
Add Comment
Please, Sign In to add comment