deliver!(mail = @_message)public
Delivers a Mail object. By default, it delivers the cached mail object (from the create! method). If no cached mail object exists, and no alternate has been given as the parameter, this will fail.
# File actionmailer/lib/action_mailer/deprecated_api.rb, line 89 def deliver!(mail = @_message) ActiveSupport::Deprecation.warn "Calling deliver in the AM::Base object is deprecated, " << "please call deliver in the Mail instance", caller[0,2] self.class.deliver(mail, false) end