Changes for my own site
This commit is contained in:
parent
381628e571
commit
e601540c38
7 changed files with 33 additions and 21 deletions
|
@ -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."));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue