How can i search specific mail id in outlook and get latest unread mail

how can i search specific mail id in outlook and get latest unread mail of specific maild?

@MitheshBolla

Could you please try below expression in Filter option and also check Unread option in Get Outlook Mail Message activity.

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

i am using c#
image

i had my email id assing to string

Hi @MitheshBolla

try this
”[SenderEmailAddress] = ‘xyz@xyz.com’ “

Hope this helps
Thanks

@MitheshBolla

Try below expression.

         "[SenderEmailAddress] = '"+varEmail+"'"
1 Like

i tried this not working , no error also . its not showing subject

so what is your requirement you want to filter by subject
or by sender name

for sender name
image

“[SenderEmailAddress] = '”+your variable+“'”

for subject
“[Subject] = '”+your variable+“'”

2 Likes

This worked but for some senders its not showing, for some senders its showing. what might be the reason?

FOr some emails its filtering like uipathsupport@uipath.com

fore some mail ids development@compay.com its not showing even its in unread state

Eventually if its working for one mail address it should work for other Too,

can u try filtering different email address

1 Like

its only working for some mail, for our company mails its not working

Thats strange

anyhow please find below link for reference

regarding filter email by sender address

1 Like

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