Jump to content

Error: mail parameters are corrupted


dakrcz

Recommended Posts

zdravim


najednou mi zacal shop vyhazovat tuhle chybu - Error: mail parameters are corrupted

deje se to pri odesilani zpravy zakaznikovi - /otevru objednavku a tam je zaslani zpravy zakaznikovi/

vsechny ostatni emaily funguji


diky za odpovedi

Link to comment
Share on other sites

v AdminOrders.php radek 132 zmenit z

if (Mail::Send(intval($order->id_lang), 'order_merchant_comment', $this->l('New message regarding your order').' '.$message->id_order, array('{genre}' => Gender::getNameById($message->id_customer), '{lastname}' => $customer->lastname, '{firstname}' => $customer->firstname, '{id_order}' => $message->id_order, '{message}' => ((Configuration::get('PS_MAIL_TYPE') == 3 || Configuration::get('PS_MAIL_TYPE') == 2) ? $message->message : nl2br2($message->message))), $customer->email, $customer->firstname.' '.$customer->lastname))


na

if (Mail::Send(intval($order->id_lang), 'order_merchant_comment', html_entity_decode($this->l('New message regarding your order').' '.$message->id_order, ENT_NOQUOTES, 'UTF-8'), array('{genre}' => Gender::getNameById($message->id_customer), '{lastname}' => $customer->lastname, '{firstname}' => $customer->firstname, '{id_order}' => $message->id_order, '{message}' => ((Configuration::get('PS_MAIL_TYPE') == 3 || Configuration::get('PS_MAIL_TYPE') == 2) ? $message->message : nl2br2($message->message))), $customer->email, $customer->firstname.' '.$customer->lastname))

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...