How to take latest Outlook mail

How to get only the latest mail from Outlook, for instance subjected mail in last 30 minutes

@Ashwini_Kumaran - you can use the filter option with [RecievedTime] nd Subject

like

“Subject like '”+stSubject+"’ and [ReceivedTime] >= '"+now.AddMinutes(-30).ToString+"’ AND [ReceivedTime] <= ‘"+now.ToString +"’"

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.