Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Change "Reply to" address.

Change "Reply to" address.

Locked

Views: 972

Results 1 to 1 of 1
This thread is locked. New replies are disabled.
27 Oct 2006, 11:21 AM
#1
richard_nl avatar

richard_nl

New Zenner

Join Date:
Jan 2005
Location:
Amsterdam, NL
Posts:
45
Plugin Contributions:
0

Change "Reply to" address.

Hi,

I want to change the reply to address from the shop to the customers e-mail.

I know I've to change:
/includes/classes/order.php
At the end.

   //  $html_msg['EMAIL_TEXT_HEADER'] = EMAIL_TEXT_HEADER;
    $html_msg['EXTRA_INFO'] = '';
    zen_mail($this->customer['firstname'] . ' ' . $this->customer['lastname'], $this->customer['email_address'], EMAIL_TEXT_SUBJECT . EMAIL_ORDER_NUMBER_SUBJECT . $zf_insert_id, $email_order, STORE_NAME, EMAIL_FROM, $html_msg, 'checkout');

    // send additional emails
    if (SEND_EXTRA_ORDER_EMAILS_TO != '') {
      $extra_info=email_collect_extra_info('','', $this->customer['firstname'] . ' ' . $this->customer['lastname'], $this->customer['email_address'], $this->customer['telephone']);
      $html_msg['EXTRA_INFO'] = $extra_info['HTML'];
      zen_mail('', SEND_EXTRA_ORDER_EMAILS_TO, SEND_EXTRA_NEW_ORDERS_EMAILS_TO_SUBJECT . ' ' . EMAIL_TEXT_SUBJECT . EMAIL_ORDER_NUMBER_SUBJECT . $zf_insert_id,
      $email_order . $extra_info['TEXT'], $this->customer['firstname'] . ' ' . $this->customer['lastname'], $this->customer['email_address'], $html_msg, 'checkout_extra');
    }

I hope someone can help me with it.
Or at least the from address swapping to the reply to address.

Current mails:

Subject: [NEW ORDER] Orderconfermation Ordernumber: 700
From: Customers e-mail adres with name
Reply to: Shop owners e-mail adres with name
Date: today and now
To : Shop owners e-mail adres

In reply to the post: http://www.zen-cart.com/forum/showthread.php?t=48267 older and closed.