identity,servers view
This commit is contained in:
parent
9bb5f3a20f
commit
ef0b894ad8
31 changed files with 281 additions and 280 deletions
|
@ -6,7 +6,7 @@ module ImapSessionModule
|
|||
def open_imap_session
|
||||
begin
|
||||
@mailbox ||= ImapMailboxModule::IMAPMailbox.new(logger,$defaults["imap_debug"])
|
||||
@mailbox.connect(@current_user.servers.primary_for_imap,@current_user.email, @current_user.get_cached_password(session))
|
||||
@mailbox.connect(@current_user.servers.primary_for_imap,@current_user.login, @current_user.get_cached_password(session))
|
||||
rescue Exception => ex
|
||||
redirect_to :controller => 'internal', :action => 'loginfailure'
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue