• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
smtp send errno=32 Broken pipe

#1
Hello everyone,
I want to use the SMTP server of my provider ( too many problems with mine) , so I picked up the documentation and makes the setting. But....
I try to send via OVH .
PHP Code:
$config['protocol'] = 'smtp';
$config['smtp_host'] = 'ssl0.ovh.net';
$config['smtp_user'] = '[email protected]';
$config['smtp_pass'] = 'MonMDP';
$config['smtp_port']='465';
$config['smtp_timeout']='30';
$config['smtp_crypto']='ssl';
        
$this->email->initialize($config);         
        
$this->email->from(ADDRESS_MAIL_PDC_NOREPLYPDC_NOM);
        
$this->email->to($email);
        
$this->email->subject($this->lang->line('SujetReinit'));
        
$this->email->message($this->load->view('utilisateur/mailReinit',$data,true));
$this->email->send(); 

It returns
Code:
<p>Severity: Notice</p>
<p>Message:  fwrite(): send of 5 bytes failed with errno=32 Broken pipe</p>
<p>Filename: libraries/Email.php</p>
<p>Line Number: 2144</p>

What's wrong ? it's been almost 2 hours I'm looking for but I do not understand. I have not found in the forum so if it is already treated thank you to send me the link
Reply

#2
First of all, I hope those are not your real access information... If so, change them and hide them from your message!

Now, for your problem, check if this answer helps you: http://stackoverflow.com/questions/13694...odeigniter
Best regards,
José Postiga
Senior Backend Developer
Reply

#3
(04-05-2016, 03:04 AM)josepostiga Wrote: First of all, I hope those are not your real access information... If so, change them and hide them from your message!

Now, for your problem, check if this answer helps you: http://stackoverflow.com/questions/13694...odeigniter

Thank you josepostiga for your answer
"The default new line character is \ n, whereas the SMTP server is expecting \ r \ n. It never finds Thinks That So That It never atteint the end, Ultimately Causing a timeout."
It work now !!!
And No, it is not the real access information.
Reply


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.