How to filter outlook mail messages by SENDER ?
@fairymemay What should be the Sender Value?
You need to use the Output Variable of Get Outlook Mail Messages, which is a List of MailMessages
Iterate that List Keeping the Type Argument of For Each as MailMessage
Then Use an If Condition in For Each, Use the Condition in If as item.Sender.ToString.Contains(yourValue)
I hope this is What you needed
@supermanPunch and how to condition except sender ?
@fairymemay You can use the Condition, Not Item.Sender.ToString.Contains(yourValue)
and if i want filter subject next month.
item.Subject.Contains(DateTime.Now.AddMonths(1).ToString(“MMM”))
right?
@fairymemay Wow, You’re right
@supermanPunch it’ s error
@fairymemay You forgot to put a Closing Bracket )
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.