Quality is delighting customers
Friends Can someone suggest me how to read email in Outlook using VBScript. I was trying to do like this, but it is not showing unread messages.
Set oFolder = olMAPI.GetDefaultFolder(6)
Set allEmails = oFolder.Items
unreadCount = 0
For Each email In oFolder.Items
If email.Unread = True Then
unreadCount = unreadCount + 1
Can you please suggest me. Where I am making mistake.
Thanks & Regards,