[eluser]Unknown[/eluser]
People, i need to send an email password recovery and have a problem sending email to the CI.
Below are the application data and the error that is giving:
(ERROR)
Message: fsockopen() [function.fsockopen]: unable to connect to ssl://smtp.gmail.com:465 (No connection could be made because the target machine actively refused it. )
(config -> email.php)
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
$config['useragent'] = "CodeIgniter";
$config['protocol'] = "smtp";
$config['_smtp_auth'] = TRUE;
$config['smtp_host'] = "smtp.gmail.com";
$config['smtp_user'] = "myuser";
$config['smtp_pass'] = "mypass";
$config['smtp_port'] = 465;
$config['smtp_timeout'] = 20;
$config['smtp_crypto'] = "ssl";
$config['wordwrap'] = TRUE;
$config['wrapchars'] = 76;
$config['mailtype'] = "html";
$config['charset'] = "utf-8";
$config['validate'] = FALSE;
$config['priority'] = 3;
$config['newline'] = "\r\n";
$config['bcc_batch_mode'] = TRUE;
$config['bcc_batch_size'] = "200";
What can cause this problem, because all I use smtp hosts give this error ...?????