Flowdock
method

add_delivery_method

Importance_1
v3.2.8 - Show latest stable - 0 notes - Class: ActionMailer::DeliveryMethods::ClassMethods
add_delivery_method(symbol, klass, default_options={}) public

Adds a new delivery method through the given class using the given symbol as alias and the default options supplied:

Example:

add_delivery_method :sendmail, Mail::Sendmail,
  :location   => '/usr/sbin/sendmail',
  :arguments  => '-i -t'
Show source
Register or log in to add new notes.