Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Receipt/Purchase Confirmation Emails Sent but Not Status Update Emails


madinchina

Recommended Posts

Posted

Hey all,

 

I'm helping out a client with his osCommerce-based store, which has been live for a couple of years now. He is running osC 2.2-MS2.

 

I just installed the Package Tracking Plus contribution ( http://addons.oscommerce.com/info/5798 ), and that's working fine. However, in the process of testing it, I noticed that osC is sending out the "Customer Receipt/Purchase Confirmation" email (the invoice) correctly and immediately after an order, but it does not send emails to customers when their order status is updated from the osC Administration (Customers -> Orders -> edit). The "Notify Customer" checkbox is selected, but the emails aren't actually being sent out.

 

(EDIT: Forgot to mention that the store's owner, my client, says that he's pretty much always had this problem, so I don't think it's related to the Package Tracking Plus contribution I just installed.)

 

What can I check to see why this is happening? Obviously, the web hosting server's sendmail function is working fine since the initial invoice is being sent successfully, but there must be some configuration option or something that I'm missing.

 

Here's my current E-mail Options configuration from the admin backend:

 

Send HTML or Text Invoices to Customers	  true	   
E-Mail Transport Method 	sendmail 	
E-Mail Linefeeds 	LF 	
Use MIME HTML When Sending Emails 	true 	
Verify E-Mail Addresses Through DNS 	false 	
Send E-Mails 	true

 

One other thing that may be worth noting is that even though the MIME setting is set to true, the invoice emails the system sends out are in what looks to be plaintext (albeit with this in the header: X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1914).

 

Any ideas or suggestions? Thanks in advance.

Posted

Sorry for the double post, but I can't edit my last post.

 

Forgot one setting, from Config -> My Store:

 

Send Extra Order Emails To	  sales@[clientdomain].com

 

Should there be a different address in this field?

Posted

Sorry to keep bumping this up, but I've been working with the site's web host, and I think we've made some progress.

 

First thing to note is that the "Receipt/Purchase Confirmation" emails I was receiving successfully were actually being sent by Authorize.net after processing the order ("Received: from anetrelay2f.authorize.net" in the mail header), not by osCommerce.

 

Now when I place an order, I receive an invoice from both Authorize.net and from osCommerce itself (again, proved by the mail header), which is a good sign that sendmail is working correctly now. I've also tested PHP's mail() function and osCommerce's mail class using Harald Ponce de Leon's contribution: http://www.oscommerce.com/community/contri...h,email+testing and both emails are sent and received successfully. However, order status notifications are still not being sent out.

 

It appears that the code that actually sends the notification emails is in /admin/orders.php (and just to make sure that the problem has nothing to do with the modules I installed, I tried reverting to the original orders.php, but nothing changed). Can someone please correct me if I'm wrong, or show me what other files are involved in the process of sending these notification emails? Again, keep in mind that osCommerce invoices are being sent successfully (via checkout_process.php?) and the email testing script works as well, so I don't think it's a problem with osCommerce's built-in mail class.

 

Any help would be much appreciated. Thanks!

Archived

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

×
×
  • Create New...