Get Outlook Mail message issue Filter by time and subject

No worries but, can you clarify your question? You want to filter your emails by the subject ‘SUCCESS: Blackrock4_to_Markit_PROD - for index_weights files’ and date, correct?

If the subject is static, use “[Subject] = ‘Your Subject’ AND [ReceivedTime] >=’”+Now.AddDays(-2).Date.ToShortDateString+"’ AND [ReceivedTime] <= ‘"+Now.Date.ToShortDateString+"’"

If the subject varies each time except for the ‘success’ part then, use “[Subject] LIKE ‘Success %’ AND [ReceivedTime] >=’”+Now.AddDays(-2).Date.ToShortDateString+"’ AND [ReceivedTime] <= ‘"+Now.Date.ToShortDateString+"’"

You can refer this post for a more clear idea: How to filter messages in Get outlook mail messages - #15 by andrzej.kniola

Let me know if you’re still facing any issues!