franco.pentangeli Posted February 28, 2014 Share Posted February 28, 2014 Hi, I want receive order notification from email customer (and not from shop e-mail) in order to reply quickly to customer. can you help me? thanks, F PS: I use Prestashop 1.4 Link to comment Share on other sites More sharing options...
vekia Posted February 28, 2014 Share Posted February 28, 2014 you're talking about order confirmation mail from mail alerts module? Link to comment Share on other sites More sharing options...
franco.pentangeli Posted March 3, 2014 Author Share Posted March 3, 2014 yes! Link to comment Share on other sites More sharing options...
vekia Posted March 3, 2014 Share Posted March 3, 2014 mailalerts.php there is a code like Mail::Send( $id_lang, $template, sprintf(Mail::l('New order - #%06d', $id_lang), $order->id), $template_vars, $merchant_mail, null, $configuration['PS_SHOP_EMAIL'], $configuration['PS_SHOP_NAME'], null, null, dirname(__FILE__).'/mails/', null, $id_shop ); try to change $configuration['PS_SHOP_EMAIL'], to $customer->email Link to comment Share on other sites More sharing options...
Serg UA Posted November 12, 2015 Share Posted November 12, 2015 Works like a charm in prestashop 1.6.1.1 thanks! Link to comment Share on other sites More sharing options...
opionai Posted October 10, 2017 Share Posted October 10, 2017 how can i make the reply-to be the customer. Mail::Send( $id_lang, $template, sprintf(Mail::l('New order - #%06d', $id_lang), $order->id), $template_vars, $merchant_mail, null, $configuration['PS_SHOP_EMAIL'], $configuration['PS_SHOP_NAME'], null, null, dirname(__FILE__).'/mails/', null, $id_shop ); Link to comment Share on other sites More sharing options...
bellini13 Posted October 15, 2017 Share Posted October 15, 2017 Works like a charm in prestashop 1.6.1.1 thanks! Too bad the customer will not receive in their inbox. This is the basics of SPAM and mail relay, and most modern software would either reject it or put it into a spam/junk folder. You do not own the customers email address or domain, you should not be sending email from other peoples addresses... how can i make the reply-to be the customer. Mail::Send( $id_lang, $template, sprintf(Mail::l('New order - #%06d', $id_lang), $order->id), $template_vars, $merchant_mail, null, $configuration['PS_SHOP_EMAIL'], $configuration['PS_SHOP_NAME'], null, null, dirname(__FILE__).'/mails/', null, $id_shop ); What version of Prestashop? Link to comment Share on other sites More sharing options...
Recommended Posts