fixed MailSender signature to better handle errors
fixed a warning in http server code