summaryrefslogtreecommitdiffstats
path: root/lib/tasks
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2015-01-27 20:54:45 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2015-01-27 20:54:45 +0000
commit1184e50ee8de587a8ce906acb7837c9f3dd996e7 (patch)
treef7264bf8e31a15e254aa10b982a4535f1747bee3 /lib/tasks
parentc7eb67b4032c0afda51581cd45d2f9737f9abf90 (diff)
downloadredmine-1184e50ee8de587a8ce906acb7837c9f3dd996e7.tar.gz
redmine-1184e50ee8de587a8ce906acb7837c9f3dd996e7.zip
IMAP STARTTLS support (#16823).
Patch by Jan Pipek. git-svn-id: http://svn.redmine.org/redmine/trunk@13950 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'lib/tasks')
-rw-r--r--lib/tasks/email.rake4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/tasks/email.rake b/lib/tasks/email.rake
index b8d22cfbb..121afc4a6 100644
--- a/lib/tasks/email.rake
+++ b/lib/tasks/email.rake
@@ -77,7 +77,8 @@ General options:
Available IMAP options:
host=HOST IMAP server host (default: 127.0.0.1)
port=PORT IMAP server port (default: 143)
- ssl=SSL Use SSL? (default: false)
+ ssl=SSL Use SSL/TLS? (default: false)
+ starttls=STARTTLS Use STARTTLS? (default: false)
username=USERNAME IMAP account
password=PASSWORD IMAP password
folder=FOLDER IMAP folder to read (default: INBOX)
@@ -118,6 +119,7 @@ END_DESC
imap_options = {:host => ENV['host'],
:port => ENV['port'],
:ssl => ENV['ssl'],
+ :starttls => ENV['starttls'],
:username => ENV['username'],
:password => ENV['password'],
:folder => ENV['folder'],