cmckay Posted June 7, 2005 Share Posted June 7, 2005 When customers try to sign up to my site they get the following errors: Warning: mail(): SMTP server response: 501 5.5.4 Invalid Address in C:\Domains\1st-for-furniture.co.uk\wwwroot\catalog\includes\classes\email.php on line 502 LINE: return mail($to, $subject, $this->output, 'From: '.$from.$this->lf.implode($this->lf, $this->headers).$this->lf.implode($this->lf, $xtra_headers)); Warning: Cannot modify header information - headers already sent by (output started at C:\Domains\1st-for-furniture.co.uk\wwwroot\catalog\includes\classes\email.php:502) in C:\Domains\1st-for-furniture.co.uk\wwwroot\catalog\includes\functions\general.php on line 29 LINE: header('Location: ' . $url); Any ideas?? Link to comment Share on other sites More sharing options...
cmckay Posted June 7, 2005 Author Share Posted June 7, 2005 Anyone any ideas at all? :( Link to comment Share on other sites More sharing options...
FalseDawn Posted June 7, 2005 Share Posted June 7, 2005 When customers try to sign up to my site they get the following errors: My response would be why on earth didn't you test it first? Expecting customers to be your "beta" testers is ridiculous. Your first problem is due to incorrect mail configuration and your second is due to whitespace in your email.php file. Link to comment Share on other sites More sharing options...
cmckay Posted June 11, 2005 Author Share Posted June 11, 2005 Well...it had all been working fine for a few weeks untill a few days ago, so customers were not beta testers at all! Link to comment Share on other sites More sharing options...
FalseDawn Posted June 11, 2005 Share Posted June 11, 2005 http://www.oscommerce.info/docs/english/e_...ready_sent.html Something has changed to make it break, in that case. Either you have edited a file or changed a configuration setting or something in the host's configuration has changed. Link to comment Share on other sites More sharing options...
♥Vger Posted June 11, 2005 Share Posted June 11, 2005 The 'headers already sent' error (in this case) is only appearing because of the first error. Check your e-mail settings in osC admin control panel, and make sure that you have things set up correctly. For instance you may have 'sendmail' and not 'smtp'. Vger Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.