Hi Nabeel,
your code requires minor change, the argument name of the second search command is not MessageUid. It's just UID:
Best regards,
Pavel Azanov
PS: Please try to use one forum thread next time.
your code requires minor change, the argument name of the second search command is not MessageUid. It's just UID:
ImapX.MessageCollection messageDetails = client.Folders["INBOX"].Search("UID " + messages[i].MessageUid, true);
If you want to build custom search queries, i recommend you to take a look at the specification of the search command to be sure about the argument names.Best regards,
Pavel Azanov
PS: Please try to use one forum thread next time.