Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Receiving Multiple order Confirmation emails


DOOL

Recommended Posts

Posted

I am having an issue that when an order is placed, the customer is reciving 1 email like they should, but I am receiving 3 identical order confirmation emails for a single order.

I have double checked that only 1 email adress is in the "Send Extra order emails to" field.

could someone give me some ideas on where and what to look for to resolve this issues. Please understand I am a newb and could realy use some details instructions on what i am looking for.

 

Thank You

DOOL

  • 2 weeks later...
Posted

I am having an issue that when an order is placed, the customer is reciving 1 email like they should, but I am receiving 3 identical order confirmation emails for a single order.

I have double checked that only 1 email adress is in the "Send Extra order emails to" field.

could someone give me some ideas on where and what to look for to resolve this issues. Please understand I am a newb and could realy use some details instructions on what i am looking for.

 

Thank You

DOOL

 

Well I may have found a resolution while readind another persons post about how to change the email message.

what i found is that my catalog/checkout_process looked like this:

error_log("checkout_process - sending email: gc_prod=" . $gc_prod . " gc_image=" . $gc_image . " products_options_name=" . $attributes_values['products_options_name']=="Gift Certificate Email" . " products_options_values_name=" . $attributes_values['products_options_values_name'] . "sendgcemail=" . $sendgcemail);
// send emails to other people
 if (SEND_EXTRA_ORDER_EMAILS_TO != '') {
   tep_mail('', SEND_EXTRA_ORDER_EMAILS_TO, EMAIL_TEXT_SUBJECT, $email_order, STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS);
 }
// send emails to other people
 if (SEND_EXTRA_ORDER_EMAILS_TO != '') {
   tep_mail('', SEND_EXTRA_ORDER_EMAILS_TO, EMAIL_TEXT_SUBJECT, $email_order, STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS);
 }

// load the after_process function from the payment modules
 $payment_modules->after_process();

 

The fact that there were 2 send email functions, so with trial and error i delted one and it suddnly started sending one instead of 3. Now sure how it works but it does seem to.

Final code looks like this:

error_log("checkout_process - sending email: gc_prod=" . $gc_prod . " gc_image=" . $gc_image . " products_options_name=" . $attributes_values['products_options_name']=="Gift Certificate Email" . " products_options_values_name=" . $attributes_values['products_options_values_name'] . "sendgcemail=" . $sendgcemail);
// send emails to other people
 if (SEND_EXTRA_ORDER_EMAILS_TO != '') {
   tep_mail('', SEND_EXTRA_ORDER_EMAILS_TO, EMAIL_TEXT_SUBJECT, $email_order, STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS);
 }


// load the after_process function from the payment modules
 $payment_modules->after_process();

 

Not what i did or what else it may do, but it does seem to have solved the multiple email issues.

hope this info helps someone else out there is OSCy land. :D

  • 1 month later...
Posted

Well I may have found a resolution while readind another persons post about how to change the email message.

what i found is that my catalog/checkout_process looked like this:

error_log("checkout_process - sending email: gc_prod=" . $gc_prod . " gc_image=" . $gc_image . " products_options_name=" . $attributes_values['products_options_name']=="Gift Certificate Email" . " products_options_values_name=" . $attributes_values['products_options_values_name'] . "sendgcemail=" . $sendgcemail);
// send emails to other people
 if (SEND_EXTRA_ORDER_EMAILS_TO != '') {
   tep_mail('', SEND_EXTRA_ORDER_EMAILS_TO, EMAIL_TEXT_SUBJECT, $email_order, STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS);
 }
// send emails to other people
 if (SEND_EXTRA_ORDER_EMAILS_TO != '') {
   tep_mail('', SEND_EXTRA_ORDER_EMAILS_TO, EMAIL_TEXT_SUBJECT, $email_order, STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS);
 }

// load the after_process function from the payment modules
 $payment_modules->after_process();

 

The fact that there were 2 send email functions, so with trial and error i delted one and it suddnly started sending one instead of 3. Now sure how it works but it does seem to.

Final code looks like this:

error_log("checkout_process - sending email: gc_prod=" . $gc_prod . " gc_image=" . $gc_image . " products_options_name=" . $attributes_values['products_options_name']=="Gift Certificate Email" . " products_options_values_name=" . $attributes_values['products_options_values_name'] . "sendgcemail=" . $sendgcemail);
// send emails to other people
 if (SEND_EXTRA_ORDER_EMAILS_TO != '') {
   tep_mail('', SEND_EXTRA_ORDER_EMAILS_TO, EMAIL_TEXT_SUBJECT, $email_order, STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS);
 }


// load the after_process function from the payment modules
 $payment_modules->after_process();

 

Not what i did or what else it may do, but it does seem to have solved the multiple email issues.

hope this info helps someone else out there is OSCy land. :D

 

THAT DID IT!! Awesome thank you!!!

Archived

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

×
×
  • Create New...