Sfoglia il codice sorgente

ajout d'un champ unscribe pour test

Sevajol Bastien 12 anni fa
parent
commit
c84e6b82ab
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  1. 2 0
      src/Muzich/IndexBundle/Controller/IndexController.php

+ 2 - 0
src/Muzich/IndexBundle/Controller/IndexController.php Vedi File

@@ -93,6 +93,8 @@ class IndexController extends Controller
93 93
           )
94 94
         )
95 95
       ;
96
+      $message->getHeaders()->addTextHeader('List-Unsubscribe', 'unsubscribe@muzi.ch');
97
+      
96 98
       $this->get('mailer')->send($message);
97 99
       
98 100