flohogun2
  • flohogun2
  • 61.25% (Friendly)
  • Member Topic Starter
11 years ago
Hello,
I m testing your component on Outlook.com - IMAP

When i retrieve messages from a first folder, I use this code in order to get the message ID of a email stored on the server (outlook.com) :

IMailInfoPtr pInfo;
vtInfo.pdispVal->QueryInterface(__uuidof(IMailInfo), (void**)&pInfo);

CString messageId =(const char*)pInfo->UIDL;


The problem is that when i retrieve messages from another folder, UID of messages from this different folder are the same as the first folder..so it is not possible de know if the message if already loaded..

Do you think it is a problem from microsoft or from your component?

Best regard,

florent


ivan
  • ivan
  • 100% (Exalted)
  • Administration
11 years ago
Hi, Thanks for using EAGetMail.

It is not a problem, you can use different UIDL file for different folder.

For example, for folder1, you can use folder1\uidl.txt to record UIDLs of folder1 and folder2\uidl.txt to record UIDLs of folder2.
flohogun2
  • flohogun2
  • 61.25% (Friendly)
  • Member Topic Starter
11 years ago
Thank you for your answer.

The folder object has the following property :

oFolder->GetUID()

Can I use this property? On outlook.com is returns an empty string..

Best regards,
florent
ivan
  • ivan
  • 100% (Exalted)
  • Administration
11 years ago
I am sorry to say you cannot use GetGuid, it is nothing about UIDL of email server.

UIDL is unique in a folder

EXPLORE TUTORIALS

© All Rights Reserved, AIFEI Software Limited & AdminSystem Software Limited.