I am trying to get all unseen message.I can successfully get that and mark them as read by following code.
It works perfectly if there is more than one new email. But,If there is only one new follow-up email in the INBOX,then the code only mark it as read but doesn't read the message. But,marking one email as unread manually and then the code can read the email and mark it unread.
I am trying to get all unseen message.I can successfully get that and mark them as read by following code.
It works perfectly if there is more than one new email. But,If there is only one new follow-up email in the INBOX,then the code only mark it as read but doesn't read the message. But,marking one email as unread manually and then the code can read the email and mark it unread.