Adding Specific Configuration in CodeIgniter Email Class |
(12-17-2017, 05:09 AM)InsiteFX Wrote: On localhost you need to setup the SMTP etc; in your php.ini file. So, was I right? It was a problem with the firewall and the ports? I get solve this problem : Edit File System/libraries/Email.php function _smtp_connect change fsockopen to stream_socket_client $context = stream_context_create([ 'ssl' => [ 'verify_peer' => false, 'verify_peer_name' => false ] ]); $this->_smtp_connect = stream_socket_client($ssl.$this->smtp_host . ':' . $this->smtp_port, $errno, $errstr, $this->smtp_timeout,STREAM_CLIENT_CONNECT, $context); |
Messages In This Thread |
Adding Specific Configuration in CodeIgniter Email Class - by Kel_Novi - 12-17-2017, 02:51 AM
RE: Adding Specific Configuration in CodeIgniter Email Class - by ivantcholakov - 12-17-2017, 03:43 AM
RE: Adding Specific Configuration in CodeIgniter Email Class - by InsiteFX - 12-17-2017, 05:09 AM
RE: Adding Specific Configuration in CodeIgniter Email Class - by DenilsonPereira - 05-15-2020, 09:43 AM
|