a lot of stuff added

This commit is contained in:
Wojciech Todryk 2011-07-29 20:05:47 +02:00
parent 37f548ce46
commit 7967e6d5c8
35 changed files with 559 additions and 64 deletions

View file

@ -8,7 +8,7 @@ def open_imap_session
@mailbox = ImapMailboxModule::IMAPMailbox.new(logger)
@mailbox.connect(@current_user.servers.primary,@current_user.email, @current_user.get_cached_password(session))
rescue Exception => ex
redirect_to :controller => 'internal', :action => 'imaperror' , :error => ex.inspect
redirect_to :controller => 'internal', :action => 'loginfailure'
end
end