pauld Posted May 20, 2003 Posted May 20, 2003 Just downloaded the lastest snapshot 2.2-MS1, everything loaded fine, order placed ok in database, but the email notitication bombed out as described below: Environment: OSCommerce 2.2 MS1 on Windows 2000, IIS, PHP4 The checkout_process.php has bombed out with the following 2 warnings: Warning: mail() [function.mail]: SMTP server response: 550 5.7.1 Unable to relay for [email protected] in C:Inetpubwwwrootoscommerce_1catalogincludesclassesemail.php on line 500 Warning: Cannot modify header information - headers already sent by (output started at C:Inetpubwwwrootoscommerce_1catalogincludesclassesemail.php:500) in C:Inetpubwwwrootoscommerce_1catalogincludesfunctionsgeneral.php on line 29 Kind regards and many thanks ...
arretx Posted May 29, 2003 Posted May 29, 2003 I had a problem where the sender's address in PHP.INI was not a valid address on my mail server. I am using MDaemon to serve my mail, and in that I have prevented relaying messages that are from users who are not part of the user database. To combat the licensing, I have setup an alias for the account that I have setup in PHP.INI as the SMTP sender and attached it to my regular mail account within the mail server. It looks as though your relay is setup to deny mail sent from the sender ' [email protected]. ' Make sure this is a user in your e-mail database or at least an alias to your current e-mail account so your server will allow it to connect.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.