Guest Posted March 26, 2004 Share Posted March 26, 2004 Dear osCommerce Members (smarter than I!), I have set up osCommerce together with the latest release of both mySQL and PHP. After hours of trudging along and figuring out how this stuff works, I finally got it working. However, when I try registering a new user with my website (www.focus-computers.com), I get the following output: ____________________________________ Warning: mail(): SMTP server response: 501 5.5.4 Invalid Address in C:\Inetpub\wwwroot\catalog\includes\classes\email.php on line 502 Warning: Cannot modify header information - headers already sent by (output started at C:\Inetpub\wwwroot\catalog\includes\classes\email.php:502) in C:\Inetpub\wwwroot\catalog\includes\functions\general.php on line 29 ____________________________________ Has anybody a clue what I should do to fix this situation? Do I need to be running an SMTP server for this to work, or does PHP do all the work? Thanks so much for all your help! Sincerely, A very confused individual, Jeff Miller (JJBladester) Link to comment Share on other sites More sharing options...
Guest Posted March 26, 2004 Share Posted March 26, 2004 http://wiki.oscommerce.com/WarnHeader But apply it to email.php The_Bear Link to comment Share on other sites More sharing options...
user99999999 Posted March 26, 2004 Share Posted March 26, 2004 For windows you need to set the mail transport in admin to SMTP and configure these settings in php.ini. [mail function] ; For Win32 only. SMTP = smtp.focus-computers.com ; For Win32 only. sendmail_from = me@focus-computers.com Link to comment Share on other sites More sharing options...
Guest Posted March 27, 2004 Share Posted March 27, 2004 Thanks for your speedy reply, Dave! Does this mean I need to start an SMTP server? I don't have one currently running, and I'm sure I could get it going with the IIS5 SMTP server if I tried hard enough... but I was under the impression that there was some kind of PHP mail() function that took care of the mailing, so that I wouldn't have to have a mail server running. Thanks so much in advance for any insight you can provide. Sincerely, Jeff Miller (JJBladester) Link to comment Share on other sites More sharing options...
user99999999 Posted March 27, 2004 Share Posted March 27, 2004 Hi, The PHP mail function uses sendmail for *nix and smtp for windows. Dont you plan to send and receive mail with your domain name? Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.