Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

ERROR MSGS WHEN TRYING TO CREATE A NEW ACCOUNT


savescot

Recommended Posts

Posted

Warning: mail(): SMTP server response: 501 5.5.4 Invalid Address in D:\Websites\saveourscots\includes\classes\email.php on line 502

 

Warning: Cannot modify header information - headers already sent by (output started at D:\Websites\saveourscots\includes\classes\email.php:502) in D:\Websites\saveourscots\includes\functions\general.php on line 29

 

 

HELLPPPPPPPPP - what do they mean?

 

regards

 

Jeff

  • 2 weeks later...
Posted

Hello,

 

On catalog/includes/classes/email.php , on line 499:

 

" 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)); "

}

 

It would execute that line, but (I don't know what), OsCommerce execute the "else" condition:

 

"else { return mail($to, $subject, $this->output, 'From: '.$from.$this->lf.implode($this->lf, $this->headers).$this->lf.implode($this->lf, $xtra_headers));

}

}

 

Then, you've to replace "return mail($to, $subject, $this->output, 'From: '.$from.$this->lf.implode($this->lf, $this->headers).$this->lf.implode($this->lf, $xtra_headers));"

 

for "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)); "

 

And voil?....

 

If you want a good php editor, visit www.vim.org

 

Good luck.

 

Gussy.

Archived

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

×
×
  • Create New...