CodeIgniter Forums
email send doesn't work. - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5)
+--- Forum: Libraries & Helpers (https://forum.codeigniter.com/forumdisplay.php?fid=11)
+--- Thread: email send doesn't work. (/showthread.php?tid=62898)



email send doesn't work. - g1lb3rt0 - 09-06-2015

I actually Use CI v2.2.3 release and the send mail function was working OK, but I do not what change but now it not working.
When I try to send email trought SMTP I have this error:

----------------------------------------------------------------------
<p>Severity: Warning</p>
<p>Message: fsockopen(): </p>
<p>Filename: libraries/Email.php</p>
<p>Line Number: 1690</p>
<h4>A PHP Error was encountered</h4>

<p>Severity: Warning</p>
<p>Message: fwrite() expects parameter 1 to be resource, boolean given</p>
<p>Filename: libraries/Email.php</p>
<p>Line Number: 1847</p>

</div><div style="border:1px solid #990000;padding-left:20px;margin:0 0 10px 0;">

<h4>A PHP Error was encountered</h4>

<p>Severity: Warning</p>
<p>Message: fgets() expects parameter 1 to be resource, boolean given</p>
<p>Filename: libraries/Email.php</p>
<p>Line Number: 1870</p>
----------------------------------------------------------------------

I not sure but maybe is a problem on the webserver email, but I try to send email with gmail and I have the same errors. Anyone can help me please, cause this projest is in production and I have not change nothing, I do not found the solution. Thanks...