Fixed STARTTLS option key (#19232).

git-svn-id: http://svn.redmine.org/redmine/trunk@14047 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang
2015-03-07 07:36:42 +00:00
parent 95e5902b4c
commit 2800598832

View File

@@ -24,7 +24,7 @@ module Redmine
host = imap_options[:host] || '127.0.0.1'
port = imap_options[:port] || '143'
ssl = !imap_options[:ssl].nil?
starttls = !imap_options[:tls].nil?
starttls = !imap_options[:starttls].nil?
folder = imap_options[:folder] || 'INBOX'
imap = Net::IMAP.new(host, port, ssl)