Reduced connection timeout (2sec)
Fixed some errors due to MIME and HTML mails