Guest Posted September 30, 2005 Posted September 30, 2005 in my order notifications (i receive a copy, i use the "send extra order emails to" command, the TO and FROM is my store address. how can i impliment the FROM to be from the customer's email, or if it's easier - just put their email in the body of the message?
Guest Posted September 30, 2005 Posted September 30, 2005 open the catalog\checkout_process.php find these lines: // 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); } Replace them with these lines: // send emails to other people if (SEND_EXTRA_ORDER_EMAILS_TO != '') { $email_custom = 'order from emai: ' . $order->customer['email_address'] . "\n\n" . $email_order; tep_mail('', SEND_EXTRA_ORDER_EMAILS_TO, EMAIL_TEXT_SUBJECT, $email_custom, STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS); }
Recommended Posts
Archived
This topic is now archived and is closed to further replies.