Configuration: Mailer
Pakyow provides the following application config options for mailer:
mailer.default_sender
: Name to use as the sender when unspecified by a mailer. Default:"Pakyow"
mailer.delivery_method
: The delivery method to use. Default::sendmail
mailer.delivery_options
: Options to use when delivering mail. Default:{}
mailer.encoding
: Encoding to use for messages. Default:"UTF-8"
mailer.silent
: Iftrue
, outgoing mail will not be logged. Default:true
;false
in development
Example Usage
Mailer config lives in config/application.rb
:
Pakyow.app do
configure do
config.mailer.option = value
end
end