Class: Incline::ContactForm
- Inherits:
-
ApplicationMailerBase
- Object
- ActionMailer::Base
- ApplicationMailerBase
- Incline::ContactForm
- Defined in:
- app/mailers/incline/contact_form.rb
Overview
This mailer is used for the generic contact form.
Instance Method Summary collapse
-
#contact(msg) ⇒ Object
Sends the message from the contact form.
Instance Method Details
#contact(msg) ⇒ Object
Sends the message from the contact form.
9 10 11 12 13 14 15 16 |
# File 'app/mailers/incline/contact_form.rb', line 9 def contact(msg) @data = { msg: msg, client_ip: msg.remote_ip, gems: Incline::gem_list } mail subject: msg.full_subject, reply_to: msg.your_email end |