04-04-2016, 11:07 PM
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 .
It returns
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
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_NOREPLY, PDC_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