method

deliver

Importance_2
Ruby on Rails latest stable (v7.1.3.2) - 1 note - Class: ActionMailer::Base

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v2.3.8) is shown here.

These similar methods exist in v7.1.3.2:

deliver(mail) public

Deliver the given mail object directly. This can be used to deliver a preconstructed mail object, like:

  email = MyMailer.create_some_mail(parameters)
  email.set_some_obscure_header "frobnicate"
  MyMailer.deliver(email)
Show source
Register or log in to add new notes.
August 11, 2011 - (>= v3.0.0)
0 thanks

Look at mail gem

If you’re looking for mailer methods like “deliver” for rails 3 or later, you should look into “mail” gem: http://github.com/mikel/mail