Skip to content

Commit

Permalink
Undocumented :openssl_verify_mode option for smtp_settings
Browse files Browse the repository at this point in the history
  • Loading branch information
flop committed Apr 19, 2011
1 parent 66a2ffc commit a1639ad
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions actionmailer/lib/action_mailer/base.rb
Expand Up @@ -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>.
Expand Down

0 comments on commit a1639ad

Please sign in to comment.