Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Another Smtp issue with a windows box


mattrh84

Recommended Posts

Posted

Hello all,

 

i have read throught the forms and i still cant get a clear answer in how to fix this error:

 

Warning: fsockopen() expects parameter 2 to be long, string given in E:\inetpub\vhosts\trendgreen.net\httpdocs\store\includes\classes\class.smtp.php on line 102

 

Warning: Cannot modify header information - headers already sent by (output started at E:\inetpub\vhosts\trendgreen.net\httpdocs\store\includes\classes\class.smtp.php:102) in E:\inetpub\vhosts\trendgreen.net\httpdocs\store\includes\functions\general.php on line 33

 

any ideas?

 

function smtp($params = array()){

 

if(!defined('CRLF'))

define('CRLF', "\r\n", TRUE);

 

$this->authenticated = TRUE;

$this->timeout = 5;

$this->status = SMTP_STATUS_NOT_CONNECTED;

$this->host = "mail.reidwitlinltd.com";

$this->port = 25;

$this->helo = "mail.reidwitlinltd.com";

$this->auth = TRUE;

$this->user = "store";

$this->pass = "******";

$this->errors = array();

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...