I do not use Drupal, but with a simple search I think you can find the answer. For ex: http://www.symphonythemes.com/drupal-blog/configure-drupal-smtp-gmail
About error_log, you can check your domain error_log and server maillog, somewhere need to be a clue about why emails are not sending out.