diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2015-03-07 07:36:42 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2015-03-07 07:36:42 +0000 |
commit | 2800598832d238dcdca3a31da7be940cff8a7d60 (patch) | |
tree | 5c16c73d01c70514eae71adb6067e7174ca42a85 /lib | |
parent | 95e5902b4ce798807bc3122b468d9d3dea230d97 (diff) | |
download | redmine-2800598832d238dcdca3a31da7be940cff8a7d60.tar.gz redmine-2800598832d238dcdca3a31da7be940cff8a7d60.zip |
Fixed STARTTLS option key (#19232).
git-svn-id: http://svn.redmine.org/redmine/trunk@14047 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'lib')
-rw-r--r-- | lib/redmine/imap.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/redmine/imap.rb b/lib/redmine/imap.rb index 418066632..d7f2ad636 100644 --- a/lib/redmine/imap.rb +++ b/lib/redmine/imap.rb @@ -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) |