method

add_delivery_method

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'