Disable peer host name validation when sending email

This commit is contained in:
Tom Hughes 2022-02-16 22:48:26 +00:00
parent 1f8df781be
commit aec7af87d7

View file

@ -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