Since upgrade 2.3.2 to 2.3.3 order confirmation emails are showing empty with attachement.html file attached. The attachement.html files shows the order confirmation text which previously appeared in the message. When email with attachment is sent the message text appears in the email. We have already applied the backward compatibility patch. I assume it is a setting somewhere? Any help is much appreciated.

1 Answer 1


I've found the solution.


You have to patch the following file:


$current = $headers;
-        $current->setEncoding($encoding); // Delete this line under $current = $headers;
+        // PATCH
+        //$current->setEncoding($encoding);
+        $current->setEncoding($key === 'contentdisposition' && $current->getFieldValue(false) === 'inline' ? 'ASCII' : $encoding);
+        // ~PATCH
         $this->headers[$index] = $current;
         return $current;

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.