Open Ruffman opened 3 years ago
Hi Ruffmann, right now, I don't fully understand your use case. You use ews-cpp to search for the invitation as well as the confirmation to process them in your app? In which folders do you search? Do you get other items that are located in the same store?
Regarding
There is no information in item::get_attachments() either. There is nothing in item::get_body().content(). There is nothing in item::get_mime_content().
Does refer to Item class? There such functions: https://github.com/otris/ews-cpp/blob/aa60482680835789c515fa231bdccff7963e93b7/include/ews/ews.hpp#L13659 https://github.com/otris/ews-cpp/blob/aa60482680835789c515fa231bdccff7963e93b7/include/ews/ews.hpp#L13714 https://github.com/otris/ews-cpp/blob/aa60482680835789c515fa231bdccff7963e93b7/include/ews/ews.hpp#L10964
Or do you refer to something different?
Hey idolum,
I use ews-cpp to sync mails and calendar events between the exchange store and my app, which is working fine. Except for when there is an email with an event-request attached to it. I'd like to process this request in the app so that the app sends out an answer (Accept / Decline).
Yes I refer to the item-class functions.
As far as I understand, MS exchange takes the event-information out of the mail-header and generates an item-attachment for the mail-item. At least that is how I believe it should work, but I might be wrong.
Thanks for the help.
Hi Ruffman,
sorry for the late reply! Was quiet busy the last days. Ok, it might be the case that Exchange server does some magic with the ics files. I will try it myself the next days.
If I try to synchronize a mail-item which has a meeting request in the iCalendar format attached to it, none of the related functions return any information for this attachment.
This seems to be the case when the request is from outlook to outlook.
Now text/calendar information is usually transmitted in the mail-header or in an .ics file. Outlook seems to only use the mail-header.
So it's like this:
Outlook takes the information out of the header so item::get_internet_message_headers() doesn't work. There is no information in item::get_attachments() either. There is nothing in item::get_body().content(). There is nothing in item::get_mime_content().
Am I doing something fundamentally wrong or does someone have an idea?
Thank you.