Greeting,
We have a problem with OSTicket v 1.17 with a random empty body. We can't reproduce the issue. It happened from time to time. Any suggestions will be welcomed.
message body is empty
- Edited
KevinTheJedi
Thank you Kevin for your response, Here is the Email header
Return-Path: <user@domain.tld>
Delivered-To: support@domain.tld
Received: from secure3.topchoiceisp.net
by secure3with LMTP
id YNllAUFt6mOkGQAAG70ANA
(envelope-from <user@domain.tld>)
for <support@domain.tld>; Mon, 13 Feb 2023 12:02:57 -0500
Return-path: <user@domain.tld>
Envelope-to: support@domain.tld
Delivery-date: Mon, 13 Feb 2023 12:02:57 -0500
Received: from mercury-com.total-mail-defense.com ([66.212.16.122]:46238)
by secure3.topchoiceisp.net with esmtp (Exim 4.95)
(envelope-from <user@domain.tld>)
id 1pRcEA-0001mg-SV
for support@us.net;
Mon, 13 Feb 2023 12:02:56 -0500
Received: from NAM10-BN7-obe.outbound.protection.outlook.com (mail-bn7nam10olkn2105.outbound.protection.outlook.com [40.92.40.105])
by mercury-com.total-mail-defense.com (Postfix) with ESMTP id 26A86810002
for <support@domain.tld>; Mon, 13 Feb 2023 08:59:45 -0800 (PST)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none;
b=P+fM44JK3xC5dnZ3Ui5rEYpZmAFWUMYugqNxmwdOfyi4tS9yhxEB0wjj14AQT+jH/ErH49HcSpmvHJGMAHy20boqco+uEVcK6Undwl4h1tgHXHI1wTw+wDJt3wFLtBsEWcJYsWb7p/umE274jCCfhicF33na8HvqvOIgOF8AYl8CFycPK57kbtQj4tA3XCfyqngAHnJIrurp8xRoyIdb8Tpn/nZH2wb33CF92jpzFbnvnC1EvvGHChTxv52sbswQ32ZL/Qf4r9ZW70UDQsSuUfw+m4mhxiD0mVF4rUm2DcPTqnOnewqeUR5zIHoTL6ZT551x95JYbog3bT/sq9+QFQ==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com;
s=arcselector9901;
h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1;
bh=AB1lNlczclAHACngH7EgsMdT9uV9Ml2rMhjPUoTs1Tk=;
b=kuVTIc4CUNTJAj0F2K6LyCisruYFuFg83U1UTHC9Hjiu6fqJVidUWOGAF4iyIkntmKoOtVe+vCCeCGP1RVc9eeFm2CsfhyDNp+Q5s3hPZ8KhGiJs0ziy+EQuv4tCf3vSNg6FM0SX6g4c6siKmhoigPjLFDyAFLqtNv+YNl+jrxYa3UjKzu+JMuBzMgPUCM9QxXu4lxQC5q/tyVuxyGPkwtB8m+o1RpC/IlaSCBjMMnrVoc2ou857uxPTT3xHnySTlUJYf4RwRT2OEn+Mephglp1Mn7gQCFdudWMeKs9rW9VB8v8Mc1Ap7yXnnIpLX2VaTRJWJG/vYn+/eyosoaKgOQ==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none;
dkim=none; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=domain.tld; s=selector1;
h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck;
bh=AB1lNlczclAHACngH7EgsMdT9uV9Ml2rMhjPUoTs1Tk=;
b=FMzbHJouOsYFH2MegsigUFq+5I6+yY9rzlPKT1XLcdLCgmQQ3c8q6QlmFKiR1Z4AnmB2RDe5vk4gygIP9d3XBqEEfKmOgxK/nzkSrh6EKMcnOp5GnqoAXC+n1pbXyEh6ACQ2yVqGwS040UxT7NgphhByojKJ9AEtLMJOpqd8oJcsHXW6lH9xaJXglBeCYvi2x0VgQrF6bgw4RwuInvX6cEHCc88a9Cngd2+cniSr7KWhMreS9p8yLyHVC6X0Y+M6YyhxPCEDPF/9eowVVZ58dvqdPIs8mg6JgSB9bwl2h3UDaPQtUurzEi/riYTE9NfFxf2fwAYX41zCbfTqkaor4w==
Received: from CY8PR12MB7289.namprd12.prod.outlook.com (2603:10b6:930:56::12)
by DS7PR12MB6119.namprd12.prod.outlook.com (2603:10b6:8:99::8) with Microsoft
SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id
15.20.6086.23; Mon, 13 Feb 2023 16:59:42 +0000
Received: from CY8PR12MB7289.namprd12.prod.outlook.com
([fe80::adde:40c6:7cf1:776b]) by CY8PR12MB7289.namprd12.prod.outlook.com
([fe80::adde:40c6:7cf1:776b%8]) with mapi id 15.20.6086.023; Mon, 13 Feb 2023
16:59:42 +0000
From: User Name <user@domain.tld>
To: "support@domain.tld" <support@domain.tld>
Subject: membership ID
Thread-Topic: membership ID
Thread-Index: AQHZP8xPNXnnuMdtdkKlMao31HusrQ==
Date: Mon, 13 Feb 2023 16:59:42 +0000
Message-ID:
<CY8PR12MB72897CD5DAF8B9F82B0CD713B5DD9@CY8PR12MB7289.namprd12.prod.outlook.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-ms-exchange-messagesentrepresentingtype: 1
x-tmn: [R6KVdLV/ffKRwlN8T5rX5rKf6TknGthE]
x-ms-publictraffictype: Email
x-ms-traffictypediagnostic: CY8PR12MB7289:EE_|DS7PR12MB6119:EE_
x-ms-office365-filtering-correlation-id: add0cbac-81df-497c-5616-08db0de3b39f
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info:
FsN0Jp/FNorxoXfuiS1eNeOP76rKbqqqPrtnoPY5/MoyrO8/8J5K9EK70cBXoJaF3YuyD1Tjt1dAwIE/q66sNioIesXdOUAVJIdpci+GCQdaV0wmivIp/zUWI0tvXPuf+PdbxnBgex92mmC6zkxgeQWfdifCLeoHzdp4+qetwteLAdv5WpLCkLSAPW7b/a9Nn/dlAvynGFnkpRKyJT4ztNLVpa6XO9OeRnu+POBFe/DXz03T8otpSVWUoGN4mIy0P0fLs5rKEPROM8xlTDNKuwYMiKDY3sSMGy9KnrFBDS9SUx0pmBqwzz1L0Q9OJsamJHT3juerYf2NFRvHadn9nosD39teXoVRIKpMFXyurtU0QP78JCzgNsz7oj6cNpchOFIzcuCHCMT43bGrM1d1x95ai9qA+9qOoW5s5ncHT1Fzla3BVc3g/+/wC+gwogkkNVmszSRUzOrh7T6aaOpmDzCROG/+BzdETjwAUKX8PFVgF0j7eJR/dPQLH++E6hLCLVdX4WkVG6X6Y3lJ10ni1mWuma5mWVg3lWggEPTr0tRrJuQnh8jP1OMZ3uH/hAZ5Ji/iLOz58wLF4vldr4xAS7vIuKmEz4BJlGGXYPlDe0ThpilWxSZ0TZIDLNpzFCod1fZ2O+aupvUGkUnBvl+OlQ==
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0:
=?Windows-1252?Q?bL8bxmBeD0L7spf/vki2pIHvRxXSZz4DwH7uEbcQxNwRWCwnxHDlOjfV?=
=?Windows-1252?Q?76fbV7KrREACIe1l7aOiOxIEKYB/ysTzWR2bFh5zmGJsXLfcNNiW+nHs?=
=?Windows-1252?Q?99fgLMflKqYlpeuSAfdq3mXeAkcB8aPiTZlqPnz5DZncY+mVSSuuxiYV?=
=?Windows-1252?Q?Je1K0+7c7eflyXJI+m1teNXNnpYB4eWTp+9D17Abp2wLMrhByI49hGfC?=
=?Windows-1252?Q?M322IhveZhEhmlMegE9mw7dehP2O33Bl53XPEfSRxYhkunFHhQOpnSc+?=
=?Windows-1252?Q?dPzBzuq4CD1qt0ec1WcaQU3SAMftwE7E9JLbxzGJvNeuQN98A50IIF/3?=
=?Windows-1252?Q?Sb+By9H7044PnaRQhWRtBbNyK5g0p1qnE5phrB6GUGrO/HLlet2cwxgt?=
=?Windows-1252?Q?2Om1UUz/VLst+r0CRWNKfFLtfvlBlhSxfsDg1livbTY4lSqmA9TeC6Dl?=
=?Windows-1252?Q?Ag79q4hunRiv1Wi7f/1d5S053Av0q+it5bnNpvh8wSr7nz6DUsHeF3Zv?=
=?Windows-1252?Q?Wrc8zCsVZToaIiKO8ZZ50+M7+4JmDnruvV/O8gPBEJMIuq+JwDEQOR1O?=
=?Windows-1252?Q?xToDUE3nWYebqVFCNf6FkNR/nDObTbcuRY248nue2YB3Zb0NpEvVqVRF?=
=?Windows-1252?Q?zZ0NPe/E2pOR3MrAqMrwqRulEHv5gAY8IgtZ2MGDDru8XMVNrAGjFcmk?=
=?Windows-1252?Q?s2sMv11IJ2OqbFY4sAFUkZRnEMBbK7MVrSIz6hb40ZCia+OiI+/QwYaT?=
=?Windows-1252?Q?S/31Q8b+JwhstsPqbaQbhoKwi4DgT3jCL6m919ENLP/VGhGKwvAQ9Egr?=
=?Windows-1252?Q?SLjFFC24CIjtrGSia4hN3CdQ9zCKDnzruWGa2z5dP/bydovAPoUJltHM?=
=?Windows-1252?Q?CsZXhLkvvhNvzcJ5nn01x2oTpGZA8c6mTC2UgLd3+/FFiIFf+eqfU3uP?=
=?Windows-1252?Q?qyvIaLmLe/2w7MlWDTGesnZ45T0nws2djjhaHjk4zMNUMpVJGWrzz2ir?=
=?Windows-1252?Q?s/3tOgyyj+iBZp1wN9IFgNtN7E10vRIT6N6ux3lMt4NyNb7MbZNJbEjW?=
=?Windows-1252?Q?eeW9XBOAow72laUzDu82q+MGLXFBTdC4cQUexatBPhSqbOig87Ps3yq7?=
=?Windows-1252?Q?lG5kuWKifbf7UsVIcYvER8/stKJWezRIGJF381UMAugqHxifKm7uL0k7?=
=?Windows-1252?Q?pjCtaL7LeQ6JYN272nnKPoIXGLqz/g+poc3NFLk3Rw9WDHopPzT2QA0k?=
=?Windows-1252?Q?kdYh36u5pQ11ARZRcZu2DNC9yT8OsYmzXfGmRBa8DNU/ua/q4TZI3Kfz?=
=?Windows-1252?Q?/TgalJRM5be3GTW0HjWouk4vIocS1UMTAHXhUuERjSQN/2pm2XRPAScB?=
=?Windows-1252?Q?boTKsSbmHRuazg=3D=3D?=
Content-Type: multipart/alternative;
boundary="_000_CY8PR12MB72897CD5DAF8B9F82B0CD713B5DD9CY8PR12MB7289namp_"
MIME-Version: 1.0
X-OriginatorOrg: sct-15-20-4755-11-msonline-outlook-71ea3.templateTenant
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: CY8PR12MB7289.namprd12.prod.outlook.com
X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000
X-MS-Exchange-CrossTenant-Network-Message-Id: add0cbac-81df-497c-5616-08db0de3b39f
X-MS-Exchange-CrossTenant-originalarrivaltime: 13 Feb 2023 16:59:42.5202
(UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa
X-MS-Exchange-CrossTenant-rms-persistedconsumerorg: 00000000-0000-0000-0000-000000000000
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DS7PR12MB6119
X-total-mail-defense.com-Information: Please contact the Total Mail Defense for more information
X-total-mail-defense.com: Found to be clean
X-total-mail-defense.com-SpamCheck: not spam, SpamAssassin (not cached,
score=1, required 4, autolearn=disabled, HTML_MESSAGE 0.00,
RCVD_IN_SPAM_SORBS 1.00, SPF_HELO_PASS -0.00)
X-total-mail-defense.com-SpamScore: s
X-total-mail-defense.com-From: user@domain.tld
X-Spam-Status: No
--_000_CY8PR12MB72897CD5DAF8B9F82B0CD713B5DD9CY8PR12MB7289namp_
Content-Type: text/plain; charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable
ahmedfathy We also need the content..
- Edited
KevinTheJedi
Sorry I missed it
Good morning,
Trying to renew my son=92s membership and even though I have paid and he is=
showing as a member, his Sensei is showing a different membership number t=
han what is showing up on our account.
Is this something we can get some help with please?
Thank you,
Kyle Bowden
Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=3D550986> for Window=
s
--_000_CY8PR12MB72897CD5DAF8B9F82B0CD713B5DD9CY8PR12MB7289namp_
Content-Type: text/html; charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable
<html xmlns:o=3D"urn:schemas-microsoft-com:office:office" xmlns:w=3D"urn:sc=
hemas-microsoft-com:office:word" xmlns:m=3D"http://schemas.microsoft.com/of=
fice/2004/12/omml" xmlns=3D"http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3DWindows-1=
252">
<meta name=3D"Generator" content=3D"Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
.MsoChpDefault
{mso-style-type:export-only;}
@"page"#118481 WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style>
</head>
<body lang=3D"EN-US" link=3D"blue" vlink=3D"#954F72" style=3D"word-wrap:bre=
ak-word">
<div class=3D"WordSection1">
<p class=3D"MsoNormal">Good morning,</p>
<p class=3D"MsoNormal"><o:p> </o:p></p>
<p class=3D"MsoNormal">Trying to renew my son=92s membership and even thoug=
h I have paid and he is showing as a member, his Sensei is showing a differ=
ent membership number than what is showing up on our account.</p>
<p class=3D"MsoNormal"><o:p> </o:p></p>
<p class=3D"MsoNormal">Is this something we can get some help with please?<=
/p>
<p class=3D"MsoNormal"><o:p> </o:p></p>
<p class=3D"MsoNormal">Thank you,</p>
<p class=3D"MsoNormal"><o:p> </o:p></p>
<p class=3D"MsoNormal">Kyle Bowden</p>
<p class=3D"MsoNormal"><o:p> </o:p></p>
<p class=3D"MsoNormal"><o:p> </o:p></p>
<p class=3D"MsoNormal">Sent from <a href=3D"https://go.microsoft.com/fwlink=
/?LinkId=3D550986">
Mail</a> for Windows</p>
<p class=3D"MsoNormal"><o:p> </o:p></p>
</div>
</body>
</html>
--_000_CY8PR12MB72897CD5DAF8B9F82B0CD713B5DD9CY8PR12MB7289namp_--
KevinTheJedi
Correct but it appears as empty body in the ticket
That screenshot is from the Ticket it created. So it's creating just fine for me.
Cheers.
KevinTheJedi
But it didn't indeed
How can I trace the email parser function into log file or something like this
It looks like you are using a customized version of osTicket. Can you try with a vanilla install with no mods/customizations and see if you have the same issue?
You will need to modify the code and add logging statements. There are many different methods that get called to parse the email, etc. so you will just need to start from the beginning and work your way through until you see where it’s stripping the content. I would assume the sanitize and html_chars methods in class Format would be the culprit here but hard to tell as I cannot replicate this using your example.
Cheers.
KevinTheJedi
You are correct We are but this also happened when We were using vanilla app
KevinTheJedi
Thank you, Kevin, I really appreciate your time I will try 1.17.3 and keep you posted. Thank you again