Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Can't get email working on 2.2-MS1


pauld

Recommended Posts

Posted

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 ...

  • 2 weeks later...
Posted

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.

Archived

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

×
×
  • Create New...