Guest Posted July 29, 2005 Share Posted July 29, 2005 Hi all does anybody know if oscommerce overide the php.ini file regarding the smtp port. im have trouble using oscom to send mails from the site, our server support say: OSCommerce forms are still insisting on using the SMTP service on port 25 - this must be hardcoded somewhere in the OSCommerce scripts, I've had a look but couldn't see where. If you have support with OSCommerce I'd advise you ask them why the php.ini SMTP server setting is being overridden, failing that it may be worth checking the OSCommerce forums for more info. any help would be appriciated Cheers Craig Link to comment Share on other sites More sharing options...
MarcoZorro Posted July 30, 2005 Share Posted July 30, 2005 Looking at the code oscommerce doesnt override any smtp settings it just uses the defaults from the php.ini 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)); } Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.