Error sending email by smtp!!!!!!!!! HELLLLPPPPPPPPPPP PLEASE!!! - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: Error sending email by smtp!!!!!!!!! HELLLLPPPPPPPPPPP PLEASE!!! (/showthread.php?tid=54791) |
Error sending email by smtp!!!!!!!!! HELLLLPPPPPPPPPPP PLEASE!!! - El Forum - 09-25-2012 [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 ...????? |