osTicket Version: 1.7.1.4
Mail Sending: PHP Mail Function
Mail Fetching/Receiving: Exchange 2010
PHP version: 5.3.26
Operating System: Windows 7
I was getting odd formatting in plain text emails sent to clients (auto-reply etc); "=" around 75 character mark:
-- do not edit --
Test User,
A request for support has been created and assigned ticket #507516. A repre=
sentative will follow-up with you as soon as possible.
You can view this ticket's progress online here: http://nas/osticket/view=
.php?t=507516&e=testuser@testcompany.co.nz&a=4f5bdd18eeec63d4b711=
30518cd5edf0.
If you wish to send additional comments or information regarding this issue=
, please don't open a new ticket. Simply login using the link above and upd=
ate the ticket.
Support Dept
Searched for solutions on these forums and found some similar issues, but the file contents must have changed between osTicket versions and it was hard to find the right location to apply fixes.
One suggested solution which helped: (by zkenstein).
My solution based on the above post:
Open include/class.mailer.php
Line 138, replace:
$mime = new Mail_mime();
with:
$crlf = "\n";
$mime = new Mail_mime($crlf);
Other workarounds suggest using SMTP instead of the default PHP mail function, which appears to successfully bypass the issue, but this wasn't an option for my setup.
More info on the issue from Microsoft:
(Microsoft Exchange Internet Mail Lines End with "=")