Class: FeedbackPopup::Mailer

Inherits:
ActionMailer::Base
  • Object
show all
Defined in:
app/mailers/feedback_popup/mailer.rb

Instance Method Summary collapse

Instance Method Details

#feedback(message) ⇒ Object



2
3
4
5
6
7
8
9
10
# File 'app/mailers/feedback_popup/mailer.rb', line 2

def feedback(message)
  @message = message

  mail(
    :from    => FeedbackPopup.mail_from,
    :to      => FeedbackPopup.mail_to,
    :subject => t('feedback_popup.email.subject')
  )
end