Hi friends, I'm in PS 1.7.5.1
In the file ps_mailalerts.php, this is:
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,
$email_corp,
null,
$configuration['PS_SHOP_EMAIL'],
$configuration['PS_SHOP_NAME'],
null,
null,
$dir_mail,
null,
$id_shop
);
}
I have removed $merchant_mail for $email_corp which is a variable where I keep the mail where the mail is going to be sent from which an order has been generated, but I do not know why you send me the same email twice, Do you know what can be done?
With the variable from before he takes the mail from the client and sent an email, but now that the mail I put it manually I sent it twice, does anyone know why?