More verbose error message in case of a SocketException
Bugfix: Use correct realMailer in SendMailTask.php instead of default mailer.