From e2a6a034f69a74263607c171afcc33088c2beff8 Mon Sep 17 00:00:00 2001 From: TheWitness Date: Sun, 29 Mar 2020 12:30:49 -0400 Subject: [PATCH] Minor update due to note on issue #3380 --- lib/functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/functions.php b/lib/functions.php index 630becbd84..ac5aba0022 100644 --- a/lib/functions.php +++ b/lib/functions.php @@ -3651,7 +3651,7 @@ function mailer($from, $to, $cc, $bcc, $replyto, $subject, $body, $body_text = ' } } else { if (!empty($attachment['attachment']) && @file_exists($attachment['attachment'])) { - $result = $mail->addEmbeddedImage($attachment['attachment'], $cid, $attachment['filename'], 'base64', $attachment['encoding'], $attachment['mime_type'], $attachment['inline']); + $result = $mail->addEmbeddedImage($attachment['attachment'], $cid, $attachment['filename'], $attachment['encoding'], $attachment['mime_type'], $attachment['inline']); } else { $result = $mail->addStringEmbeddedImage($attachment['attachment'], $cid, $attachment['filename'], 'base64', $attachment['mime_type'], $attachment['inline']); }