CodeIgniter Forums
get more explanation on email sending error - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5)
+--- Forum: General Help (https://forum.codeigniter.com/forumdisplay.php?fid=24)
+--- Thread: get more explanation on email sending error (/showthread.php?tid=63156)



get more explanation on email sending error - Hyper-X - 10-01-2015

In my application, I'm trying to send email.
But I get this error.

Code:
A PHP Error was encountered

Severity: Warning

Message: fsockopen():

Filename: libraries/Email.php

Line Number: 1949

Backtrace:

File: C:\wamp\www\CMA\application\models\fonction.php
Line: 60
Function: send

File: C:\wamp\www\CMA\application\controllers\livraison.php
Line: 1747
Function: envoyerMail

File: C:\wamp\www\CMA\index.php
Line: 292
Function: require_once
how can I know the real cause of this error? i think that this line is incomplete
Code:
Message: fsockopen():
Please Help.


RE: get more explanation on email sending error - mwhitney - 10-01-2015

I'm not sure why you're not getting an error message from fsockopen(), but the most likely cause of an error in that location is an issue with the SMTP settings (especially smtp_host, smtp_port, or smtp_crypto)