thilip.xandy Posted February 6, 2014 Share Posted February 6, 2014 HI: I'm Creating one module in that after the process done. the email need to send to user. How to create new email template for this. Thanks in advance. Link to comment Share on other sites More sharing options...
vekia Posted February 6, 2014 Share Posted February 6, 2014 hello take a look how it works in mailalerts module there is a subdirectory with mail templates like /mails/en/ maile/gb/ etc. you can find mails there and in module php code, to send an email, this module uses Mail function: 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...
Recommended Posts