fix boolean field

This commit is contained in:
nupplaPhil 2020-01-26 20:41:53 +01:00
parent 2b8f067715
commit 4efba4d0cf
No known key found for this signature in database
GPG key ID: D8365C3D36B77D90
3 changed files with 6 additions and 6 deletions

View file

@ -77,8 +77,8 @@ class Emailer
"Content-Type: multipart/alternative; boundary=\"{$mimeBoundary}\"";
// assemble the final multipart message body with the text and html types included
$textBody = chunk_split(base64_encode($email->getMessage()));
$htmlBody = chunk_split(base64_encode($email->getMessage(true)));
$textBody = chunk_split(base64_encode($email->getMessage(true)));
$htmlBody = chunk_split(base64_encode($email->getMessage()));
$multipartMessageBody = "--" . $mimeBoundary . "\n" . // plain text section
"Content-Type: text/plain; charset=UTF-8\n" .
"Content-Transfer-Encoding: base64\n\n" .