Replies: 2 comments 2 replies
-
In these scenarios, are you able to lookup the Any chance you also post the same question at https://aka.ms/askgraph to get feedback from API owners who are more knowledgeable at the workings of the API? |
Beta Was this translation helpful? Give feedback.
-
Seems like there's no good solution for this issue. So far, what we've been able to do is make two changes:
Unfortunately, the only way we could get the scheduled task to work was by adding a specific string to the message subject. We can then use a regex on the subject to identify that the message should be moved, and where it should be moved to. It's not perfect, but it seems to work (for now). |
Beta Was this translation helpful? Give feedback.
-
I'm trying to update an application which was using IMAP and SMTP to use MS Graph instead, since the IMAP/SMTP access to Office365 is now slowing to a crawl.
The application needs to "file" sent messages into specific folders, rather than dumping them all in the "sent items" folder.
In the old version, this was simply a case of sending the message with SMTP, then connecting with IMAP, finding the target folder, and appending the message to it.
With MS Graph, things seem somewhat more complicated. The current process I'm using is:
This mostly works, using the "prefer immutable IDs" request option. But occasionally, we end up with a blank draft message in the target folder, and no sign of the actual sent message in the "sent items" folder.
Am I doing something wrong?
Some code, for reference:
where
DefaultRequest
is:Beta Was this translation helpful? Give feedback.
All reactions