@EmailAutomation


#1

Hi guys,

How can I filter my mail message using subject and sender and current date in the option “Filter” in “Get outlook” activity


#2

Hi @Girish,

pls go through this thread…

regards,
Vikas Reddy


#3

I am using If else decision like
item.Subject.Contains(“Status”)
How can I get only today’s mails with specific sender?


#4

use this into your Filter property of Get outlook mail activity.

"[ReceivedTime] >= '"+now.ToShortDateString+"' AND [ReceivedTime] <= '"+now.AddDays(1).ToString +"' AND [SenderEmailAddress]='akshay.yadav@test.com'"

Regards…!!
Aksh


#5

Thank you, tried the above function in Get outlook mail activity not working


#6

Could I write if else to do the same operation?
Is there any other way like mail.subject.contains(“Status”) ?


#7

For me it. Is working and returning accurate result. Have you replaced as per your needs? Like email id? And if still facing prob then share your workflow.

The above filter gives todays date email having the senders email similar that we are passing.


#8

Thanks Aksh I am getting today’s date with time …I need to add decision to pick the mail with that date


#9

Girish i am not getting because with that filter you will get only today’s mail by that particular sender.

Or you wants to pass custom date?

or you are using different except filter way? let me know first :slight_smile:

Regards…!!
Aksh


#10

@Aksh I was trying to filter the mail with specific sender with today’s date. Thanks you, it got resolved, we have passed the today’s date in get outlook activity of filter property and added the sender.