Class: Hicube::PageMailer
- Inherits:
-
ApplicationMailer
- Object
- ActionMailer::Base
- ApplicationMailer
- Hicube::PageMailer
- Defined in:
- app/mailers/hicube/page_mailer.rb
Instance Method Summary collapse
Instance Method Details
#notify(options = {}) ⇒ Object
4 5 6 7 8 9 10 |
# File 'app/mailers/hicube/page_mailer.rb', line 4 def notify( = {}) logger.debug "Sending contact-form email using option - #{}" @name = [:name] @phone = [:phone] @message = [:message] mail(reply_to: [:reply_to], subject: [:subject]) end |