Webklex / php-imap

PHP-IMAP is a wrapper for common IMAP communication without the need to have the php-imap module installed / enabled. The protocol is completely integrated and therefore supports IMAP IDLE operation and the "new" oAuth authentication process as well.
https://www.php-imap.com
MIT License
302 stars 144 forks source link

Empty body when there is a file attachment #91

Closed narguelles closed 3 years ago

narguelles commented 3 years ago

Returns an empty message body when there is an attachment detected on the email.

"data": [
    {
        "fetch_options": 2,
        "fetch_body": null,
        "fetch_flags": null,
        "header": {
            "raw": "REDACTED",
            "fallback_encoding": "UTF-8"
        },
        "raw_body": null,
        "bodies": [],
        "attachments": [
            {},
            {}
        ],
        "flags": []
    }
],
Webklex commented 3 years ago

Hi @narguelles , thanks for your report.

The raw header looks off - which provider are you using?

Best regards,

Update: Please take a look at https://github.com/Webklex/php-imap/issues/new?assignees=&labels=&template=bug_report.md and try to provide as much additional context as possible (code to reproduce, config used, used versions, etc). I'm unable to reproduce this behavior (testen on custom debian/postfix and gmail).

narguelles commented 3 years ago

Office 365. it was doing okay until yesterday

Webklex commented 3 years ago

Oh Office aka Microsoft... Well you might want to check #81 and #86

You can try a few things:

Best regards,

narguelles commented 3 years ago

I also tried it using a gmail account. but still got the same result.

Webklex commented 3 years ago

Please take a look at https://github.com/Webklex/php-imap/issues/new?assignees=&labels=&template=bug_report.md and try to provide as much additional context as possible (code to reproduce, config used, used versions, etc). I'm unable to reproduce this behavior (testen on custom debian/postfix and gmail).

narguelles commented 3 years ago

I'm sorry, I do some testing and I found out that it only happens when there is an inline image attachment on the body together with an attached file.

narguelles commented 3 years ago

This is the rawbody that I get.

--00000000000085f71905b97b79cf
Content-Type: multipart/related; boundary="00000000000085f71905b97b79ce"

--00000000000085f71905b97b79ce
Content-Type: multipart/alternative; boundary="00000000000085f71805b97b79cd"

--00000000000085f71805b97b79cd
Content-Type: text/plain; charset="UTF-8"

Test[image: image.png]

--00000000000085f71805b97b79cd
Content-Type: text/html; charset="UTF-8"

<div dir="ltr">Test<img src="cid:ii_kk878x030" alt="image.png" width="452" height="328"><br></div>

--00000000000085f71805b97b79cd--
--00000000000085f71905b97b79ce
Content-Type: image/png; name="image.png"
Content-Disposition: inline; filename="image.png"
Content-Transfer-Encoding: base64
Content-ID: <ii_kk878x030>
X-Attachment-Id: ii_kk878x030

iVBORw0KGgoAAAANSUhEUgAAAiYAAAGPCAYAAABoNRv9AAAgAElEQVR4Aey93U9cV5736z8FJCQu
Webklex commented 3 years ago

Hi @narguelles , I just forwarded you my test message. Please try to parse this one, if it does not fail, please donate a "broken" one to github@webklex.com.

Best regards,

narguelles commented 3 years ago

I forwarded it to my imap email, your email does not fail on parsing, with inline image, but I re forwarded it with email attachment and it fails.


From: Webklex notifications@github.com Sent: Friday, January 22, 2021 7:49 PM To: Webklex/php-imap php-imap@noreply.github.com Cc: Noriel Arguelles noriel.arguelles@kmc.solutions; Mention mention@noreply.github.com Subject: Re: [Webklex/php-imap] Empty body when there is a file attachment (#91)

Hi @narguelleshttps://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnarguelles&data=04%7C01%7Cnoriel.arguelles%40kmc.solutions%7C2b2636a25aba4ace673608d8becbd5ca%7Cc3435beac1d542d392887387a8459771%7C0%7C0%7C637469129985176726%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=MDXU%2FAS9dIGuu0Dy2ZQdxlfFCSYJb0X6Wmk%2BvwbiVn4%3D&reserved=0 , I just forwarded you my test message. Please try to parse this one, if it does not fail, please donate a "broken" one to github@webklex.commailto:github@webklex.com.

Best regards,

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FWebklex%2Fphp-imap%2Fissues%2F91%23issuecomment-765346380&data=04%7C01%7Cnoriel.arguelles%40kmc.solutions%7C2b2636a25aba4ace673608d8becbd5ca%7Cc3435beac1d542d392887387a8459771%7C0%7C0%7C637469129985186686%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=gpOtuVn3vB8oXmBZJgY0nXJ9FhhqgYOtDLw59C50VV4%3D&reserved=0, or unsubscribehttps://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAQG3C3UEC3N2S6IZAJ4LOBDS3FQ6BANCNFSM4WOJFCHA&data=04%7C01%7Cnoriel.arguelles%40kmc.solutions%7C2b2636a25aba4ace673608d8becbd5ca%7Cc3435beac1d542d392887387a8459771%7C0%7C0%7C637469129985186686%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=J36dDAwBXzOPWQn%2BZbwSWfno6pLqiwiQ22KBldIhOQA%3D&reserved=0.

This e-mail message (including attachments, if any) is intended for the use of the individual or entity to which it is addressed and may contain information that is privileged, proprietary, confidential and exempt from disclosure. If you are not the intended recipient, you are notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify the sender and erase this e-mail message immediately.

{
        "fetch_options": 2,
        "fetch_body": null,
        "fetch_flags": null,
        "header": {
            "raw": "Delivered-To: osp.api.ticketing@gmail.com\r\nReceived: by 2002:a05:6402:2789:0:0:0:0 with SMTP id b9csp1114998ede; Fri, 22\r\n Jan 2021 03:55:08 -0800 (PST)\r\nX-Google-Smtp-Source: ABdhPJx0CKCUfasiBeu3YwlVJPx2kWB/3DPk04fY7gqbMC3IXxDKCN1w6kDqW58qt/Zy0bHteEXM\r\nX-Received: by 2002:a17:90a:a88e:: with SMTP id\r\n h14mr4910135pjq.59.1611316507959; Fri, 22 Jan 2021 03:55:07 -0800 (PST)\r\nARC-Seal: i=2; a=rsa-sha256; t=1611316507; cv=pass; d=google.com;\r\n s=arc-20160816;\r\n b=E/N+utptUFw1MNAKlAzcFMVJkCaNhV02RwWutk0HXwdOkKPqCkBWrGPdTI6hgTzcG5\r\n xNHcB8RaTa9XPaZYpfwF53ge8SHikL8ZcUtwoJ5ZroB9r3JLoP5SlmuBg0Yeiw/Dj4/1\r\n xNAoPdCqqKzljaJaWq7UbpCJoP9GDuh8vzSrqmDwk+MHL2lNq4aMwNy3Fv37cSoyUl4v\r\n elKOpHB/V/Rcf6RiSECVZHzCLVlfRqJyyCA3ryTjhQaszDNo7mH8H9dzh7Akutgyti0i\r\n 34zKkxclNUkECyQCZ5cvJUfuvPJnXgoR8MG5N1eXm1/ihU+KEcoKP6e7IeCie9qeuwFf V9Uw==\r\nARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com;\r\n s=arc-20160816; h=mime-version:content-language:accept-language:in-reply-to\r\n :references:message-id:date:thread-index:thread-topic:subject:to\r\n :from:dkim-signature; bh=DPknJeb0TGgytcVCiAFrDU8QmtPEO9dFVXzPKqiZ2Tw=;\r\n b=uwXc4CvtFNKW2C4lqrZDpVUSkOJ4RO0vtMy/T5+JZbEBcyA1Px5UsjJVLdw+WTQpe2\r\n r5tf2wOG7CwHeJ4IFNO002PAeRQVTxdDscKxKxu7ILhKYzNweeyF1YW+LYAj39z7v1EQ\r\n EE8Z3jXoLTHjeQBwA6SzV2NRxQoXCY7u1R3pct5o9+RfVONdIG7dMH8xs6sSyGDTH0xh\r\n VHbkPrWe1TMQ2pCsIJXCVkh68oG41KYSVA+ATlok9IRlPTyRdZOo/mJUuxUv3LBqHEG3\r\n J8TC4iUQ2lsOP4y/L1Bt05XS62HmPcG0ZNVtk56d4V+VusfSRzm7enwweS3aO2cunqdK WetA==\r\nARC-Authentication-Results: i=2; mx.google.com; dkim=pass\r\n header.i=@KMCSolutions.onmicrosoft.com\r\n header.s=selector2-KMCSolutions-onmicrosoft-com header.b=R8FSIBp2; arc=pass\r\n (i=1 spf=pass spfdomain=kmc.solutions dkim=pass dkdomain=kmc.solutions\r\n dmarc=pass fromdomain=kmc.solutions); spf=pass (google.com: domain of\r\n noriel.arguelles@kmc.solutions designates 40.107.130.54 as permitted sender)\r\n smtp.mailfrom=noriel.arguelles@kmc.solutions\r\nReturn-Path: <noriel.arguelles@kmc.solutions>\r\nReceived: from APC01-HK2-obe.outbound.protection.outlook.com\r\n (mail-eopbgr1300054.outbound.protection.outlook.com. [40.107.130.54]) by\r\n mx.google.com with ESMTPS id q5si10057460pgg.343.2021.01.22.03.55.07 for\r\n <osp.api.ticketing@gmail.com> (version=TLS1_2\r\n cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Fri, 22 Jan 2021 03:55:07\r\n -0800 (PST)\r\nReceived-SPF: pass (google.com: domain of noriel.arguelles@kmc.solutions\r\n designates 40.107.130.54 as permitted sender) client-ip=40.107.130.54;\r\nAuthentication-Results: mx.google.com; dkim=pass\r\n header.i=@KMCSolutions.onmicrosoft.com\r\n header.s=selector2-KMCSolutions-onmicrosoft-com header.b=R8FSIBp2; arc=pass\r\n (i=1 spf=pass spfdomain=kmc.solutions dkim=pass dkdomain=kmc.solutions\r\n dmarc=pass fromdomain=kmc.solutions); spf=pass (google.com: domain of\r\n noriel.arguelles@kmc.solutions designates 40.107.130.54 as permitted sender)\r\n smtp.mailfrom=noriel.arguelles@kmc.solutions\r\nARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none;\r\n b=CM8L9xcRQVYe9vUz3afmRarTfd4PL+c9MSiOTmB9i1qhq8edcTIvwBIEELtKL2WUzfbO5ria3+jL5PuAXD7kleDMU2zxXZ2YrSHajSgEqAI0kZ4a2YpHtqAo5CilOvaASIDNebO+ZrN8ZVgHhzpBlucNJYyTbiwLP3boVKed8/jrDQg+jbt63n9exNEiCnVJQTQ4aGnlxbcNQJcVg9Y2bLDB1poTNx1Ue79+4/bVtlcAaDY+Cf/sj17QhwKsO6nLzvmKSV5SV5cOp/07ot+RJdiBF4c4GuLarCFMMoGbuwA/uIxOmpLzRcZYBG7iz1gYZwnZwwU2JpAiAY+GPnjgew==\r\nARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com;\r\n s=arcselector9901;\r\n h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck;\r\n bh=DPknJeb0TGgytcVCiAFrDU8QmtPEO9dFVXzPKqiZ2Tw=;\r\n b=Wb1omZwD0h6t5buzcO2MyifqnjLgDjnh93CDibCh16hEykkT3vLPqMPopuBPVWZc7IH8Q+qXH/6ZGa3YAPNYfm1ir6iUSkyQK38+L6U9Ofrs1pJjPfl9CkjOXtAPfsBFB1ciSvLaTNA9uq93dpOTB4d23x2iV7ZSMaoIYXa4KBAfNgEyYeCZAIF/PoKiK0dryRXLpIW7RD1EhV32IyFPaeBcNSj+3+yFS+oBuvc0imqPVgRzyprFKRjqDsLc7j/hXZfXLMUnz+IBjQGNMlutFEM53NGRtlpXSfjUAedGk8G6WPPscLRy8Ad7jwIzNKGW9XSOB88e9RHsPruh6vzHUQ==\r\nARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass\r\n smtp.mailfrom=kmc.solutions; dmarc=pass action=none\r\n header.from=kmc.solutions; dkim=pass header.d=kmc.solutions; arc=none\r\nDKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;\r\n d=KMCSolutions.onmicrosoft.com; s=selector2-KMCSolutions-onmicrosoft-com;\r\n h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck;\r\n bh=DPknJeb0TGgytcVCiAFrDU8QmtPEO9dFVXzPKqiZ2Tw=;\r\n b=R8FSIBp2cNmz20BiHzqz9xXzH/dfqQnwkYUMDpZ5htSaFIeX99eEwzo6r9BmIZ1lmY73eMOf7Z2MaQOlMg/TTpVgN3JDtE8+avvKRqpknhNGSy2l0rvPSnqXUqINJtgQX35lhjWJILW5ejrX9wF4SxLa+i2JtNBuJINLV0DUnkw=\r\nReceived: from HKAPR04MB4019.apcprd04.prod.outlook.com (2603:1096:203:d4::11)\r\n by HK0PR04MB3332.apcprd04.prod.outlook.com (2603:1096:203:84::14) with\r\n Microsoft SMTP Server (version=TLS1_2,\r\n cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3763.11; Fri, 22 Jan\r\n 2021 11:55:05 +0000\r\nReceived: from HKAPR04MB4019.apcprd04.prod.outlook.com\r\n ([fe80::958e:7a6c:421e:6f88]) by HKAPR04MB4019.apcprd04.prod.outlook.com\r\n ([fe80::958e:7a6c:421e:6f88%5]) with mapi id 15.20.3784.012; Fri, 22 Jan 2021\r\n 11:55:05 +0000\r\nFrom: Noriel Arguelles <noriel.arguelles@kmc.solutions>\r\nTo: OSP <osp.api.ticketing@gmail.com>\r\nSubject: Fw: Inline test mail\r\nThread-Topic: Inline test mail\r\nThread-Index: AQHW8LQTtxDT/SvSsEm89mPPDUXHz6oziU9Y\r\nDate: Fri, 22 Jan 2021 11:55:05 +0000\r\nMessage-ID: <HKAPR04MB4019EB53828F8DF651401A1694A00@HKAPR04MB4019.apcprd04.prod.outlook.com>\r\nReferences: <f271f85c-5420-4e4f-ff2a-21c2ea9212ba@webklex.com>,<402976e9-dc59-c709-94f8-470bd9396477@webklex.com>\r\nIn-Reply-To: <402976e9-dc59-c709-94f8-470bd9396477@webklex.com>\r\nAccept-Language: en-US\r\nContent-Language: en-US\r\nX-MS-Has-Attach: yes\r\nX-MS-TNEF-Correlator: \r\nauthentication-results: gmail.com; dkim=none (message not signed)\r\n header.d=none;gmail.com; dmarc=none action=none header.from=kmc.solutions;\r\nx-originating-ip: [103.141.203.66]\r\nx-ms-publictraffictype: Email\r\nx-ms-office365-filtering-correlation-id: 582b2c9e-aac2-4dc8-b8df-08d8becc8f09\r\nx-ms-traffictypediagnostic: HK0PR04MB3332:\r\nx-microsoft-antispam-prvs: <HK0PR04MB33321934822977BD4F365CFE94A00@HK0PR04MB3332.apcprd04.prod.outlook.com>\r\nx-ms-oob-tlc-oobclassifiers: OLM:8882;\r\nx-ms-exchange-senderadcheck: 1\r\nx-microsoft-antispam: BCL:0;\r\nx-microsoft-antispam-message-info: JQOGF7NioEepK7SiahOIOMF9Ji77Umt4NCGoyVbY6Ge61dpzh0PwfTPFS4WNV83uf+2Kic8HaXEl+ySMfVDAhAi/7lNaY+OY+oIb8SekWOR3xKo+wZjQhu4cciCdrZZMoMUZIddzntsZONZisHLFvsFSp4HOgalTgYGvTotNV8oFF+r76aop3D4Z4Q9xsVUMf9LMBe17sENcmFP2jiG20mW2WM62uxcUYl1ycQNGWYrC23uqBLYTdmreUJtqjgF/jnn50+/vYmko+jdTTzjJozyI5Cl5Nd1XL9gRR8KZza5CzfOx4ACIPZFPXpqtj9mMpP6sTH2Fzqp0zQumlwibDMZBNA6jxfijVE6/YoZ23JXfyntec33RbLc6qucZdoflUTCqCY7VvnRc0Clh6HQaiesh0fgvzNo335E+wIdbLBM1mdKSy7ZBmQwNbBhDYDzGdy47QQISPTCcgLL1m5fsGTWj+QQl9CL5nAFd7xY5PVyYcj6ak+bHRvZyRa5hKMgE6DVu/Ak+2fKoNoKQ6dOHdotQ1Q3PLHM4r/t/5a4uyOO2EUHq2TFos2EHENm7f1ZP1Uk9842dOdF/3ZWahfNPraFq9K/UkiTHdm0T5bmOwAM=\r\nx-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:de;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:HKAPR04MB4019.apcprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(4636009)(366004)(136003)(39850400004)(396003)(376002)(346002)(64756008)(8936002)(186003)(66556008)(86362001)(66446008)(83380400001)(6916009)(76116006)(99936003)(33656002)(19627405001)(9686003)(66576008)(66946007)(52536014)(2906002)(316002)(66476007)(166002)(26005)(44832011)(8676002)(71200400001)(7116003)(53546011)(66574015)(55016002)(7696005)(5660300002)(6506007)(478600001)(46492008);DIR:OUT;SFP:1101;\r\nx-ms-exchange-antispam-messagedata: =?iso-8859-1?Q?GP+VzKRsld7Ktp8/9Np137VSrlFvZFZfyXJzzBf/YBzHpKJVnfbdKEdj21?=\r\n =?iso-8859-1?Q?y8+/FSy/oEBA4y1VAmCl9eZR+UoTk5Z40LBncQHniCd9lejb+XbFlzw406?=\r\n =?iso-8859-1?Q?yoJP3YkajPcpNHixRRMCNsaf29k95G3i98n6bTR6Lj4yURxMs0DcEE5AHB?=\r\n =?iso-8859-1?Q?9VYA4owYsTbZgF6SOwp7MISeLdj59YmsCAHgB9AM2ND3qN250vDT+pW+6o?=\r\n =?iso-8859-1?Q?+gTwlGCjk56IECwYbENMIGH4/nG5IKE/vTK6bmx3anrTqHbj6tNO0sllnw?=\r\n =?iso-8859-1?Q?ymR0NPbcs411r0ZJNmzUJu3MuLfaGOktXPaDYaAb6EYh5GHKeOzAGTtDzU?=\r\n =?iso-8859-1?Q?S9OKM41Jl75p2Zd+4NEchYe2SbypSu8m/sNVfALXnjNvGb5dSgPOuZI2lC?=\r\n =?iso-8859-1?Q?+iAcVu8uwVKzissxuLy8tUerTqOz+3CE6yFharYZXAEllQNET/yIuKudCU?=\r\n =?iso-8859-1?Q?5g0XsjKxtnmkfKKWmwwkX5LrmBhJumdV6m9jaB0EqEzoUYRmU8hrWB2zDd?=\r\n =?iso-8859-1?Q?SDNIbqme+HNDe/ps+eVu3fXYJxrhQVeE72ZdKOa2RVzsk5ghbDXMszazab?=\r\n =?iso-8859-1?Q?zufxBT5BChqDq4ZIfDyN3iP887sO8QDoAFT5lEqHE3mfPX6NOgyhUuEQu7?=\r\n =?iso-8859-1?Q?JJ4deMaAGNluVYYWG/FGY7NSSOQLdsD6ci3h56qc9CKW11FsSs0SpgODQJ?=\r\n =?iso-8859-1?Q?2AX3eMW7sDveYkUt7Fpeaq9kf8+zeBY0BZLclPr4V4e4XTV53OTL2OoaWf?=\r\n =?iso-8859-1?Q?FHOfaGI0Hcq6b2b/TBTa8CeNKR9zMR3fXZ/sT36KvDHB9UVYnBGcmz207R?=\r\n =?iso-8859-1?Q?f84x+T73W0nxDc3QpIZ1gwxOBKIuZhSVmr2CsFYisVQrXJzhNKeUQ9nFBy?=\r\n =?iso-8859-1?Q?o/S6IjH12uZsZU9Lar7pMgC3j1P/175uN7xUD/sWKAQViU3MUG59ArUiXx?=\r\n =?iso-8859-1?Q?C/xum363+riKs+kzhCAp4HaGGoW9F7LDufzmFY0VCcowSkbxj64KQH5CAC?=\r\n =?iso-8859-1?Q?7wLP2pDFcxfyAf5qGhb0r+LSLRKO+R3sfIKw+nNZwcUT6z1NcjMr4QbJdH?=\r\n =?iso-8859-1?Q?aEpEcx5Gi0OWudLeCHxKPfA5yXo3IM6t2tGuKhWwVQjf?=\r\nx-ms-exchange-transport-forked: True\r\nContent-Type: multipart/mixed;\r\n boundary=\"_006_HKAPR04MB4019EB53828F8DF651401A1694A00HKAPR04MB4019apcp_\"\r\nMIME-Version: 1.0\r\nX-OriginatorOrg: kmc.solutions\r\nX-MS-Exchange-CrossTenant-AuthAs: Internal\r\nX-MS-Exchange-CrossTenant-AuthSource: HKAPR04MB4019.apcprd04.prod.outlook.com\r\nX-MS-Exchange-CrossTenant-Network-Message-Id: 582b2c9e-aac2-4dc8-b8df-08d8becc8f09\r\nX-MS-Exchange-CrossTenant-originalarrivaltime: 22 Jan 2021 11:55:05.3687 (UTC)\r\nX-MS-Exchange-CrossTenant-fromentityheader: Hosted\r\nX-MS-Exchange-CrossTenant-id: c3435bea-c1d5-42d3-9288-7387a8459771\r\nX-MS-Exchange-CrossTenant-mailboxtype: HOSTED\r\nX-MS-Exchange-CrossTenant-userprincipalname: L7tF/iP4e/ZqmIHkOE/xX7qN/Dv51gSAprg4nEoXPFOf/aAXUXhA4PdPfHcKvwGnsA+2fa4ED8rCXR5sOXQgbrpzG0ezctiucrjc5VogfGw=\r\nX-MS-Exchange-Transport-CrossTenantHeadersStamped: HK0PR04MB3332\r\n\r\n",
            "fallback_encoding": "UTF-8"
        },
        "raw_body": null,
        "bodies": [],
        "attachments": [
            {},
            {}
        ],
        "flags": []
    }

"data": [ { "fetch_options": 2, "fetch_body": null, "fetch_flags": null, "header": { "raw": "Delivered-To: osp.api.ticketing@gmail.com\r\nReceived: by 2002:a05:6402:2789:0:0:0:0 with SMTP id b9csp1112527ede; Fri, 22\r\n Jan 2021 03:50:42 -0800 (PST)\r\nX-Google-Smtp-Source: ABdhPJzKoncIBfv/r/8TE6YAZYbPrtV6PVEuHsKNnmQ+Fc6f1aHA7HhRwhrNqTZLxcfsVBWjwA+Q\r\nX-Received: by 2002:a17:90a:f181:: with SMTP id\r\n bv1mr4854881pjb.57.1611316242734; Fri, 22 Jan 2021 03:50:42 -0800 (PST)\r\nARC-Seal: i=2; a=rsa-sha256; t=1611316242; cv=pass; d=google.com;\r\n s=arc-20160816;\r\n b=wBnBj/4qQ/9QgL1GYYrLYeMsMEvQFmkj4RQPuh79d5gNBDeZ7vJI3F3TBNxfAVUJmu\r\n fIM6t+2UgMUyS3wNnwnwlCkhau3kR1Iovd7Is+z+J8301VjJjT8FKLzK0J7imeoCaXFJ\r\n 6WnLLyM2DefiSheqioWY6WwhoF/Oxv+ykkInntVY3WIB0L6WjdzvqQXgbpWFaC79Uk8c\r\n 8YyUJDeVCtu7iOKjG9II/LL5CaOrWDNK+iTR1y/L3zTWJOKug8J/hDhlMpqIXas3RLsy\r\n mqPUyMI3yvMD49/BEd1Jm7HHzLeHCYLzNzRNFfoIHB5IV9MqwNxKRwvT1AlkbsjZZVqo 0bRQ==\r\nARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com;\r\n s=arc-20160816; h=mime-version:content-language:accept-language:in-reply-to\r\n :references:message-id:date:thread-index:thread-topic:subject:to\r\n :from:dkim-signature; bh=A/Cc2ra0Mt0XAjTvQyUc2fnzWDoKh6+MRXYUwdU2Sc0=;\r\n b=KslmMK50mCv0VcdmL7DYhKnFu3bQ8ylEiKxOyIRazz6ppBvUG6gTvNkQ4WqNKHXRwZ\r\n f6SzKnxzQo/4beduuVzE0R3yY9dOOcOSULm9Z5td6RsHmZShlXbn96rRXIz2UWMcA0Po\r\n 7QP+ooti/twN/h0R8H85r1/eET3YcpVZmty2J7cWmcVhH9PaNCKKMA2vnW0lHuyKolQh\r\n 2r46dCbMHkjPFuVPT/qGr6CLNydohZX/B/07rDKHaoN+cbm7wRM5f1tv4bjV+v284i9q\r\n XhjM/ibWCvwYdSYy2PP5L1rzbs4SMY3kd/eo6WBYgowwGHPqo0JDwXImagtE5IcGODWX ex5A==\r\nARC-Authentication-Results: i=2; mx.google.com; dkim=pass\r\n header.i=@KMCSolutions.onmicrosoft.com\r\n header.s=selector2-KMCSolutions-onmicrosoft-com header.b=NHf3irnD; arc=pass\r\n (i=1 spf=pass spfdomain=kmc.solutions dkim=pass dkdomain=kmc.solutions\r\n dmarc=pass fromdomain=kmc.solutions); spf=pass (google.com: domain of\r\n noriel.arguelles@kmc.solutions designates 40.107.132.88 as permitted sender)\r\n smtp.mailfrom=noriel.arguelles@kmc.solutions\r\nReturn-Path: noriel.arguelles@kmc.solutions\r\nReceived: from APC01-PU1-obe.outbound.protection.outlook.com\r\n (mail-eopbgr1320088.outbound.protection.outlook.com. [40.107.132.88]) by\r\n mx.google.com with ESMTPS id k12si8685677pgq.303.2021.01.22.03.50.41 for\r\n osp.api.ticketing@gmail.com (version=TLS1_2\r\n cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Fri, 22 Jan 2021 03:50:42\r\n -0800 (PST)\r\nReceived-SPF: pass (google.com: domain of noriel.arguelles@kmc.solutions\r\n designates 40.107.132.88 as permitted sender) client-ip=40.107.132.88;\r\nAuthentication-Results: mx.google.com; dkim=pass\r\n header.i=@KMCSolutions.onmicrosoft.com\r\n header.s=selector2-KMCSolutions-onmicrosoft-com header.b=NHf3irnD; arc=pass\r\n (i=1 spf=pass spfdomain=kmc.solutions dkim=pass dkdomain=kmc.solutions\r\n dmarc=pass fromdomain=kmc.solutions); spf=pass (google.com: domain of\r\n noriel.arguelles@kmc.solutions designates 40.107.132.88 as permitted sender)\r\n smtp.mailfrom=noriel.arguelles@kmc.solutions\r\nARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none;\r\n b=bJ4y6vrl5J25s7MEj8VvHoN/NVppOsoUoSRKfWi5a/qcvZQILiqoqj0MSsyWimXB5kTT1TO/iBnOi/H2eYBXlzg4P9sxKbnXPznaetwwgRmlMSrE84wjlRuKGGlrYSmzGqYhOLfotG7VLdsQLOGIy9CZdFsxFOI774DG6uGA4uhE8f5FmuZOZ4+fDcYHz+EeySuCkC9vZ2kA+nquPk8uZYgaQqPARKDK5DKhaoRC85jZaIe4FCi+MUXuZKUsEgBbYf82prKSO2rugi951M6/aZ2xfb4/IwcU4BE54d2ZSGctTQ1Z6Rw6CzPLYnQkGqvHMGqNvPJ+vFdZhJc/nSitjg==\r\nARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com;\r\n s=arcselector9901;\r\n h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck;\r\n bh=A/Cc2ra0Mt0XAjTvQyUc2fnzWDoKh6+MRXYUwdU2Sc0=;\r\n b=hJzCVNsctfmWrWlFqv2XVkmLL+grk7DC7AtKxcFWMxQtFYds1XcMmEXsfw7eiF6iDLkYQjT3Ch3Q+6yiAC0WIBta4VoQg3emdIdmm17sp3eMON8Zf9vCUbzfgfyiA7rhGq9FZd1F+SO+8e4uVfubNquavo9Vys3IHnXP8KpzTGL2ldkw5YXJZjd1wvU6lI6yujkEeHc8No9OsNqBAvmnDoUjfQSvl4vYK3nXuFn52JzFFYtgYioxkOgAKF9yls6GN+AE3nse+lKNP9VNimmunZjv4lkmfRxMxqCsh7rKcWyl7y2zPhS8znCSerEVVH5c1qjNIbffNxW3C9YjYAIfdA==\r\nARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass\r\n smtp.mailfrom=kmc.solutions; dmarc=pass action=none\r\n header.from=kmc.solutions; dkim=pass header.d=kmc.solutions; arc=none\r\nDKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;\r\n d=KMCSolutions.onmicrosoft.com; s=selector2-KMCSolutions-onmicrosoft-com;\r\n h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck;\r\n bh=A/Cc2ra0Mt0XAjTvQyUc2fnzWDoKh6+MRXYUwdU2Sc0=;\r\n b=NHf3irnDkJjwTycyVggiA4U3QGJ0CKHdb8c7e7VgZhzUQW5A6ukflEpSWrou66ZORX+ihGJyapaLVjKvDlMk0Jx0dA33y0rJz6fYStkCx9XlczEUV7fbhNlQuqlP3IS7Yx+h/qkYJBn4MRci8tKFgZy57YozegJxsuCQLj+dM7M=\r\nReceived: from HKAPR04MB4019.apcprd04.prod.outlook.com (2603:1096:203:d4::11)\r\n by HK0PR04MB2769.apcprd04.prod.outlook.com (2603:1096:203:54::13) with\r\n Microsoft SMTP Server (version=TLS1_2,\r\n cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3763.14; Fri, 22 Jan\r\n 2021 11:50:39 +0000\r\nReceived: from HKAPR04MB4019.apcprd04.prod.outlook.com\r\n ([fe80::958e:7a6c:421e:6f88]) by HKAPR04MB4019.apcprd04.prod.outlook.com\r\n ([fe80::958e:7a6c:421e:6f88%5]) with mapi id 15.20.3784.012; Fri, 22 Jan 2021\r\n 11:50:39 +0000\r\nFrom: Noriel Arguelles noriel.arguelles@kmc.solutions\r\nTo: OSP osp.api.ticketing@gmail.com\r\nSubject: Fw: Inline test mail\r\nThread-Topic: Inline test mail\r\nThread-Index: AQHW8LQTtxDT/SvSsEm89mPPDUXHz6oziCDK\r\nDate: Fri, 22 Jan 2021 11:50:39 +0000\r\nMessage-ID: HKAPR04MB40193A65A719A3BA55B7ACA394A00@HKAPR04MB4019.apcprd04.prod.outlook.com\r\nReferences: f271f85c-5420-4e4f-ff2a-21c2ea9212ba@webklex.com,402976e9-dc59-c709-94f8-470bd9396477@webklex.com\r\nIn-Reply-To: 402976e9-dc59-c709-94f8-470bd9396477@webklex.com\r\nAccept-Language: en-US\r\nContent-Language: en-US\r\nX-MS-Has-Attach: yes\r\nX-MS-TNEF-Correlator: \r\nauthentication-results: gmail.com; dkim=none (message not signed)\r\n header.d=none;gmail.com; dmarc=none action=none header.from=kmc.solutions;\r\nx-originating-ip: [103.141.203.66]\r\nx-ms-publictraffictype: Email\r\nx-ms-office365-filtering-correlation-id: 0aff1a54-192e-44c1-3ed5-08d8becbf0a5\r\nx-ms-traffictypediagnostic: HK0PR04MB2769:\r\nx-microsoft-antispam-prvs: HK0PR04MB2769946E00CCCFCDD373AD0994A00@HK0PR04MB2769.apcprd04.prod.outlook.com\r\nx-ms-oob-tlc-oobclassifiers: OLM:8882;\r\nx-ms-exchange-senderadcheck: 1\r\nx-microsoft-antispam: BCL:0;\r\nx-microsoft-antispam-message-info: f9vL5XCng/p6UIq+zQ4uStFYao2limw7OCXjJQSbb7vPjkHAUJodn9lfeYunafBOSRDnev2hxXeAzqwdQE5YUdYVdhD5kWKCYnmPsdMoawyRA3OkB+go3vXWty5VXStXFS91Itng37Tow+cDG64u2tI5sbRiP02djs2Wm4q5zk+MYcP1OUjfXh4MZJs2BlrPlLzQyNVf1xPgnxLne6boI16rejVDVSfECSwwJHHGLMaDnPp7bxMhKUzhkUAC4J2lFUkhMGeORE1sHua17aY/tI0ZzD6zZcYwPGecNrbLTRKdlSuFkE+o4WQkGLezuJTBdRZZCQH2SRZtclER7qc1sPYqjmTj0RvfuoeChcv02s0eyIDq38EcR+FVPff8LEIEPkbUx2yj/NKUDLTK8ynjgWulswlHHKpgHXIvM0tscFWvn/pFyBlAJxorVy/ktf8975imZmX5jDBAfjfkpZ82Xp75US+4fjUGr8YpsFV+5mk=\r\nx-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:de;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:HKAPR04MB4019.apcprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(4636009)(376002)(136003)(39850400004)(366004)(346002)(396003)(8936002)(6506007)(53546011)(316002)(2906002)(66946007)(83380400001)(76116006)(6916009)(64756008)(66446008)(66476007)(66556008)(66574015)(66616009)(186003)(8676002)(44832011)(7696005)(52536014)(86362001)(166002)(9686003)(5660300002)(19627405001)(99936003)(7116003)(55016002)(71200400001)(33656002)(478600001)(26005)(46492008);DIR:OUT;SFP:1101;\r\nx-ms-exchange-antispam-messagedata: =?iso-8859-1?Q?ND8i+fraiKCiINdgGVKAgYowlS9JMcc/4E/BUgPkuYAJJuzaTmSsUZJi3G?=\r\n =?iso-8859-1?Q?TqAcgdh0vCXbMD5w+2cjgIqRN+9pbEGrfC4rgqmkrDn1VY+Wb0jT8Se6px?=\r\n =?iso-8859-1?Q?IVTSKnEtduo1XBoVo/DUdbeXTt29CnPq1exTeNchWJigt8amak7FX1LENq?=\r\n =?iso-8859-1?Q?28SnxaYZBFr/31wETapo+O1WIp99wWdzIO1xNWTBCr8ngL9jCl4wTv2gQm?=\r\n =?iso-8859-1?Q?29R3sfeMh8pA0havF769aamqH32J2RHc6/JQP7Fim8ZBPTyQ03GX7naEAv?=\r\n =?iso-8859-1?Q?OloXA/WPbcfdNKgT4ouKcgKFoe57+HTLuRM5d/YMYPpCieOKvUttSIF5Gi?=\r\n =?iso-8859-1?Q?xAwmm84ibsNWyeYeobFpy2oo0skAPGyAlG4Cix+8K9rDlPNM/wwCTtTMfB?=\r\n =?iso-8859-1?Q?eEIhCh9o7rrcegenmxo703agcYSbLc21sPg5i7NIsppktXBQHhDBLT4HFr?=\r\n =?iso-8859-1?Q?gFGYJ1djJH72XwQCmEC3ZZQSHesfIbNf1CtByzrsCivrZ0xT0562f45VdL?=\r\n =?iso-8859-1?Q?YNWRyr304fXR6VnBiO7M2vdGwq8iZlKou2hHUPo84RlZ+2IkNVGih1787Y?=\r\n =?iso-8859-1?Q?Zh/oDVACYDrH854pWgpYPNRKr1AAmN6Djrr1Yv4PqUeknxzhyptQe+5FKr?=\r\n =?iso-8859-1?Q?DhtmOaCkJd0MjX2zIkfsbVhWITUWfo9xI6ygCna2MypOVhd7KsStB80H0l?=\r\n =?iso-8859-1?Q?iKTszmywfBmY9T3upLBpnlvsJ4lM/UPdTFc6Y6CDubTw5ifXM5RpvTPHni?=\r\n =?iso-8859-1?Q?9UtxC58jD2Lxl5lvEtsS6zGsCD5F18A/sdU6RoFYPXcOxONts/19sS+1Tv?=\r\n =?iso-8859-1?Q?dT34By01oDr1z294pYJmPfJu5/t8kYiUowDJcxcrc8ER9bYqr/B9U+t3cW?=\r\n =?iso-8859-1?Q?DKPMIOZBnWWjSRatNItvAHK+ZltwDGdCvwMxrfelryxOQzukj1n5JCMHys?=\r\n =?iso-8859-1?Q?FgIjAOWc2nNQBhWG4dF56BLp1iiuQHkm0IAieszRNC5TSwnTv5XDwnnWEc?=\r\n =?iso-8859-1?Q?ELRFS+W9V7cubVYpRDux1PQYh2F3Kj/gMAbjXpYIruuWVdWo0qUMKJASCn?=\r\n =?iso-8859-1?Q?ngFGUFqTzupU+Jl5s3uhYUDsec3tS6lsay94FuKymCdx?=\r\nx-ms-exchange-transport-forked: True\r\nContent-Type: multipart/related;\r\n boundary=\"_004HKAPR04MB40193A65A719A3BA55B7ACA394A00HKAPR04MB4019apcp\";\r\n type=\"multipart/alternative\"\r\nMIME-Version: 1.0\r\nX-OriginatorOrg: kmc.solutions\r\nX-MS-Exchange-CrossTenant-AuthAs: Internal\r\nX-MS-Exchange-CrossTenant-AuthSource: HKAPR04MB4019.apcprd04.prod.outlook.com\r\nX-MS-Exchange-CrossTenant-Network-Message-Id: 0aff1a54-192e-44c1-3ed5-08d8becbf0a5\r\nX-MS-Exchange-CrossTenant-originalarrivaltime: 22 Jan 2021 11:50:39.6660 (UTC)\r\nX-MS-Exchange-CrossTenant-fromentityheader: Hosted\r\nX-MS-Exchange-CrossTenant-id: c3435bea-c1d5-42d3-9288-7387a8459771\r\nX-MS-Exchange-CrossTenant-mailboxtype: HOSTED\r\nX-MS-Exchange-CrossTenant-userprincipalname: SpvwRNaBUcxPRqnOBvPvdw0ZASrYJ1PnsxBXVL094ZbMOWyBwjVVK6bac6ukgID2W6dfpME8dgcKNbEPcnQ9T/yH4UVwmkDvHKOG24nHSpA=\r\nX-MS-Exchange-Transport-CrossTenantHeadersStamped: HK0PR04MB2769\r\n\r\n", "fallback_encoding": "UTF-8" }, "raw_body": null, "bodies": { "text": "____\r\nFrom: Malte Goldenbaum info@webklex.com\r\nSent: Friday, January 22, 2021 7:44 PM\r\nTo: Noriel Arguelles noriel.arguelles@kmc.solutions\r\nSubject: Inline test mail\r\n\r\n\r\nfirst body section\r\n\r\n[cid:part1.6BEA1569.531155E8@webklex.com]\r\n\r\nsecond body section\r\n\r\n--\r\n\r\nWebklex\r\nMalte Goldenbaum\r\n\r\nMittelweg 32\r\n25336 Elmshorn\r\nDE - Germany\r\n\r\nE-mail: info@webklex.commailto:info@webklex.com\r\nInternet: www.webklex.comhttps://apc01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.webklex.com%2F&data=04%7C01%7Cnoriel.arguelles%40kmc.solutions%7C70828444504b4e10e9cb08d8becb331d%7Cc3435beac1d542d392887387a8459771%7C0%7C0%7C637469127260167478%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=E36dIL9q7FoFwUMoGArqHXRqRzZG8e2ebtDhQixQCl0%3D&reserved=0\r\n\r\nDie Information in dieser E-Mail ist vertraulich und kann dem Berufsgeheimnis oder der Vertraulichkeit unterliegen. Sie ist ausschließlich für den Adressaten bestimmt. Jeglicher Zugriff auf diese E-Mail durch andere Personen als den Adressaten ist untersagt. Sollten Sie nicht der für diese E-Mail bestimmte Adressat sein, ist Ihnen jede Veröffentlichung, Vervielfältigung oder Weitergabe wie auch das Ergreifen oder Unterlassen von Maßnahmen im Vertrauen auf erlangte Information untersagt.\r\n\r\nThe information in this email is confidential and may be legally privileged or confidential. It is intended solely for the addressee. Access to this email by anyone else is unauthorized. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful.\r\n\r\nWebklex | Mittelweg 32 | 25336 Elmshorn | Geschäftsführer: Malte Goldenbaum\r\n\r\nThis e-mail message (including attachments, if any) is intended for the use of the individual or entity to which it is addressed and may contain information that is privileged, proprietary, confidential and exempt from disclosure. If you are not the intended recipient, you are notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify the sender and erase this e-mail message immediately.", "html": "\r\n\r\n<meta http-equiv=\"Content-Type\" content=\"text/html; charset=iso-8859-1\">\r\n<style type=\"text/css\" style=\"display:none;\"> P {margin-top:0;margin-bottom:0;} \r\n\r\n<body dir=\"ltr\">\r\n<div style=\"font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);\">\r\n
\r\n

\r\n
\r\n<div id=\"Signature\">\r\n
\r\n<p style=\"margin-top:0px; margin-bottom:0px\">

\r\n<p style=\"margin-top:0px; margin-bottom:0px; color:rgb(0,0,0); font-family:Calibri,Helvetica,sans-serif; font-size:12pt; margin-top:0px; margin-bottom:0px\">\r\n
\r\n

\r\n
\r\n
\r\n
\r\n
\r\n<div id=\"appendonsend\">
\r\n<hr tabindex=\"-1\" style=\"display:inline-block; width:98%\">\r\n<div id=\"divRplyFwdMsg\" dir=\"ltr\"><font face=\"Calibri, sans-serif\" color=\"#000000\" style=\"font-size:11pt\">From: Malte Goldenbaum <info@webklex.com>
\r\nSent: Friday, January 22, 2021 7:44 PM
\r\nTo: Noriel Arguelles <noriel.arguelles@kmc.solutions>
\r\nSubject: Inline test mail\r\n
 
\r\n\r\n

\r\n<div class=\"x_moz-forward-container\">first body section
\r\n
\r\n<img alt=\"\" class=\"\" style=\"max-width: 100%; height: auto;\" data-outlook-trace=\"F:1|T:1\" src=\"cid:part1.6BEA1569.531155E8@webklex.com\">
\r\n
\r\nsecond body section\r\n<pre class=\"x_moz-signature\" cols=\"72\">-- \n\nWebklex\nMalte Goldenbaum\n\nMittelweg 32\n25336 Elmshorn\nDE - Germany\n\nE-mail: <a class=\"x_moz-txt-link-abbreviated\" href=\"mailto:info@webklex.com\">info@webklex.com\nInternet: <a class=\"x_moz-txt-link-abbreviated\" href=\"https://apc01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.webklex.com%2F&amp;data=04%7C01%7Cnoriel.arguelles%40kmc.solutions%7C70828444504b4e10e9cb08d8becb331d%7Cc3435beac1d542d392887387a8459771%7C0%7C0%7C637469127260167478%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=E36dIL9q7FoFwUMoGArqHXRqRzZG8e2ebtDhQixQCl0%3D&amp;reserved=0\" originalsrc=\"http://www.webklex.com/\" shash=\"BPCKxsA7gFGOlusK34i5jq0luvNHbdQddmQn+nu2wv51Gk0MHzTeorvLMAdPrxPAAeaJYPXcmNUw7FtjuInJ1d0tQFnLYt0mt/tOr5bLKE9Qlj0l+m5aPEvwBf2+21KuNVaqxp7disv4f1blPRNDp1PgBdYfv+Y0gFsblElQovM=\">www.webklex.com\n\nDie Information in dieser E-Mail ist vertraulich und kann dem Berufsgeheimnis oder der Vertraulichkeit unterliegen. Sie ist ausschließlich für den Adressaten bestimmt. Jeglicher Zugriff auf diese E-Mail durch andere Personen als den Adressaten ist untersagt. Sollten Sie nicht der für diese E-Mail bestimmte Adressat sein, ist Ihnen jede Veröffentlichung, Vervielfältigung oder Weitergabe wie auch das Ergreifen oder Unterlassen von Maßnahmen im Vertrauen auf erlangte Information untersagt.\n\nThe information in this email is confidential and may be legally privileged or confidential. It is intended solely for the addressee. Access to this email by anyone else is unauthorized. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful.\n\nWebklex | Mittelweg 32 | 25336 Elmshorn | Geschäftsführer: Malte Goldenbaum\r\n
\r\n\r\n\r\nThis e-mail message (including attachments, if any) is intended for the use of the individual or entity to which it is addressed and may contain information that is privileged, proprietary, confidential and exempt from disclosure. If you are not the intended\r\n recipient, you are notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify the sender and erase this e-mail message immediately.\r\n\r\n\r\n\r\n--_000HKAPR04MB40193A65A719A3BA55B7ACA394A00HKAPR04MB4019apcp--" }, "attachments": { "part1.6BEA1569.531155E8@webklex.com": {} }, "flags": [] } ],

Webklex commented 3 years ago

So you have a client which "creates" non working messages? Could you use it to forward it back to me so I can take a closer look at it? :)

Best regards,

narguelles commented 3 years ago

Done.. Thanks!


From: Webklex notifications@github.com Sent: Friday, January 22, 2021 8:05 PM To: Webklex/php-imap php-imap@noreply.github.com Cc: Noriel Arguelles noriel.arguelles@kmc.solutions; Mention mention@noreply.github.com Subject: Re: [Webklex/php-imap] Empty body when there is a file attachment (#91)

So you have a client which "creates" non working messages? Could you use it to forward it back to me so I can take a closer look at it? :)

Best regards,

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FWebklex%2Fphp-imap%2Fissues%2F91%23issuecomment-765353056&data=04%7C01%7Cnoriel.arguelles%40kmc.solutions%7C89da24e3d6c743408a8608d8becdfe39%7Cc3435beac1d542d392887387a8459771%7C0%7C0%7C637469139226776956%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=IosX%2FBAp%2BrzwlVnlzhAJVtXPLjKXqCYoXe%2FID4pNG4s%3D&reserved=0, or unsubscribehttps://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAQG3C3RIQUBUEQHHYMF62VLS3FSX7ANCNFSM4WOJFCHA&data=04%7C01%7Cnoriel.arguelles%40kmc.solutions%7C89da24e3d6c743408a8608d8becdfe39%7Cc3435beac1d542d392887387a8459771%7C0%7C0%7C637469139226786913%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=p3YhaAKsoIrdqW1rF1TqMOeRfSS96mguEKpNVV2mEyk%3D&reserved=0.

This e-mail message (including attachments, if any) is intended for the use of the individual or entity to which it is addressed and may contain information that is privileged, proprietary, confidential and exempt from disclosure. If you are not the intended recipient, you are notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify the sender and erase this e-mail message immediately.

narguelles commented 3 years ago

I also found out the text/html content type is missing when there is an inline attachment and file attachment on the email

Webklex\PHPIMAP\Attribute {#1625

name: "content_type"

values: array:1 [

0 => "multipart/related"

] }

Webklex\PHPIMAP\Attribute {#1616

name: "content_type"

values: array:1 [

0 => "multipart/alternative"

] }

Webklex\PHPIMAP\Attribute {#1667

name: "content_type"

values: array:1 [

0 => "image/png"

] }

Webklex\PHPIMAP\Attribute {#1679

name: "content_type"

values: array:1 [

0 => "image/jpeg"

] }


From: Noriel Arguelles noriel.arguelles@kmc.solutions Sent: Friday, January 22, 2021 8:07 PM To: Webklex/php-imap php-imap@noreply.github.com; Webklex/php-imap reply@reply.github.com Cc: Mention mention@noreply.github.com Subject: Re: [Webklex/php-imap] Empty body when there is a file attachment (#91)

Done.. Thanks!


From: Webklex notifications@github.com Sent: Friday, January 22, 2021 8:05 PM To: Webklex/php-imap php-imap@noreply.github.com Cc: Noriel Arguelles noriel.arguelles@kmc.solutions; Mention mention@noreply.github.com Subject: Re: [Webklex/php-imap] Empty body when there is a file attachment (#91)

So you have a client which "creates" non working messages? Could you use it to forward it back to me so I can take a closer look at it? :)

Best regards,

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FWebklex%2Fphp-imap%2Fissues%2F91%23issuecomment-765353056&data=04%7C01%7Cnoriel.arguelles%40kmc.solutions%7C89da24e3d6c743408a8608d8becdfe39%7Cc3435beac1d542d392887387a8459771%7C0%7C0%7C637469139226776956%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=IosX%2FBAp%2BrzwlVnlzhAJVtXPLjKXqCYoXe%2FID4pNG4s%3D&reserved=0, or unsubscribehttps://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAQG3C3RIQUBUEQHHYMF62VLS3FSX7ANCNFSM4WOJFCHA&data=04%7C01%7Cnoriel.arguelles%40kmc.solutions%7C89da24e3d6c743408a8608d8becdfe39%7Cc3435beac1d542d392887387a8459771%7C0%7C0%7C637469139226786913%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=p3YhaAKsoIrdqW1rF1TqMOeRfSS96mguEKpNVV2mEyk%3D&reserved=0.

This e-mail message (including attachments, if any) is intended for the use of the individual or entity to which it is addressed and may contain information that is privileged, proprietary, confidential and exempt from disclosure. If you are not the intended recipient, you are notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify the sender and erase this e-mail message immediately.

Webklex commented 3 years ago

https://github.com/Webklex/php-imap/commit/5941cee4cde42d88086b99f7d1c2c12cbc136c8e should solve this one as well :)

Webklex commented 3 years ago

Hi @narguelles , please update to the latest release v2.4.4.

Best regards,

narguelles commented 3 years ago

its now working fine, thank you very much.