method
add_delivery_method
v6.1.7.7 -
Show latest stable
- 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.
add_delivery_method :sendmail, Mail::Sendmail, location: '/usr/sbin/sendmail', arguments: '-i'