SendEmail now only displays error after connection refused 3 times