How to filter for today mail only in Outlook mail message in if condition

@Gopi_Krishna1,

Use this in If Condition while iterating.

Cdate(currentMailMessage.Headers.Item("Date")).Date = DateTime.Now.Date

Thanks,
Ashok :slight_smile:

1 Like