Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
flohogun2  
#1 Posted : Tuesday, September 16, 2014 5:39:58 AM(UTC)
flohogun2

Rank: Member

Groups: Registered
Joined: 12/23/2010(UTC)
Posts: 24
Location: rennes

Thanks: 8 times
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  
#2 Posted : Tuesday, September 16, 2014 7:27:50 AM(UTC)
ivan

Rank: Administration

Groups: Administrators
Joined: 11/11/2010(UTC)
Posts: 1,152

Thanks: 9 times
Was thanked: 55 time(s) in 55 post(s)
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  
#3 Posted : Tuesday, September 16, 2014 11:30:18 PM(UTC)
flohogun2

Rank: Member

Groups: Registered
Joined: 12/23/2010(UTC)
Posts: 24
Location: rennes

Thanks: 8 times
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  
#4 Posted : Wednesday, September 17, 2014 12:45:23 AM(UTC)
ivan

Rank: Administration

Groups: Administrators
Joined: 11/11/2010(UTC)
Posts: 1,152

Thanks: 9 times
Was thanked: 55 time(s) in 55 post(s)
I am sorry to say you cannot use GetGuid, it is nothing about UIDL of email server.

UIDL is unique in a folder
thanks 1 user thanked ivan for this useful post.
flohogun2 on 9/19/2014(UTC)
Users browsing this topic
Similar Topics
Imap folders,fast search (EAGetMail POP3 & IMAP4 ActiveX Object)
by Intimatik 4/7/2011 9:35:24 PM(UTC)
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Powered by YAF.NET | YAF.NET © 2003-2024, Yet Another Forum.NET
This page was generated in 0.050 seconds.

EXPLORE TUTORIALS

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