Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Email X-From anonymous?


Guest

Recommended Posts

Posted

OK...I just looked at ALL the postings found with a search on "anonymous" and found nothing related. I am no email expert but I would like to replace the X-From email address in mail sent from osCommerce with a "real" address. Is this a server issue or configuration issue? Thanks.

Posted

Originally, I misconfigured email addresses and correcting that switched the problem from "X-From" problem to "Return-path" problem. I found a post that suggests modifying includes/function/general.php to add "Return-path:" header in email. Works now.

Posted

To help the others who may have the same problem, you may wish to post the link to the post about modifying the code or state what you added and where.

Posted

I thought it would be easy to find the forum post I located previously but I tried and failed. So...

 

in function tep_mail about line 965

 

change to:

 

$message = new email(array('X-Mailer: osCommerce Mailer','Return-Path: [email protected]'));

 

There must be a way to get the email address from an osCommerce variable but hard coding works too. Please post if you know name of osCOmmerce variables for emails.

 

There is another suggestion somewhere on the forums to change email class instead but it looked a lot messier.

Posted

hi dana,

 

to find all your posts you could try searching "dana"

 

hth, James

Posted

I meant that I could not find the post by someone else who suggested the change I made.

Archived

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

×
×
  • Create New...