+ $preamble = deindent(t('
+ Dear %1$s,
+ A request was recently received at "%2$s" to reset your account
+ password. In order to confirm this request, please select the verification link
+ below or paste it into your web browser address bar.
+
+ If you did NOT request this change, please DO NOT follow the link
+ provided and ignore and/or delete this email.
+
+ Your password will not be changed unless we can verify that you
+ issued this request.'));
+ $body = deindent(t('
+ Follow this link to verify your identity:
+
+ %1$s
+
+ You will then receive a follow-up message containing the new password.
+ You may change that password from your account settings page after logging in.
+
+ The login details are as follows:
+
+ Site Location: %2$s
+ Login Name: %3$s'));
+
+ $preamble = sprintf($preamble, $username, $sitename);
+ $body = sprintf($body, $resetlink, $siteurl, $email);
+
+ notification(array(
+ 'type' => "SYSTEM_EMAIL",
+ 'to_email' => $email,
+ 'subject'=> sprintf( t('Password reset requested at %s'),$sitename),
+ 'preamble'=> $preamble,
+ 'body' => $body));