instance method
deliver
Ruby on Rails 4.1.16
Since v3.0.20 Last seen in v8.0.4Signature
deliver(event)
An email was delivered.
Parameters
-
eventreq
Source
# File actionmailer/lib/action_mailer/log_subscriber.rb, line 8
def deliver(event)
return unless logger.info?
recipients = Array(event.payload[:to]).join(', ')
info("\nSent mail to #{recipients} (#{event.duration.round(1)}ms)")
debug(event.payload[:mail])
end
Defined in actionmailer/lib/action_mailer/log_subscriber.rb line 8
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionMailer::LogSubscriber