method
deliver_mail
v5.2.3 -
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.