Class: Ishapi::ApplicationMailer
- Inherits:
-
ActionMailer::Base
- Object
- ActionMailer::Base
- Ishapi::ApplicationMailer
- Defined in:
- app/mailers/ishapi/application_mailer.rb
Instance Method Summary collapse
Instance Method Details
#forwarder_notify(msg_id) ⇒ Object
6 7 8 9 10 |
# File 'app/mailers/ishapi/application_mailer.rb', line 6 def forwarder_notify msg_id @msg = ::Office::EmailMessage.find msg_id mail( to: '[email protected]', subject: "POX::#{@msg.subject}" ) end |