Class: ConfirmationMailer
- Inherits:
-
ActionMailer::Base
- Object
- ActionMailer::Base
- ConfirmationMailer
- Defined in:
- app/mailers/confirmation_mailer.rb
Instance Method Summary collapse
Methods inherited from ActionMailer::Base
Instance Method Details
#send_confirmation_mail(email = nil) ⇒ Object
6 7 8 9 10 11 12 |
# File 'app/mailers/confirmation_mailer.rb', line 6 def send_confirmation_mail(email = nil) if email mail to: email, subject: 'Bem-vindo ao Rdcms.' else do_not_deliver! end end |