notification_center mails verschicken
Hallo,
ich versuche mit dem notification_center mails zu versenden. IN meinem Modul kann man eine Benachrichtigung wählen.
PHP-Code:
// Id der Benachrichtigung
$ncid = $this->regform;
// Get the input parameter
$email = (\Input::get('email')) ? \Input::get('email') : 0;
// Jetzt noch die notification_center mais raus
$objNotification = \NotificationCenter\Model\Notification::findByPk($ncid);
if (null !== $objNotification) {
$objNotification->send(array($email));
}
Es gibt keine Fehlermeldung oder so. Es wird aber auch nichts verschickt.
Im Contao System-Log erscheint das.
PHP-Code:
[16.05.2016 15:59] Version 3 of record "tl_nc_message.id=4" has been created (parent records: tl_nc_notification.id=4)
Hat da jemand einen Tipp für mich?
Danke ;)