Class: ExampleMailer
- Inherits:
-
ApplicationMailer
- Object
- ActionMailer::Base
- ApplicationMailer
- ExampleMailer
- Defined in:
- lib/potassium/assets/app/mailers/example_mailer.rb
Instance Method Summary collapse
Instance Method Details
#example_mail ⇒ Object
2 3 4 5 |
# File 'lib/potassium/assets/app/mailers/example_mailer.rb', line 2 def example_mail @email = params[:email] mail(from: '[email protected]', to: @email, subject: 'Welcome to Potassium') end |