method
deliver_mail
v8.0.0 -
Show latest stable
- Class:
ActionMailer::Base
deliver_mail(mail)public
Wraps an email delivery inside of ActiveSupport::Notifications instrumentation.
This method is actually called by the +Mail::Message+ object itself through a callback when you call :deliver on the +Mail::Message+, calling deliver_mail directly and passing a +Mail::Message+ will do nothing except tell the logger you sent the email.