aboutsummaryrefslogtreecommitdiffstats
path: root/actionmailer/lib
diff options
context:
space:
mode:
authorFlorent Piteau <florent.piteau@sylogix.net>2011-04-19 20:44:20 +0200
committerFlorent Piteau <florent.piteau@sylogix.net>2011-04-19 20:44:20 +0200
commita1639ad7524127be0a9e9398dc2ccc8c6629adee (patch)
tree82c833dfc1890630808e6273f2794e0f36f0a97d /actionmailer/lib
parent66a2ffcdb78c74b1d68cd75331d3214b10a8731d (diff)
downloadrails-a1639ad7524127be0a9e9398dc2ccc8c6629adee.tar.gz
rails-a1639ad7524127be0a9e9398dc2ccc8c6629adee.tar.bz2
rails-a1639ad7524127be0a9e9398dc2ccc8c6629adee.zip
Undocumented :openssl_verify_mode option for smtp_settings
Diffstat (limited to 'actionmailer/lib')
-rw-r--r--actionmailer/lib/action_mailer/base.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/actionmailer/lib/action_mailer/base.rb b/actionmailer/lib/action_mailer/base.rb
index b5d62ad14e..bf7e50596a 100644
--- a/actionmailer/lib/action_mailer/base.rb
+++ b/actionmailer/lib/action_mailer/base.rb
@@ -296,6 +296,10 @@ module ActionMailer #:nodoc:
# information and a cryptographic Message Digest 5 algorithm to hash important information)
# * <tt>:enable_starttls_auto</tt> - When set to true, detects if STARTTLS is enabled in your SMTP server
# and starts to use it.
+ # * <tt>:openssl_verify_mode</tt> - When using TLS, you can set how OpenSSL checks the certificate. This is
+ # really useful if you need to validate a self-signed and/or a wildcard certificate. You can use the name
+ # of an OpenSSL verify constant ('none', 'peer', 'client_once','fail_if_no_peer_cert') or directly the
+ # constant (OpenSSL::SSL::VERIFY_NONE, OpenSSL::SSL::VERIFY_PEER,...).
#
# * <tt>sendmail_settings</tt> - Allows you to override options for the <tt>:sendmail</tt> delivery method.
# * <tt>:location</tt> - The location of the sendmail executable. Defaults to <tt>/usr/sbin/sendmail</tt>.