Guest Posted April 17, 2004 Posted April 17, 2004 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.
Guest Posted April 24, 2004 Posted April 24, 2004 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.
Guest Posted April 24, 2004 Posted April 24, 2004 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.
Guest Posted April 25, 2004 Posted April 25, 2004 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.
korsh Posted April 28, 2004 Posted April 28, 2004 hi dana, to find all your posts you could try searching "dana" hth, James
Guest Posted April 28, 2004 Posted April 28, 2004 I meant that I could not find the post by someone else who suggested the change I made.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.