newsletter : liste d'adresse de test, écriture des logs

This commit is contained in:
isUnknown 2025-02-06 18:34:46 +01:00
parent c053ce2d27
commit b525ea4f5c
9 changed files with 1456 additions and 23 deletions

View 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),
]);
}
};