diff --git a/application/views/emails/new_password.php b/application/views/emails/new_password.php
index 8ae7ee69..0532bbb2 100644
--- a/application/views/emails/new_password.php
+++ b/application/views/emails/new_password.php
@@ -1,6 +1,6 @@
- New Account Password
+ New Password | Easy!Appointments
@@ -8,12 +8,13 @@
height: 45px; padding: 10px 15px;">
- $company_name
+ = $company_name ?>
+
-
$email_title
-
$email_message
+
= $email_title ?>
+
= $email_message ?>
diff --git a/engine/Notifications/Email.php b/engine/Notifications/Email.php
index 4e0bddc4..0f461d12 100755
--- a/engine/Notifications/Email.php
+++ b/engine/Notifications/Email.php
@@ -255,11 +255,11 @@ class Email {
public function sendPassword(NonEmptyText $password, EmailAddress $recipientEmail, array $company)
{
$email_title = $this->framework->lang->line('new_account_password');
- $email_message = $this->framework->lang->line('new_password_is');
+ $password = '' . $password->get() . '';
+ $email_message = str_replace('$password', $password, $this->framework->lang->line('new_password_is'));
$company_name = $company['company_name'];
$company_email = $company['company_email'];
$company_link = $company['company_link'];
- $password = '' . $password->get() . '';
ob_start();
require __DIR__ . '/../../application/views/emails/new_password.php';