mirror of
https://github.com/meineerde/redmine.git
synced 2026-03-23 09:19:55 +00:00
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:
parent
95e5902b4c
commit
2800598832
@ -24,7 +24,7 @@ module Redmine
|
|||||||
host = imap_options[:host] || '127.0.0.1'
|
host = imap_options[:host] || '127.0.0.1'
|
||||||
port = imap_options[:port] || '143'
|
port = imap_options[:port] || '143'
|
||||||
ssl = !imap_options[:ssl].nil?
|
ssl = !imap_options[:ssl].nil?
|
||||||
starttls = !imap_options[:tls].nil?
|
starttls = !imap_options[:starttls].nil?
|
||||||
folder = imap_options[:folder] || 'INBOX'
|
folder = imap_options[:folder] || 'INBOX'
|
||||||
|
|
||||||
imap = Net::IMAP.new(host, port, ssl)
|
imap = Net::IMAP.new(host, port, ssl)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user