Changes for my own site

This commit is contained in:
Michael Erdely 2024-10-08 22:44:19 -04:00
parent 381628e571
commit e601540c38
7 changed files with 33 additions and 21 deletions

View file

@ -136,7 +136,9 @@ else if ($action == "insert") {
$email,
"Gift Registry account created",
"Your Gift Registry account was created.\r\n" .
"Your username is $username and your password is $pwd.",
"Your username is $username and your password is '$pwd'.\r\n" .
"Log in to https://wishlist.erdelynet.com/ and change your password under\r\n" .
"Update Profile as soon as possible.",
"From: {$opt["email_from"]}\r\nReply-To: {$opt["email_reply_to"]}\r\nX-Mailer: {$opt["email_xmailer"]}\r\n"
) or die("Mail not accepted for $email");
header("Location: " . getFullPath("users.php?message=User+added+and+e-mail+sent."));
@ -178,7 +180,9 @@ else if ($action == "reset") {
mail(
$resetemail,
"Gift Registry password reset",
"Your Gift Registry password was reset to $pwd.",
"Your Gift Registry password was reset to '$pwd'.\r\n" .
"Log in to https://wishlist.erdelynet.com/ and change your password under\r\n" .
"Update Profile as soon as possible.",
"From: {$opt["email_from"]}\r\nReply-To: {$opt["email_reply_to"]}\r\nX-Mailer: {$opt["email_xmailer"]}\r\n"
) or die("Mail not accepted for $email");
header("Location: " . getFullPath("users.php?message=Password+reset."));