method

deliver

Importance_2
v2.0.3 - Show latest stable - 1 note - Class: ActionMailer::Base
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