Mail delivery method to be used by the Mail gem.
Supported methods:
Settings used by this method: {address}, {port}, {domain}, {user_name}, {password}, {authentication}, {encryption}, {openssl_verify_mode}
Settings used by this method: {sendmail_args}
Settings used by this method: {exim_args}
Settings used by this method: {mail_folder}
Set the method of encryption to be used for the SMTP connection.
No encryption will be used.
Use STARTTLS to upgrade the connection to a SSL/TLS connection.
Use a SSL/TLS connection.
Optional arguments to pass to `exim`
Note that this will override the defaults set by the Mail gem (currently: ‘-i -t’) So, if set here, be sure to set all the arguments you require.
Example: ‘-i -t -X/tmp/traffic.log’
Folder where mail will be kept when using the `:file` `delivery_method`.
Default location is ‘$HOME/Backup/emails’
OpenSSL Verify Mode
Valid modes: :none, :peer, :client_once, :fail_if_no_peer_cert See +OpenSSL::SSL+ for details.
Use :none for a self-signed and/or wildcard certificate
Array of statuses for which the log file should be attached.
Available statuses are: `:success`, `:warning` and `:failure`. Default: [:warning, :failure]
Optional arguments to pass to `sendmail`
Note that this will override the defaults set by the Mail gem (currently: ‘-i’). So, if set here, be sure to set all the arguments you require.
Example: ‘-i -X/tmp/traffic.log’
Generated with the Darkfish Rdoc Generator 2.