I am having some issues with the SMTP mail transport method. I selected SMTP because I have to: the server that runs the osCommerce installation is not allowed to send mail; we have an SMTP server for that. They are all running Linux (CentOS 5.8). However, if I dive into the code, I find this:
if (EMAIL_TRANSPORT == 'smtp') {
return mail($to_addr, $subject, $this->output, 'From: ' . $from . $this->lf . 'To: ' . $to . $this->lf . implode($this->lf, $this->headers) . $this->lf . implode($this->lf, $xtra_headers));
} else {
return mail($to, $subject, $this->output, 'From: '.$from.$this->lf.implode($this->lf, $this->headers).$this->lf.implode($this->lf, $xtra_headers));
}
I cannot provide a server.
How can I fix that?









