|
|
|
|
|
|
|
|
'Email' => $this->getParameter('app.noreply_email'), |
|
|
'Email' => $this->getParameter('app.noreply_email'), |
|
|
'Name' => $this->getParameter('app.site_name') |
|
|
'Name' => $this->getParameter('app.site_name') |
|
|
], |
|
|
], |
|
|
'Subject' => $currentMerchant->getMerchantConfig('email-subject-prefix').' '.$news->getTitle(), |
|
|
|
|
|
|
|
|
'Subject' => $currentMerchant->getMerchantConfig('email-from-name').' - '.$news->getTitle(), |
|
|
'TextPart' => $this->renderView('mail/news-text.html.twig', $paramsTemplate), |
|
|
'TextPart' => $this->renderView('mail/news-text.html.twig', $paramsTemplate), |
|
|
'HTMLPart' => $this->renderView('mail/news-html.html.twig', $paramsTemplate), |
|
|
'HTMLPart' => $this->renderView('mail/news-html.html.twig', $paramsTemplate), |
|
|
'CustomCampaign' => $news->getTitle(), |
|
|
'CustomCampaign' => $news->getTitle(), |