@anil5 hi sir sorry for the late reply was having my break just now. I have manually type just now but output not getting anything.
What is your expression and are you sure, there are mails within the range you have specified and are there any unread emails,
What is your expression and are you sure, there are mails within the range you have specified and are there any unread emails,
Make sure to check all these
@anil5 hi sir for my outlook application site is already all read and no error message just that is stop executing, this is the setting for Get Outlook activity.
once go through this
Thanks
Mark few emails as unread in Outlook and check the property onlyunreadmessages and test it.
You are not getting anything because there are no unread emails in the specified range and from the output of get Outlook mail messages , count the number of emails.
Tell me the count of emails, from ur write line
@anil5 hi sir manage to solve it for unread and read email it works now and is getting the output. So for this code it is also checking current day and the past 2 days, am I right?
“[ReceivedTime] >= '”+now.AddDays(-2).Date.ToShortDateString+“’ AND [ReceivedTime] <= '”+Now.Date.ToShortDateString+“'”
Yes, can u close the topic if it solves ur issue
@anil5 sir last question what is the meaning of this code if put -1 is it mean that it check current and yesterday date?:
“[ReceivedTime] >= '”+now.AddDays(-1).Date.ToShortDateString+“’ AND [ReceivedTime] <= ‘”+Now.Date.ToShortDateString+“’”
Yes it will compare between yesterday and today and if there are any emails, it gives the output
@anil I see thank you sir for your effort help and your solution!
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.