CodeIgniter Forums
Error in Mail Send using SMTP - 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 in Mail Send using SMTP (/showthread.php?tid=40866)



Error in Mail Send using SMTP - El Forum - 04-20-2011

[eluser]Volkscom[/eluser]
When I tried to sent mail using smtp an error occured like the following.
A PHP Error was encountered

Severity: Notice

Message: fwrite() [function.fwrite]: send of 11 bytes failed with errno=32 Broken pipe

Filename: libraries/Email.php

Line Number: 1795

I set the config file email.php with the setting $config['smtp_host'],$config['smtp_user'],$config['smtp_pass'],$config['mailtype'],$config['smtp_port'].
Our host is ssl one so we use port as 465.Please help me to resolve this!..
It is very urgent!.....

Thanks in advance


Error in Mail Send using SMTP - El Forum - 05-08-2012

[eluser]Unknown[/eluser]
may this could help who is seaking how to solve it (that's what i had made in a website on a hosting provider (LAMP))
change setting
$config['protocol'] = 'smtp'

to
$config['protocol'] = 'sendmail'