Skip to content

Commit

Permalink
Fix email html
Browse files Browse the repository at this point in the history
  • Loading branch information
DipsMethi committed Jun 27, 2022
1 parent c201c40 commit 9283aa6
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions supervisor/leave-details.php
Original file line number Diff line number Diff line change
Expand Up @@ -203,19 +203,19 @@
$mail->isHTML(true);

$mailContent = "<body style=font-family:verdana>
<h2>Good day $recFullName,</h2>
<h3>The status of your application was changed to: <span style=color:green>$aStatus</span>
<br>Remark: $description</h3>
<h3>Regards,</h3>
<b><h3>$supervisorName</h3></b>
<p><b>Good day $recName,
<br><br>The status of your application was changed to: <span style=color:green>$aStatus</span>
<br>Remark: $description
<br><br>Regards,
<b>$supervisorName</b></p>
<h4 style=color:red>This is an automated email sent by SoftstartBTI ELMS. Do not reply.</h4>
</body>";

$mail->Body = $mailContent;

if(!$mail->Send())
$error = 'Mailer Error: '.$mail->ErrorInfo;
}
}
?>
</td>
</tr>
Expand Down

0 comments on commit 9283aa6

Please sign in to comment.