Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

smtp - incorrect address format in classes/email.php line 520


webmandman

Recommended Posts

Need help guys! I just transfered the osCommerce site from a linux box to windows. databse backup files have been inserted successfully and shared SSL is working properly, plus i can browse through all the products just fine.

 

however, new customer accounts are created BUT i never get to the success page. (i know this because i can log in with that account afterwards)

i'm on a MAC, firefox.

i fill in the required fields to create an account and when i click on "SUBMIT" the page doesn't reload or do anything, but i get prompted to save the create_account.php file or open it.

i save the file and open it in dreamweaver to see and it shows the error message:

PHP Warning: mail() [function.mail]: SMTP server response: 501 Incorrect Address Format in C:\Websites\MY_WEBSITE_ADDRESS.com\catalog\includes\classes\email.php on line 520

Link to comment
Share on other sites

  • 6 months later...
UPDATE: its been fixed by adding the following ini variables to the includes/classes/email.php

 

ini_set("SMTP","smtp.myserver.com");

ini_set("sendmail_from","[email protected]");

 

 

I'm having that same error too, i'm not good with this stuff - learning as i'm going - where did you put those variables in the file please? After line 520 or just anywhere?

 

Cheers

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...