Class: Notification
- Inherits:
-
ActionMailer::Base
- Object
- ActionMailer::Base
- Notification
- Defined in:
- lib/generators/pixelforce_cms/templates/notification.rb
Instance Method Summary collapse
Instance Method Details
#notify_us(contact) ⇒ Object
4 5 6 7 8 9 10 11 |
# File 'lib/generators/pixelforce_cms/templates/notification.rb', line 4 def notify_us(contact) @contact = contact mail( to: '[email protected]', reply_to: "#{contact.full_name} <#{contact.email}>", subject: "[Contact Form] #{contact.full_name}" ) end |