Skip to content
This repository has been archived by the owner on Nov 25, 2020. It is now read-only.

Commit

Permalink
Should fix #384
Browse files Browse the repository at this point in the history
  • Loading branch information
cdujeu committed Dec 14, 2013
1 parent 3c18491 commit 71caea5
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -60,7 +60,7 @@ protected function sendMailImpl($recipients, $subject, $body, $from = null)
$mail->CharSet = "utf-8";

$mail->Subject = $subject;
$mail->Body = nl2br($body);
$mail->Body = "<html><body>".nl2br($body)."</body></html>";
$mail->AltBody = strip_tags($mail->Body);

if (!$mail->Send()) {
Expand Down

0 comments on commit 71caea5

Please sign in to comment.