Disable peer host name validation when sending email
This commit is contained in:
parent
1f8df781be
commit
aec7af87d7
1 changed files with 2 additions and 1 deletions
|
@ -9,7 +9,8 @@ ActionMailer::Base.smtp_settings = {
|
|||
:enable_starttls_auto => Settings.smtp_enable_starttls_auto,
|
||||
:authentication => Settings.smtp_authentication,
|
||||
:user_name => Settings.smtp_user_name,
|
||||
:password => Settings.smtp_password
|
||||
:password => Settings.smtp_password,
|
||||
:openssl_verify_mode => OpenSSL::SSL::VERIFY_NONE
|
||||
}
|
||||
|
||||
# Set the host and protocol for all ActionMailer URLs
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue