Where do i edit the desired email adress, Scurry said something about sendresetmail, but where in it? :)
Where do i edit the desired email adress, Scurry said something about sendresetmail, but where in it? :)
Probably in the password reset PHP file?
You can learn here:
http://php.net/manual/en/function.mail.php
You want to edit your sendresetmail, nowhere else.
Pretty simple, shouldn't take you any more then 15 minutes.
- }
- //echo $forgotpasswordtoken ."<br>";
- $subject="Reset Forgot Password";
- $body="<p>Sorry you've been having trouble logging into your {hotelname} account.</p><p>You’ve asked to reset your password for your {hotelname} account associated with this email address (".$email."). To reset your password click the link located below:</p><br/><a href='". $_CONFIG['hotel']['url']."/resetpassword?token=".$forgotpasswordtoken."'>". $_CONFIG['hotel']['url']."/resetpassword?token=".$forgotpasswordtoken."</a><p>You can also copy and paste the the link above into a new browser window.</p><p> Or enter the reset code directly into the password page:</p><br/><p>".$forgotpasswordtoken."</p><p>This password change code will expire 1 hour from the time this email was sent. To re-start the password change process, click here:</p><p><br/><a href='". $_CONFIG['hotel']['url']."/resetpassword'>". $_CONFIG['hotel']['url']."/resetpassword</a></p><p>If you didn't make the request, you can ignore this email and do nothing. Another user likely entered your email address by mistake while trying to reset a password.<br/>If you have noticed any suspicious activity on your account then please contact {hotelname} administration.</p><p>Regards,<br />The {hotelname} Administration Team<br /></p><p>***This is an automatic notification. Replies to this email are not monitored or answered.***</p>";
- echo $body;
- if (mail($email, $subject, $body))
- {