Hab es jetzt zumindest zum laufen gebracht. Ich bin mir jedoch nicht sicher ob dies ein guter weg ist:
Code:
if ($objForm->validate()) {
$arrData = $objForm->fetchAll();
$objEmail = new \Email();
$objEmail->from = 'xx@xx.de;
$objEmail->fromName = 'xx@xx.de';
$objEmail->subject = 'test';
$objEmail->text = $arrData['text'];
$objEmail->sendTo('xx@xx.de');
\Controller::reload();
}
Wird hier die SMTP Einstellung verwendet? Ausserdem wäre mir alternativ ein Weg mit dem Notification Center auch noch ganz lieb.
Lesezeichen