Just specify your smtp server into config file... If not, roundcube try to send mail using php mail() function which could have been disabled by your web admin.
If the smtp server is running locally, then just put 'localhost' and then look at the roundcube logs to see what appens.