summaryrefslogtreecommitdiffstats
path: root/lib/tasks
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2014-05-16 08:28:52 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2014-05-16 08:28:52 +0000
commiteaac0eff082e14fe5b87f1c9c2845e4077e1fbed (patch)
tree2b8b7932a755fab2259018cbdb0b761b37e6873d /lib/tasks
parent6080a4cae38e29a849648323c7cfb576bb3bf81f (diff)
downloadredmine-eaac0eff082e14fe5b87f1c9c2845e4077e1fbed.tar.gz
redmine-eaac0eff082e14fe5b87f1c9c2845e4077e1fbed.zip
add support for pop3s (SSL) to redmine:email:receive_pop3 (#16707)
Contributed by Eric Davis. git-svn-id: http://svn.redmine.org/redmine/trunk@13138 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'lib/tasks')
-rw-r--r--lib/tasks/email.rake2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/tasks/email.rake b/lib/tasks/email.rake
index 875f82fff..95a19e4bc 100644
--- a/lib/tasks/email.rake
+++ b/lib/tasks/email.rake
@@ -138,6 +138,7 @@ Available POP3 options:
username=USERNAME POP3 account
password=PASSWORD POP3 password
apop=1 use APOP authentication (default: false)
+ ssl=SSL Use SSL? (default: false)
delete_unprocessed=1 delete messages that could not be processed
successfully from the server (default
behaviour is to leave them on the server)
@@ -149,6 +150,7 @@ END_DESC
pop_options = {:host => ENV['host'],
:port => ENV['port'],
:apop => ENV['apop'],
+ :ssl => ENV['ssl'],
:username => ENV['username'],
:password => ENV['password'],
:delete_unprocessed => ENV['delete_unprocessed']}