I am using GetIMAPMailMessage activity to read top 5 emails from Gmail. Getting all the data from emails like sender, subject, date etc.
When I try to use FilterExpression with below two statements, both of them are giving exception
“[ReceivedTime]>‘09/20/2021 18:14’” or
“[ReceivedTime] > “ +Now.AddDays(-1).ToString(“MM/dd/yyyy hh:mm tt”)+””
Getting below exception -
The IMAP server replied to the ‘SEARCH’ command with a ‘BAD’ response: Could not parse command