Class: LeadNotifications::LeadNotificationMailer
- Inherits:
-
ActionMailer::Base
- Object
- ActionMailer::Base
- LeadNotifications::LeadNotificationMailer
- Defined in:
- lib/app/lead_notifications/mailers/lead_notification_mailer.rb
Instance Method Summary collapse
Instance Method Details
#lead_notification(lead) ⇒ Object
4 5 6 7 8 9 10 11 12 |
# File 'lib/app/lead_notifications/mailers/lead_notification_mailer.rb', line 4 def lead_notification( lead ) @lead = lead mail(:to => ['[email protected]', '[email protected]', '[email protected]', '[email protected]'], :subject => 'New Lead', :from => '[email protected]') end |