Hi,
basic is:
1 table
only for User registration.
So the email to the user is send perfectly with my own text ...
but I need to send the same email to the Recipient defined in the email settings....
he is getting only an email with :
Record status changed as follows:
Table: table
Key value: 31
Action: Eingefügt
Senseless
Server events doesnt work so far:
// Email Sending event
function Email_Sending(&$Email, &$Args) {
//var_dump($Email); Uncomment this one if you want to see this Array info.
//var_dump($Args); Uncomment this one if you wan to see this array info.
//exit(); Uncomment this one if you want to stop and see the two above.
$Email->Subject .= "\n\r". "Neue Registrierung: ".$Args['rsnew']['name'];
$Email->Content = "<p>Guten Tag,<p/>Eine neue Registrierung zum Event am 20.3.2018 ist erfolgt</p><hr><p><br /></p>";
$Email->Content .= "<BR>\n Name: <b>".$Args["rsnew"]["name"]."</b>";
$Email->Content .= "<BR>\n Vorname: <b>".$Args["rsnew"]["vorname"]."</b>";
$Email->Content .= "<BR>\n Email: <b>".$Args["rsnew"]["email"]."</b>";
$Email->Content .= "<BR>\n Teilname: <b>".$Args["rsnew"]["teilname"]."</b>";
$Email->Content .= "<BR>\n Menu: <b>".$Args["rsnew"]["menu"]."</b>";
$Email->Content .= "<BR><BR>\n Bemerkung: <b>".$Args["rsnew"]["bemerkungen"]."</b>";
//$Email->Content .= "<BR><BR> erstellt von: <b>" . CurrentUserName()."</b>";
return TRUE;
}
THX