You might have come across the problem where, in a cPanel server, when you try to send an email from roundcube, it will go on and on for long time without sending email. To fix the problem follow the steps given below.
/scripts/autorepair net_smtp_fix
After running the above script try to send the emails again.