program/include/rcube_smtp.php
@@ -98,6 +98,9 @@ else $helo_host = 'localhost'; // IDNA Support $smtp_host = idn_to_ascii($smtp_host); $this->conn = new Net_SMTP($smtp_host, $smtp_port, $helo_host); if($RCMAIL->config->get('smtp_debug')) @@ -120,6 +123,10 @@ // attempt to authenticate to the SMTP server if ($smtp_user && $smtp_pass) { // IDNA Support if (strpos($smtp_user, '@')) $smtp_user = idn_to_ascii($smtp_user); $result = $this->conn->auth($smtp_user, $smtp_pass, $smtp_auth_type, $use_tls); if (PEAR::isError($result))