Commit 5210721a authored by S.Holzhauer's avatar S.Holzhauer

mail formatting fixes

parent d8f838ec
......@@ -32,7 +32,7 @@ if($operation == "add"){
VALUES ('$name','$random','$usertype','$last_id');";
error_log($sql2);
$conn->query($sql2);
$Msg = "Today an account for Watchdad has been created for you with the role $usertype.
$Msg = "\nToday an account for Watchdad has been created for you with the role $usertype.
\n
\nYou can login at stienos.nl/watchdad/ with:
\n Username: $name
......@@ -41,7 +41,7 @@ if($operation == "add"){
\n Greetings IRP-WatchDad
\n This is an automated message do not respond to this email.";
$headers = 'From: <accountmanagement@irp.nl>';
mail($mail,"WatchDad Account Registerd","Dear $initials $Msg",$headers);
mail($mail,"WatchDad Account Registered","Dear $name $Msg",$headers);
}
else{
$street = $_POST['street'];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment