Problem sending Email |
[eluser]Unknown[/eluser]
Hello, Please i have issues sending email using CI. I keep getting this error A PHP Error was encountered Severity: Notice Message: fwrite() [function.fwrite]: send of 5 bytes failed with errno=32 Broken pipe Filename: libraries/Email.php Line Number: 1789 I really don't understand what the problem is, the site is uploaded to my domain and code looks this this. Code: function send_notification($address, $message, $subject) The smtp server for my domain works well. Please what could be wrong? Thanks
[eluser]rAponZel[/eluser]
Hi, I am also getting that kind of error on my uploaded website. Can anyone explain why it occurs?
[eluser]Beginers[/eluser]
trY THIS Code: $config = Array(
[eluser]Krystian[/eluser]
you don`t need to change your script to google mail. add port to your config array - find out which one is open by your provider ( it can be 465, 587 ...) add also Code: $config['newline'] = "\r\n";
[eluser]rAponZel[/eluser]
Thank you Beginers for helping me up clearing my mind out of confuse. I finally understand why this error comes up. =========================================================================================== A PHP Error was encountered Severity: Notice Message: fwrite() [function.fwrite]: send of x bytes failed with errno=32 Broken pipe Filename: libraries/Email.php Line Number: xxxx =========================================================================================== It matters the kind of protocol were using specially on the hosting where our website was hosted. In my case I set the protocol to 'mail' and this is the only configuration I set up for my emailer. $config['protocol'] = 'mail'; |
Welcome Guest, Not a member yet? Register Sign In |