newsletter : liste d'adresse de test, écriture des logs
This commit is contained in:
parent
c053ce2d27
commit
b525ea4f5c
9 changed files with 1456 additions and 23 deletions
17
site/config/hooks/prefill-test-adress-list.php
Normal file
17
site/config/hooks/prefill-test-adress-list.php
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
<?php
|
||||
|
||||
return function ($page) {
|
||||
if ($page->template() == 'email') {
|
||||
$list = [
|
||||
['email' => 'fournelcecile@yahoo.fr'],
|
||||
['email' => 'payet.adrien@protonmail.com'],
|
||||
['email' => 'mazet.zaccardelli@free.fr'],
|
||||
['email' => 'wafaabida@hotmail.com'],
|
||||
['email' => 'elisegarraud@yahoo.fr'],
|
||||
['email' => 'pierre-damien.huyghe@univ-paris1.fr'],
|
||||
];
|
||||
$page->update([
|
||||
'testAdressList' => Yaml::encode($list),
|
||||
]);
|
||||
}
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue