diff --git a/app/Helpers/EmailHelper.php b/app/Helpers/EmailHelper.php index e440af1..13d94ed 100644 --- a/app/Helpers/EmailHelper.php +++ b/app/Helpers/EmailHelper.php @@ -334,18 +334,57 @@ class EmailHelper $verifyUrl = $appSettings['app_url'] . '/verify-email?token=' . $token; $subject = 'Verify Your Email Address'; - $message = " -
Hello {$fullName},
-Thank you for registering. Please click the link below to verify your email address:
- -Or copy and paste this URL into your browser:
-{$verifyUrl}
-This link will expire in 24 hours.
-If you did not create an account, please ignore this email.
+ + // Create a properly formatted HTML email + $htmlContent = " ++ Thank you for registering with {$appSettings['app_name']}! To complete your account setup, + please verify your email address by clicking the button below: +
+ + + ++ Or copy and paste this URL into your browser: +
++ {$verifyUrl} +
++ ⏰ Important: This verification link will expire in 24 hours for security reasons. +
++ If you did not create an account with {$appSettings['app_name']}, please ignore this email. + No further action is required. +
+This is an automated message from {$appSettings['app_name']}
+ Visit Dashboard +Hello {$fullName},
-We received a request to reset your password. Click the link below to create a new password:
- -Or copy and paste this URL into your browser:
-{$resetUrl}
-This link will expire in 1 hour.
-If you did not request a password reset, please ignore this email and your password will remain unchanged.
+ + // Create a properly formatted HTML email + $htmlContent = " ++ We received a request to reset your password for your {$appSettings['app_name']} account. + If you made this request, click the button below to create a new password: +
+ + + ++ Or copy and paste this URL into your browser: +
++ {$resetUrl} +
++ ⏰ Important: This password reset link will expire in 1 hour for security reasons. +
++ 🔒 Security Notice: If you did not request a password reset, please ignore this email. + Your password will remain unchanged and no action is required. +
+This is an automated message from {$appSettings['app_name']}
+ Visit Dashboard +