Class: ExampleMailer

Inherits:
ApplicationMailer show all
Defined in:
lib/potassium/assets/app/mailers/example_mailer.rb

Instance Method Summary collapse

Instance Method Details

#example_mailObject



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