Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Double emails from checkout_process.php


dtchaos

Recommended Posts

Posted

I can only find one instance of the code:

tep_mail($order->customer['firstname'] . ' ' . $order->customer['lastname'], $order->customer['email_address'], EMAIL_TEXT_SUBJECT, $email_order, STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS);

 

on the checkout_process.php page. However for some odd reason customers are getting two email confirmations of their orders. If I comment out the line, they get no emails. I can't figure out why it's calling this twice.

 

It also sends two emails to the "Send Extra Order Emails To" person which is held on the same page, as well as any mail sent from mail.php or a news letter. Does anyone know what file this might be in? What file are emails sent from and what would I be looking for a duplicate of?

Posted
I can only find one instance of the code:

tep_mail($order->customer['firstname'] . ' ' . $order->customer['lastname'], $order->customer['email_address'], EMAIL_TEXT_SUBJECT, $email_order, STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS);

 

on the checkout_process.php page. However for some odd reason customers are getting two email confirmations of their orders. If I comment out the line, they get no emails. I can't figure out why it's calling this twice.

 

It also sends two emails to the "Send Extra Order Emails To" person which is held on the same page, as well as any mail sent from mail.php or a news letter. Does anyone know what file this might be in? What file are emails sent from and what would I be looking for a duplicate of?

 

I found this thread that recommended using a mod, however I tried just setting the E-Mail Transport Method to sendmail, where as it was set to SMPT, and that fixed the problem.

Archived

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

×
×
  • Create New...