Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Wrong "Return-Path" And "Sender" In Emails


BoulderDash

Recommended Posts

Posted

Hi all,

The "From" address in some email programs shows up incorrectly sometimes (and affects the Reply if a receiver chooses to Reply), and I believe it's because the headers in email.php aren't being specified fully. Here's what an e-mail from my osC store has as headers (not all, to save space):

 

From: "Midwest Electronics" <[email protected]>
Date: Tue Jul 20, 2004  5:26:14  PM America/Chicago
To: [email protected]
To: "John Doe" <[email protected]>
Subject: Midwest Electronics - New Password
Delivered-To: [email protected]
Return-Path: [email protected]
Mime-Version: 1.0
X-Mailer: osCommerce Mailer
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Message-Id: <[email protected]>
Sender: [email protected]

 

You'll note that the "From" is being specified correctly, as defined in the Admin section, but the "Return-Path" and "Sender" are defined as the calling user being used to run osC at my ISP (but "[email protected]" isn't a real email, though at times this is what a user sees as the "From"). Here's what my ISP responds:

 

That's all in the application. The application is not supplying a return address so the mail system adds one based on the calling user. You have to find the location in the app where it sends the mail and make sure it is setting the return user correctly.

 

Can someone please tell me where to "find the location in [osC] where it sends the mail" so that I can specify the return user? I believe it should be somewhere within ~/catalog/includes/classes/email.php but I don't know what to do when I get there.

 

Thanks so much in advance,

BD

  • 3 months later...

Archived

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

×
×
  • Create New...