Browse Source

ajout d'un champ unscribe pour test

Sevajol Bastien 11 years ago
parent
commit
c84e6b82ab
1 changed files with 2 additions and 0 deletions
  1. 2 0
      src/Muzich/IndexBundle/Controller/IndexController.php

+ 2 - 0
src/Muzich/IndexBundle/Controller/IndexController.php View 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