Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Email Issues


Guest

Recommended Posts

hi all..

 

Im not sure if im missing something but having an issue with emails on oscommerce..

 

The problem is that email will be sent to the 'send extra order email' address when an order is made but not to main 'email address' set in admin>config..

 

Also mail will be successfull from the 'send email' fearture in admin>tools..

 

So basically it all works but not anything to the addess set in 'email address' in admin config..

 

Im scratching my head here..

 

Any suggestions or tips would be most apreciated..

 

Thanks

Ian

Link to comment
Share on other sites

Change the code in /catalog/checkout_process.php:

 

// 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);
 }

to:

 

// 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);
tep_mail(STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS, EMAIL_TEXT_SUBJECT, $email_order, STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS);
 }

MAKE A BACKUP BEFORE MAKING ANY EDITS.

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...