Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class UserNotifier < ActionMailer::ARMailer
- def signup_notification(user)
- @recipients = "#{user.email}"
- @from = "sumgai@example.com"
- @sent_on = Time.now
- @body[:user] = user
- @subject = 'Welcome to example.com'
- end
- end
Add Comment
Please, Sign In to add comment