Disconnect and logout from IMAP after mail receive (#14103).

Patch by Pierre Pretorius.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11905 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2013-05-28 18:17:36 +00:00
parent 69496179d4
commit 131dc3a8fc
1 changed files with 2 additions and 0 deletions

View File

@ -48,6 +48,8 @@ module Redmine
end
end
imap.expunge
imap.logout
imap.disconnect
end
private