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:
parent
69496179d4
commit
131dc3a8fc
|
@ -48,6 +48,8 @@ module Redmine
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
imap.expunge
|
imap.expunge
|
||||||
|
imap.logout
|
||||||
|
imap.disconnect
|
||||||
end
|
end
|
||||||
|
|
||||||
private
|
private
|
||||||
|
|
Loading…
Reference in New Issue