]> source.dussan.org Git - redmine.git/commitdiff
Merged r14047 (#19232).
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Sun, 8 Mar 2015 09:44:08 +0000 (09:44 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Sun, 8 Mar 2015 09:44:08 +0000 (09:44 +0000)
git-svn-id: http://svn.redmine.org/redmine/branches/3.0-stable@14061 e93f8b46-1217-0410-a6f0-8f06a7374b81

lib/redmine/imap.rb

index 418066632b27e457cb356d67491480975c1b752b..d7f2ad636aeb40e80b5c84b15df7e6ce96d85316 100644 (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)