Forum Discussion
How can I get user's sent, received and read count for a specific date range?
As answered on EE, you can either get it for a specific duration (7,30, etc days) or specific date (not a range). https://docs.microsoft.com/en-us/graph/api/reportroot-getemailactivityuserdetail?view=graph-rest-1.0&tabs=http
- SeizeThaNightJan 31, 2020Brass Contributor
Oh hi! lol. Thanks so much. Yes that helps. Coming across this, it looks like that's exactly what I need:
https://gsexdev.blogspot.com/2018/01/a-walk-though-using-graph-api-mailbox.html
Thank you
- SeizeThaNightFeb 01, 2020Brass Contributor
Interestingly, after I figured out how to return data for a particular date, I show for my own e-mail that I didn't send or receive or read any e-mail on Jan 15th.
However when I look at my Outlook client, I see plenty of sent/received e-mail.
Do you know why that might be? Is that data only for a certain client maybe? Wondering if maybe I was using a different Outlook client on that day.
"https://graph.microsoft.com/v1.0/reports/getEmailActivityUserDetail(date=2020-01-15)
- VasilMichevFeb 01, 2020MVP
Well that's what I said above, you can either run it for *specific* date or one of the pre-configured ranges (1d,7d,30d,..).