I am trying retrieve all mail message from outlook via get outlook messages activity by using the following filter
“[ReceivedTime] >= ‘”+now.AddDays(-1).Date.ToShortDateString+"’ AND [ReceivedTime] <= ‘"+now.Date.ToShortDateString +"’"
i have 4 messages in inbox but mailmessage.count.tostring gives result as only 2.
I want to retrieve the message that i received in past 24 hours. Please help
Check the exact time of the mails, it has to exactly 24 hours
also uncheck onlyUnreadMessages from property
you can share the screen, so that we can help