opionai Posted October 11, 2017 Share Posted October 11, 2017 It is possible to add the client's email with this code to the Reply-to field if ($dir_mail) Mail::Send( $mail_id_lang, 'new_order', sprintf(Mail::l('New order : #%d - %s', $mail_id_lang), $order->id, $order->reference), $template_vars, $merchant_mail, null, $configuration['PS_SHOP_EMAIL'], $configuration['PS_SHOP_NAME'], null, null, $dir_mail, null, $id_shop ); } } Link to comment Share on other sites More sharing options...
samverdyck Posted November 16, 2017 Share Posted November 16, 2017 I'm also looking for a solution to add the client's address to the reply-to field. Did you manage it? Link to comment Share on other sites More sharing options...
samverdyck Posted November 16, 2017 Share Posted November 16, 2017 I figured it out, got it functional with this code: if ($dir_mail) Mail::Send( $mail_id_lang, 'new_order', sprintf(Mail::l('New order : #%d - %s', $mail_id_lang), $order->id, $order->reference), $template_vars, $merchant_mail, null, $configuration['PS_SHOP_EMAIL'], $configuration['PS_SHOP_NAME'], null, null, $dir_mail, null, $id_shop, null, $customer->email ); Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now