Jump to content


Corporate Sponsors


Latest News: (loading..)

- - - - -

"Send Extra Order Emails to" not working


19 replies to this topic

#1 kimboecu1

  • Community Member
  • 9 posts
  • Real Name:Kim Reaves

Posted 17 October 2010, 18:50

I have read all of the forum posts I can find about getting the "Send Extra Order Emails to" functionality to work and I've not been succesful with any of them. Email is working, as I am able to send messages to customers, but there are no order notifications being sent no matter what format I put the email address in. I am submitting test orders, and making sure to return to the shopping cart from PayPal to complete the process.

Is there some special trick I'm missing? Here's how I currently have the email address configured in Send Extra Order Emails to:

Kim <kim.reaves@thewebparlor.com>

I've also tried these confirations:

Kim<kim.reaves@thewebparlor.com>
<kim.reaves@thewebparlor.com>
kim.reaves@thewebparlor.com
"Kim"<kim.reaves@thewebparlor.com>
"Kim" <kim.reaves@thewebparlor.com>

My client is very frustrated by having to constantly sign on to OSCommerce to see if an order has been placed.

Thanks to anyone who can help!

#2 roiphil

  • Community Member
  • 22 posts
  • Real Name:philip hunt

Posted 17 October 2010, 18:59

View Postkimboecu1, on 17 October 2010, 18:50, said:

I have read all of the forum posts I can find about getting the "Send Extra Order Emails to" functionality to work and I've not been succesful with any of them. Email is working, as I am able to send messages to customers, but there are no order notifications being sent no matter what format I put the email address in. I am submitting test orders, and making sure to return to the shopping cart from PayPal to complete the process.

Is there some special trick I'm missing? Here's how I currently have the email address configured in Send Extra Order Emails to:

Kim <kim.reaves@thewebparlor.com>

I've also tried these confirations:

Kim<kim.reaves@thewebparlor.com>
<kim.reaves@thewebparlor.com>
kim.reaves@thewebparlor.com
"Kim"<kim.reaves@thewebparlor.com>
"Kim" <kim.reaves@thewebparlor.com>

My client is very frustrated by having to constantly sign on to OSCommerce to see if an order has been placed.

Thanks to anyone who can help!

re do the email as kim.reaves@thewebparlor.com then go through the checkout with an item but select cheque/postal order as a payment method confirm order, and see if that makes any difference, because for some reason i dont get the send extra order email aswell if someone pays by paypal i only get paypal email, but i do get the extra order email if they pay by cheque or postal order, worth a go
Phil

#3 web-project

  • Community Member
  • 4,310 posts
  • Real Name:Alex
  • Gender:Male
  • Location:Hertfordshire, UK

Posted 17 October 2010, 20:00

I have noticed the above issue on majority of oscommerce, is due to oscommerce mail function is not function properly, personally recommend to update to the following:
$mail_headers = 'MIME-Version: 1.0' . "\r\n";
$mail_headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n";
// Additional headers
$mail_headers .= 'From:' . STORE_NAME .'<' .STORE_OWNER_EMAIL_ADDRESS . '>'. "\r\n";
$mail_subject = EMAIL_TEXT_SUBJECT;
$mail_to = SEND_EXTRA_ORDER_EMAILS_TO; 
$mail_email_body = nl2br($email_order); 
mail($mail_to, $mail_subject, $mail_email_body, $mail_headers);

Edited by web-project, 17 October 2010, 20:01.

Please read this line: Do you want to find all the answers to your questions? click here. As for contribution database it's located here!
8 people out of 10 don't bother to read installation manuals. I can recommend: if you can't read the installation manual, don't bother to install any contribution yourself.
Before installing contribution or editing/updating/deleting any files, do the full backup, it will save to you & everyone here on the forum time to fix your issues.
Any issues with oscommerce, I am here to help you.

#4 mdtaylorlrim

  • Community Member
  • 2,497 posts
  • Real Name:Mark
  • Gender:Male

Posted 17 October 2010, 21:15

Try using two email addresses there.

Kim <kim.reaves@thewebparlor.com>,Kim <kim.reaves@thewebparlor.com>
Avoid the most asked question. See How to Secure My Site and How do I...?

#5 kimboecu1

  • Community Member
  • 9 posts
  • Real Name:Kim Reaves

Posted 18 October 2010, 03:08

View Postroiphil, on 17 October 2010, 18:59, said:

re do the email as kim.reaves@thewebparlor.com then go through the checkout with an item but select cheque/postal order as a payment method confirm order, and see if that makes any difference, because for some reason i dont get the send extra order email aswell if someone pays by paypal i only get paypal email, but i do get the extra order email if they pay by cheque or postal order, worth a go
Phil

thanks phil, but I my client's customers will not be paying by check out postal order. appreciate the suggestion though.

#6 kimboecu1

  • Community Member
  • 9 posts
  • Real Name:Kim Reaves

Posted 18 October 2010, 03:10

View Postmdtaylorlrim, on 17 October 2010, 21:15, said:

Try using two email addresses there.

Kim <kim.reaves@thewebparlor.com>,Kim <kim.reaves@thewebparlor.com>


thanks mdtaylorlrim. i'll give this a go and report on what happens.

#7 kimboecu1

  • Community Member
  • 9 posts
  • Real Name:Kim Reaves

Posted 18 October 2010, 03:11

View Postweb-project, on 17 October 2010, 20:00, said:

I have noticed the above issue on majority of oscommerce, is due to oscommerce mail function is not function properly, personally recommend to update to the following:
$mail_headers = 'MIME-Version: 1.0' . "\r\n";
$mail_headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n";
// Additional headers
$mail_headers .= 'From:' . STORE_NAME .'<' .STORE_OWNER_EMAIL_ADDRESS . '>'. "\r\n";
$mail_subject = EMAIL_TEXT_SUBJECT;
$mail_to = SEND_EXTRA_ORDER_EMAILS_TO; 
$mail_email_body = nl2br($email_order); 
mail($mail_to, $mail_subject, $mail_email_body, $mail_headers);

thanks web-project. if mdtaylorlrim's email formatting suggestion doesn't work, i'll give this a try and report on what i experience.

#8 kimboecu1

  • Community Member
  • 9 posts
  • Real Name:Kim Reaves

Posted 19 October 2010, 02:14

View Postkimboecu1, on 18 October 2010, 03:11, said:

thanks web-project. if mdtaylorlrim's email formatting suggestion doesn't work, i'll give this a try and report on what i experience.

web-project. can you tell me what file i should make this update in? i'm not locating any code that looks like what you have presented here. thanks, KimboECU1

#9 kimboecu1

  • Community Member
  • 9 posts
  • Real Name:Kim Reaves

Posted 19 October 2010, 02:30

View Postkimboecu1, on 18 October 2010, 03:10, said:

thanks mdtaylorlrim. i'll give this a go and report on what happens.

unfortunately, this did not work.

#10 mdtaylorlrim

  • Community Member
  • 2,497 posts
  • Real Name:Mark
  • Gender:Male

Posted 19 October 2010, 02:42

I'm thinking it is going to have something to do with Paypal. Do you have any other payment method? Try placing a test order with a COD payment method.
Avoid the most asked question. See How to Secure My Site and How do I...?

#11 kimboecu1

  • Community Member
  • 9 posts
  • Real Name:Kim Reaves

Posted 19 October 2010, 02:50

View Postmdtaylorlrim, on 19 October 2010, 02:42, said:

I'm thinking it is going to have something to do with Paypal. Do you have any other payment method? Try placing a test order with a COD payment method.

just tried e-check. that didn't work either.

#12 mdtaylorlrim

  • Community Member
  • 2,497 posts
  • Real Name:Mark
  • Gender:Male

Posted 19 October 2010, 03:07

It is in the checkout_process.php file around line 250. And according to that the store owner gets an email also. Do you get that email?
Avoid the most asked question. See How to Secure My Site and How do I...?

#13 kimboecu1

  • Community Member
  • 9 posts
  • Real Name:Kim Reaves

Posted 20 October 2010, 01:16

View Postmdtaylorlrim, on 19 October 2010, 03:07, said:

It is in the checkout_process.php file around line 250. And according to that the store owner gets an email also. Do you get that email?

no. neither the customer, nor the owner, nor the 'send extra order emails' recipients get anything. however, the contact us form sends emails just fine, so it's not an email functionality issue. this is really frustrating. i don't know what else to try.

#14 kimboecu1

  • Community Member
  • 9 posts
  • Real Name:Kim Reaves

Posted 25 October 2010, 02:20

does anyone have any other ideas here?

#15 Pabs_DX

  • Community Member
  • 3 posts
  • Real Name:Pablo
  • Gender:Male
  • Location:A Coruña (España)

Posted 03 February 2011, 16:32

Hi,

I have fixed this problem with a little modification of the source code:

(1) Find in checkout_process.php

if (SEND_EXTRA_ORDER_EMAILS_TO != '') {
  
	tep_mail('', SEND_EXTRA_ORDER_EMAILS_TO, EMAIL_TEXT_SUBJECT, $email_order, STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS);

}	

Replace with:

if (SEND_EXTRA_ORDER_EMAILS_TO != '') {
  
	//tep_mail('', SEND_EXTRA_ORDER_EMAILS_TO, EMAIL_TEXT_SUBJECT, $email_order, STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS);
	
	// Begin - Send extra order emails ( Pablo - http://www.twitter.com/pabs_dx )
	$enviar_correos_extra = explode(",",SEND_EXTRA_ORDER_EMAILS_TO); 
        // The explode function will return an array of emails : $enviar_correos_extra[0],$enviar_correos_extra[1],...
	foreach($enviar_correos_extra as $correo){
	        // Now we can send extra order emails
		tep_mail('',trim($correo), EMAIL_TEXT_SUBJECT, $email_order, STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS);
		}  
	// End
		
	
  }

(2) In the Administration Panel we must fill the extra email adresses in this format: forza@depor.es, djalma@esdios.com


Sorry for my English.

#16 jbhz_finisher

  • Community Member
  • 72 posts
  • Real Name:Michael

Posted 04 February 2011, 03:52

Here is a simple fix that worked for me. New Order Email Add-On

#17 Pabs_DX

  • Community Member
  • 3 posts
  • Real Name:Pablo
  • Gender:Male
  • Location:A Coruña (España)

Posted 04 February 2011, 10:44

[Same code with variables translated into English]

(1) Find in checkout_process.php

if (SEND_EXTRA_ORDER_EMAILS_TO != '') {
  
	tep_mail('', SEND_EXTRA_ORDER_EMAILS_TO, EMAIL_TEXT_SUBJECT, $email_order, STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS);

}	

Replace with:

if (SEND_EXTRA_ORDER_EMAILS_TO != '') {
  
	//tep_mail('', SEND_EXTRA_ORDER_EMAILS_TO, EMAIL_TEXT_SUBJECT, $email_order, STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS);
	
	// Begin - Send Extra Order Emails ( Pablo - http://www.twitter.com/pabs_dx )
	$send_extra_emails = explode(",",SEND_EXTRA_ORDER_EMAILS_TO); 
        // The explode function will return an array of emails: $send_extra_emails[0], $send_extra_emails[1],...
	foreach($send_extra_emails as $extra_email){
	        // Now we can send extra order emails
		tep_mail('',trim($extra_email), EMAIL_TEXT_SUBJECT, $email_order, STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS);
		}  
	// End
		
	
  }

(2) In the Administration Panel we must fill extra email adresses in this format: forza@depor.es, djalma@esdios.com


Regards.

#18 Pabs_DX

  • Community Member
  • 3 posts
  • Real Name:Pablo
  • Gender:Male
  • Location:A Coruña (España)

Posted 04 February 2011, 10:54

View Postjbhz_finisher, on 04 February 2011, 03:52, said:

Here is a simple fix that worked for me. New Order Email Add-On

Hi,

I didn't know that addon but I think you only can send extra email to STORE_OWNER_EMAIL_ADDRESS or emails you add in checkout_process.php manually.

I wanted a code to send to 2,3 or 16 emails and configure it in the administration panel easily.

#19 alancohen

  • Community Member
  • 2 posts
  • Real Name:Alan Cohen

Posted 25 February 2011, 18:52

View Postkimboecu1, on 17 October 2010, 18:50, said:

I have read all of the forum posts I can find about getting the "Send Extra Order Emails to" functionality to work and I've not been succesful with any of them. Email is working, as I am able to send messages to customers, but there are no order notifications being sent no matter what format I put the email address in. I am submitting test orders, and making sure to return to the shopping cart from PayPal to complete the process.

Is there some special trick I'm missing? Here's how I currently have the email address configured in Send Extra Order Emails to:

Kim <kim.reaves@thewebparlor.com>

I've also tried these confirations:

Kim<kim.reaves@thewebparlor.com>
<kim.reaves@thewebparlor.com>
kim.reaves@thewebparlor.com
"Kim"<kim.reaves@thewebparlor.com>
"Kim" <kim.reaves@thewebparlor.com>

My client is very frustrated by having to constantly sign on to OSCommerce to see if an order has been placed.

Thanks to anyone who can help!


#20 alancohen

  • Community Member
  • 2 posts
  • Real Name:Alan Cohen

Posted 25 February 2011, 18:55

Did you ever get this fixed?

I am having the same problem after it has been working for nearly a year.

It never worked for PayPal but it was working for all credit card transactions through Authorize.net.

I haven't changed anything and all of a sudden it stopped sending the order confirmations. Like you, I can send email from the application manually.