Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Sending email question


Recommended Posts

Posted

Hi,

 

I'm trying to adapt the Online Money Order a bit.

In the original contribution, an extra email is send to the shop owner with additional banking information from the customer.

 

Due to legal things it's neccasery to have a signature of the customer.

This is ofcourse a long way to handle this, so what I try to achieve is that when the customer fills in the neccesary banking information, the email goes to him/her self, so they can reply it with their approval of the money order.

 

This is the original code for sending the email to the shop owner :

 

tep_mail('', MODULE_PAYMENT_OMO_EMAIL, 'Ad Order #' . $insert_id, $message, STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS);

 

I tried to change it to :

 

tep_mail('', $order->customer['email_address'], 'Ad Order #' . $insert_id, $message, STORE_OWNER, MODULE_PAYMENT_OMO_EMAIL);

 

But then there's no email sended.

 

Could someone help me with this?

I've tried :

$order->customer['email_address']

$order->billing['email_address']

But both don't work.

 

Any help is welcome.

Archived

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

×
×
  • Create New...