Skip to main content

Incoming emails from iPhone Mail (multipart/alternative MIME) result in tickets with '(empty)' body after upgrading from v1.17.5 to v1.17.7. No PHP errors.

osTicket: 1.17.7 PHP: 8.3 Checked:

Root cause is a change in v1.17.6 to the getRawEmail() method in include/class.mail.php -- trim() was added to the header string which can strip MIME boundary formatting needed by the PEAR mimeDecode parser. Workaround: replace the three files include/pear/Mail/mimeDecode.php, include/class.mailparse.php, and include/class.mailfetch.php with the v1.17.5 versions, then restore the v1.17.7 security files (htmLawed, mpdf, class.format.php) for CVE-2026-22200 coverage. Alternatively, revert only getRawEmail() in include/class.mail.php to remove the trim() wrapping. GitHub issue: https://github.com/osTicket/osTicket/issues/6915

Originally sourced from forum.osticket.com . osFAQ.org summarises community knowledge for quick reference.

Helpful
Report an error