diff --git a/lib/logstash/outputs/email.rb b/lib/logstash/outputs/email.rb index 8cd5e8a..a5f793c 100644 --- a/lib/logstash/outputs/email.rb +++ b/lib/logstash/outputs/email.rb @@ -119,7 +119,8 @@ def register :password => options.fetch("password", nil), :authentication => options.fetch("authenticationType", nil), :enable_starttls_auto => options.fetch("starttls", false), - :debug => options.fetch("debug", false) + :debug => options.fetch("debug", false), + :openssl_verify_mode => options.fetch("openssl_verify_mode", 'peer') } end elsif @via == 'sendmail'