How to use filter for Business email id

Hello,

I need to read mails from only specific sender(s). Am using filter option for that.
problem here is for am getting both name and email id as below
“x,test” test.x@xxx.com

when i use"[From]=‘x,test’ " it works and when i use “[SenderEmailAddress] =‘test.x@xxx.com’” getting email count as 0

any ideas pls

1 Like

Hey @Fresher,

Yep, you are right. It works with display name for now.

You may try filtering after getting the emails.

mails.where(function(item) item.from.ToString.Equals("<business-email>") 

Hope this helps.

Thanks :slight_smile:

@Nithinkrishna - thanks for response…

Outlook is accessed by many bots so i cant read all of them and mark them as unread.
so i need to only read the emails from specific email id…

Do we have any other ways to perform…

Thanks

1 Like

Okay, understand.

If that is mandatory to use filters, could you please try the below in filter condition

[SenderEmailAddress] = ‘test.x@xxx.com'

Hope this helps.

Thanks :slight_smile:

@Nithinkrishna - Thank you . Getting mail.count as 0 – But sure, mail is in inbox

@Nithinkrishna - Could you please help me with Xaml file its works for…

1 Like

I just tried the below and it worked perfectly fine.

Please try using double quotes may be

"[SenderEmailAddress] = ""test.x@xxx.com"""

Pass the exact string in filter as above.

If still issue exist, please share your xaml let me check for any error

Thanks :slight_smile:

1 Like

Hey @Fresher, It works.

Please let me know if you still face issue.

Thanks :slight_smile:

1 Like

thanks you much :slight_smile: its works

1 Like

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