Utilizar PHPMailer con una cuenta de Gmail
Hay que hacer algunos cambios en el fichero class.phpmailer.php en la línea 573 para poder utilizar SSL/TLS # Original if(strstr($hosts[$index], “:”)) list($host, $port) = explode(“:”, $hosts[$index]); else { $host = $hosts[$index]; $port = $this->Port;</blockquote> <blockquote># Modificación if (preg_match(‘#(([a-z]+://)?[^:]+):(d+)#i’, $hosts[$index], $match)) … Continue reading