You are not logged in.

Announcement

 Téléchargez la dernière version stable de GLPI      -     Et vous, que pouvez vous faire pour le projet GLPI ? :  Contribuer
 Download last stable version of GLPI                      -     What can you do for GLPI ? :  Contribute

#1 2023-10-08 23:00:50

Rafumel1774
Member
Registered: 2019-05-11
Posts: 131

GLPI cannot handle Outlook appointments

In version 10.0.10 and previous they are simply an empty ticket.
Is there anything I can do?
Perfect would be if they would be attached as an attachment.

Offline

#2 2023-10-25 11:27:45

Rafumel1774
Member
Registered: 2019-05-11
Posts: 131

Re: GLPI cannot handle Outlook appointments

In case somebody is having the same issue. This is simply not possible and not a misconfiguration of your system!

The raw email content for an appointment created by Outlook looks like this:
...
</body>
</html>

--_000_0ad3d2015afe430da4dd4bce80e589c6adelphide_
Content-Type: text/calendar; charset="utf-8"; method=REQUEST
Content-Transfer-Encoding: base64

QkVHSU46VkNBTEVOREFSDQpNRVRIT0Q6UkVRVUVTVA0KUFJPRElEOk1pY3Jvc29mdCBFeGNoYW5n
ZSBTZXJ2ZXIgMjAxMA0KVkVSU0lPTjoyLjANCkJFR0lOOlZUSU
... and so on


however this will always gets filtered out by the mailcollector.php as there is not content-disposition (but is a file that cannot be rendered)
            if (!$part->getHeaders()->has('content-disposition') && preg_match('/^text\/.+/', $content_type)) {
               // Ignore attachements with no content-disposition only if they corresponds to a text part.
               // Indeed, some mail clients (like some Outlook versions) does not set any content-disposition
               // header on inlined images.
                return false;
            }

Offline

Board footer

Powered by FluxBB