I've updated the server to PHP 7.2.23, but unfortunately still the same issue. I've inspected the source of the specific mails where the issue still occurs and it looks like the mail contains base64 encode strings.
As an example, I've got an e-mail containing multiple base64 encoded strings (e.g. plain HTML mail and HTML mail).
Plain HTML (first part of string)
`--000_AM6PR05MB525609B76F06CD8F59506B83AB920AM6PR05MB5256eurp
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
QmVzdGUgbWVuc2VuLA0K`
HTML mail (first part of string)
`--000_AM6PR05MB525609B76F06CD8F59506B83AB920AM6PR05MB5256eurp
Content-Type: text/html; charset="utf-8"
Content-Transfer-Encoding: base64
PGh0bWwgeG1sbnM6dj0idXJuOnNjaGVtYXMtbWljcm9zb2Z0LWNvbTp2bWwiIHhtbG5zOm89InVy
bjpzY2hlbWFzLW1pY3Jvc29mdC1jb206b2ZmaWNlOm9mZmljZSIgeG1sbnM6dz0idXJuOnNjaGVt
YXMtbWljcm9zb2Z0LWNvbTpvZmZpY2U6d29yZCIgeG1sbnM6bT0iaHR0cDovL3NjaGVtYXMubWlj`
In addition the example mail also contains attachments like:
--_004_AM6PR05MB525609B76F06CD8F59506B83AB920AM6PR05MB5256eurp_
Content-Type: image/jpeg; name="image003.jpg"
Content-Description: image003.jpg
Content-Disposition: inline; filename="image003.jpg"; size=6292;
creation-date="Wed, 16 Oct 2019 07:59:46 GMT";
modification-date="Wed, 16 Oct 2019 07:59:46 GMT"
Content-ID: <image003.jpg@01D58408.90C01590>
Content-Transfer-Encoding: base64
Followed by a large encoded string containing the images.
This e-mail is sent via hotmail/outlook .
I saw some "old" discussions on the internet like https://forum.osticket.com/d/9042-base64-encoded-emails-not-parsed. However I could not find the answer. Does anyone have a direction for me where to look?
Thanks