Explorar el Código

ajout d'un champ unscribe pour test

Sevajol Bastien hace 12 años
padre
commit
c84e6b82ab
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. 2 0
      src/Muzich/IndexBundle/Controller/IndexController.php

+ 2 - 0
src/Muzich/IndexBundle/Controller/IndexController.php Ver fichero

@@ -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