Hey pavel,
I solved the above problem for Gmail by using MessageFetchMode => GMailExtendedData, by this i got GmailThread id. But when i am doing the same for Hotmail again i am getting NULL value.
var client = new ImapClient("imap-mail.outlook.com", true);
Thanks a lot.
I solved the above problem for Gmail by using MessageFetchMode => GMailExtendedData, by this i got GmailThread id. But when i am doing the same for Hotmail again i am getting NULL value.
var client = new ImapClient("imap-mail.outlook.com", true);
if (client.Connect())
{
var credentials = new OAuth2Credentials(EmailAddress, AccessToken);
if (client.Login(credentials))
{
ImapX.Message[] messages = client.Folders.Inbox.Search(idOfMsg, ImapX.Enums.MessageFetchMode.GMailExtendedData);
}
}
This worked for gmail, but not for Hotmail. Can you please help me out regarding this issue.??Thanks a lot.