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.

Show source
Register or log in to add new notes.