The Problem
When you click on Mail Manager, there will be a pop up “Loading Please Wait”. The pop up won’t go away
Solution
Actually the problem is with your PHP-Imap extension. You need to have PHP-imap extension. For my case, i just download using this command
apt-get update
apt-get install php5.6-imap
service apache2 restart
Done. Hope this will help you