mirror of
https://github.com/cypht-org/cypht.git
synced 2026-04-26 21:46:02 +03:00
[GH-ISSUE #1672] 🐛 [Bug] EWS: Messages of type event, calendar #694
Labels
No labels
2fa
I18N
PGP
Security
Security
account
advanced_search
advanced_search
announcement
api_login
authentication
awaiting feedback
blocker
bug
bug
bug
calendar
config
contacts
core
core
devops
docker
docs
duplicate
dynamic_login
enhancement
epic
feature
feeds
framework
github
github
gmail_contacts
good first issue
help wanted
history
history
imap
imap_folders
inline_message
installation
keyboard_shortcuts
keyboard_shortcuts
ldap_contacts
mobile
need-ssh-access
new module set
nux
pop3
profiles
pull-request
question
refactor
release
research
saved_searches
smtp
strategic
tags
tests
themes
website
wordpress
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/cypht#694
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @christer77 on GitHub (Sep 11, 2025).
Original GitHub issue: https://github.com/cypht-org/cypht/issues/1672
Originally assigned to: @kroky on GitHub.
A constant has been made, for the EWS server, a message of type event, calendar are not loaded on the list of messages in the inbox folder.
By using exchange OVH to test Exchange Web Services, the messages are clearly visible (ref: capture below), which is not possible with cypht
view in Cypht:
@marclaporte commented on GitHub (Sep 13, 2025):
@christer77 This is a good catch!
While the Cypht calendar is quite basic (can't accept calendar invitations), it makes sense to look at this because
I hope it is easily supported by https://github.com/Garethp/php-ews
@kroky commented on GitHub (Sep 15, 2025):
If you can't see the messages at all in Cypht, check that the messages are not actually in antother folder like CalendarFolder or their message type is not something like IPF.Appointment. The php-ews lib should be flexible enough to allow us to fetch and display these kind of messages.
@christer77 commented on GitHub (Sep 16, 2025):
We checked all folders to expect to get the messages with event items, unfortunately we did not get them. Then, we tried a simple implementation here https://github.com/Baraka24/simple-EWS-client and the messages with event items displayed well. From there we can confirm that the issue is in EWS integration in Cypht that we tried to fix and got blocked, that is why we called you for help.
@kroky commented on GitHub (Sep 17, 2025):
@christer77 the problem is that hm-ews is using search to find the items but then uses only message type items.
line 587: $messages = $result->getItems()->getMessage() ?? [];
When you dump the $result->getItems() you will see 2 meetingRequest message types besides the 18 normal message types. This is on the first page of the current evoludata account. Please work on merging these other message types into the message structure, and use proper flags to differentiate between calendar items, invitations, etc.