added mail to events
This commit is contained in:
@@ -41,7 +41,11 @@ try {
|
||||
// 3) Notifica (opzionale). Il template vero arriva nello step successivo.
|
||||
if ($notify && !empty($participants)) {
|
||||
foreach ($participants as $p) {
|
||||
sendEventCancellationMail($p['email'], $p['name'], $event);
|
||||
try {
|
||||
yse_mail_event_cancel($p, $event);
|
||||
} catch (Throwable $mailEx) {
|
||||
error_log('[event_delete mail] ' . $mailEx->getMessage());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user