|
|
|
|
|
|
|
|
$fromEmail = $this->producerSolver->getProducerEmailPlatform($producer) ; |
|
|
$fromEmail = $this->producerSolver->getProducerEmailPlatform($producer) ; |
|
|
$fromName = $producer->name ; |
|
|
$fromName = $producer->name ; |
|
|
|
|
|
|
|
|
$linkUnsubscribe = $linkProducer.'/newsletter/unsubscribe'; |
|
|
|
|
|
|
|
|
$linkUnsubscribe = $linkProducer.'/newsletter/index'; |
|
|
|
|
|
|
|
|
// Message inscription newsletter |
|
|
// Message inscription newsletter |
|
|
$messageAutoText .= " |
|
|
$messageAutoText .= " |
|
|
|
|
|
|
|
|
-- |
|
|
-- |
|
|
Boutique : ".$linkProducer." |
|
|
|
|
|
Me désinscrire : ".$linkUnsubscribe; |
|
|
|
|
|
|
|
|
Aller sur la boutique : ".$linkProducer." |
|
|
|
|
|
Se désinscrire de l'infolettre : ".$linkUnsubscribe; |
|
|
|
|
|
|
|
|
$messageAutoHtml .= "<br /><br />--<br>"; |
|
|
$messageAutoHtml .= "<br /><br />--<br>"; |
|
|
$messageAutoHtml .= "Boutique : <a href=\"".$linkProducer."\">".$linkProducer."</a><br>"; |
|
|
|
|
|
$messageAutoHtml .= "Me désinscrire : <a href=\"".$linkUnsubscribe."\">".$linkUnsubscribe."</a>"; |
|
|
|
|
|
|
|
|
$messageAutoHtml .= "Aller sur la boutique : <a href=\"".$linkProducer."\">".$linkProducer."</a><br>"; |
|
|
|
|
|
$messageAutoHtml .= "Se désinscrire de l'infolettre : <a href=\"".$linkUnsubscribe."\">".$linkUnsubscribe."</a>"; |
|
|
} |
|
|
} |
|
|
else { |
|
|
else { |
|
|
$fromEmail = 'contact@souke.fr' ; |
|
|
$fromEmail = 'contact@souke.fr' ; |