浏览代码

ajout d'un champ unscribe pour test

Sevajol Bastien 11 年前
父节点
当前提交
c84e6b82ab
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      src/Muzich/IndexBundle/Controller/IndexController.php

+ 2 - 0
src/Muzich/IndexBundle/Controller/IndexController.php 查看文件

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