Welcome Guest, Not a member yet? Register   Sign In
SMTP E-Mail Pipe broken error
#1

[eluser]Alexandru[/eluser]
Dear Codeigniters,
I try to send some E-Mails through SMTP and sometimes it works well, sometimes it drops an notice error without sending the mail.

Code:
Severity: Notice

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

Filename: libraries/Email.php

Line Number: 1856

Is what I get. Does anybody know what to do to solve this or how to track the problem?
#2

[eluser]PhilTem[/eluser]
Broken pipe means an interruption in your connection that was, in this case, opened by fsockopen. I guess your script is (a) to slow in running its code or (b) the remote server cuts connections after a certain amount of time and your script unfortunately exceeds that limit.




Theme © iAndrew 2016 - Forum software by © MyBB