Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Email problem solved


Guest

Recommended Posts

Having been asked to hunt down the problem with the emails that are not sending, I have found the following:

 

1) Emails from Admin area work fine.

2) Emails from "tell a friend", "contact us" and "create account" etc are not received.

 

Comparing the email.php pages of

 

.../includes/classes/email.php

 

and

 

.../admin/includes/classes/email.php

 

there was a number of differences towards the bottom of the page, from around line 515 if I recall correctly. Notably the one that did not work had an entire "else" statement was commented out... and the line before it.

 

I don't know if somebody else here had done that or it was already like that.

 

Either way, I just renamed the one in .../includes/classes/ to something else and added the working version to the directory.

 

Now they all seem to work fine.

 

Caution. There may be security issues with doing this, so some input from some of the mail Gurus here would be good.

 

Cheers,

Mak.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...