diff --git a/index.php b/index.php index afa59e18..d9022852 100644 --- a/index.php +++ b/index.php @@ -336,7 +336,7 @@ if($action == 'forgotpwd') try { $mail->Subject = $mail_subject; $mail->AltBody = $mail_body; - $mail->MsgHTML(str_replace("\\n", "
", $mail_body)); + $mail->MsgHTML(str_replace("\n", "
", $mail_body)); $mail->AddAddress($user['email'], $user['firstname'] . ' ' . $user['name']); $mail->Send(); } catch(phpmailerException $e) {