diff options
author | Vipul A M <vipulnsward@gmail.com> | 2016-05-11 02:59:30 +0530 |
---|---|---|
committer | Vipul A M <vipulnsward@gmail.com> | 2016-05-11 02:59:30 +0530 |
commit | 8b59b5e75ed0c0bda71e5b5b59e7638d0201b5fc (patch) | |
tree | 7d3a7ecd9489f0b3c6fc52c04ae65ebfeadab6e6 /guides | |
parent | 9f525e87ab33b428bc60d3fcfd471389a596109d (diff) | |
download | rails-8b59b5e75ed0c0bda71e5b5b59e7638d0201b5fc.tar.gz rails-8b59b5e75ed0c0bda71e5b5b59e7638d0201b5fc.tar.bz2 rails-8b59b5e75ed0c0bda71e5b5b59e7638d0201b5fc.zip |
Document missing smtp config over at configuring guide. [ci skip]
Diffstat (limited to 'guides')
-rw-r--r-- | guides/source/configuring.md | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/guides/source/configuring.md b/guides/source/configuring.md index 81005b91ce..21a4be45f2 100644 --- a/guides/source/configuring.md +++ b/guides/source/configuring.md @@ -493,6 +493,9 @@ There are a number of settings available on `config.action_mailer`: * `:user_name` - If your mail server requires authentication, set the username in this setting. * `:password` - If your mail server requires authentication, set the password in this setting. * `:authentication` - If your mail server requires authentication, you need to specify the authentication type here. This is a symbol and one of `:plain`, `:login`, `:cram_md5`. + * `:enable_starttls_auto` - Detects if STARTTLS is enabled in your SMTP server and starts to use it. It defaults to true. + * `:openssl_verify_mode` - When using TLS, you can set how OpenSSL checks the certificate. This is useful if you need to validate a self-signed and/or a wildcard certificate. This can be one of the OpenSSL verify constants, `:none`, `:peer`, `:client_once`, `:fail_if_no_peer_cert`, or the constant directly `OpenSSL::SSL::VERIFY_NONE`. + * `:ssl/:tls` - Enables the SMTP connection to use SMTP/TLS (SMTPS: SMTP over direct TLS connection). * `config.action_mailer.sendmail_settings` allows detailed configuration for the `sendmail` delivery method. It accepts a hash of options, which can include any of these options: * `:location` - The location of the sendmail executable. Defaults to `/usr/sbin/sendmail`. |