Pārlūkot izejas kodu

ajout d'un champ unscribe pour test

Sevajol Bastien 12 gadus atpakaļ
vecāks
revīzija
c84e6b82ab

+ 2 - 0
src/Muzich/IndexBundle/Controller/IndexController.php Parādīt failu

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