Quantcast
Channel: Active questions tagged email - Stack Overflow
Viewing all articles
Browse latest Browse all 29758

Missing '$template' parameter on emails

$
0
0

I'm trying to send an email after our IPN sends payment status updates, and email customers as well. I have the following code

$file_attachement = null; 
Mail::Send( (int)$email_order->id_lang, 
'order_conf', 
Mail::l('Order confirmation', (int)$email_order->id_lang), 
null, 
$email_customer->email, 
$email_customer->firstname.''.$email_customer->lastname, 
null, 
null, 
$file_attachement, 
null, 
_PS_MAIL_DIR_, false, (int)$email_order->id_shop );

And I get the following error

Missing '$template' parameter...smarty_internal_templatebase.php on line 177

The order_conf exists, and I can look at the Advanced Parameters->Email and see that its trying to send.

Prestashop Version is 1.7.5.1


Viewing all articles
Browse latest Browse all 29758

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>