head 1.1; access; symbols pkgsrc-2026Q1:1.1.0.6 pkgsrc-2026Q1-base:1.1 pkgsrc-2025Q4:1.1.0.4 pkgsrc-2025Q4-base:1.1 pkgsrc-2025Q3:1.1.0.2 pkgsrc-2025Q3-base:1.1; locks; strict; comment @# @; 1.1 date 2025.06.30.14.34.15; author hauke; state Exp; branches; next ; commitid fx0H4Pmv70SDjV0G; desc @@ 1.1 log @osTicket is a widely-used open source support ticket system. It integrates inquiries created via email, phone and web-based forms into a simple, easy-to-use multi-user web interface. @ text @$NetBSD$ The html2text conversion hard-wraps the mail body, rendering ticket URLs unrecognizable to many MUAs. --- include/class.mailer.php.orig 2025-06-25 13:43:16.397706426 +0000 +++ include/class.mailer.php @@@@ -516,7 +516,7 @@@@ class Mailer { $body); } - $txtbody = rtrim(\Format::html2text($body, 90, false)) + $txtbody = rtrim(\Format::html2text($body, 100, false)) . ($messageId ? "\nRef-Mid: $messageId\n" : ''); $message->setTextBody($txtbody); } @