Anonymous_User Absent Member.
Absent Member.
1894 views

Not all emails retrieved with a very big mailbox

Hello,

We're trying to access all messages in a Mailbox via the QuickMessages
Collection retrieved via Account6.GetQuickMessagesCollection(Date,
QuickMessagesCreationConstants.egwModifiedMessages). Usually this works
fine, but in a specific mailbox, which has 105884 Messages stored, ca.
38.000 of them are not contained in the collection.

How can we make sure to get all Messages in such a mailbox?

We are connecting via the C#-Version of the Groupwise Object API.

Best regards, Martin Schmidt.
Labels (1)
0 Likes
4 Replies
Anonymous_User Absent Member.
Absent Member.

Re: Not all emails retrieved with a very big mailbox

Are any of those messages in a shared folder shared to
the user?
Are any of those messages in the trash?
Have you tried the Account.AllMessages collection?

>>> On Friday, July 24, 2009 at 8:16 AM, Martin

Schmidt<Martin.Schmidt@schiffl.de>
wrote:
> Hello,
>
> We're trying to access all messages in a Mailbox via the QuickMessages
> Collection retrieved via Account6.GetQuickMessagesCollection(Date,
> QuickMessagesCreationConstants.egwModifiedMessages). Usually this works
> fine, but in a specific mailbox, which has 105884 Messages stored, ca.
> 38.000 of them are not contained in the collection.
>
> How can we make sure to get all Messages in such a mailbox?
>
> We are connecting via the C#‑Version of the Groupwise Object API.
>
> Best regards, Martin Schmidt.

0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: Not all emails retrieved with a very big mailbox

the messages were neither in the trash nor in shared folders.

Anyway, we'll try the AllMessages method. 🙂

Preston Stephenson wrote:
> Are any of those messages in a shared folder shared to
> the user?
> Are any of those messages in the trash?
> Have you tried the Account.AllMessages collection?
>
>>>> On Friday, July 24, 2009 at 8:16 AM, Martin

> Schmidt<Martin.Schmidt@schiffl.de>
> wrote:
>> Hello,
>>
>> We're trying to access all messages in a Mailbox via the QuickMessages
>> Collection retrieved via Account6.GetQuickMessagesCollection(Date,
>> QuickMessagesCreationConstants.egwModifiedMessages). Usually this works
>> fine, but in a specific mailbox, which has 105884 Messages stored, ca.
>> 38.000 of them are not contained in the collection.
>>
>> How can we make sure to get all Messages in such a mailbox?
>>
>> We are connecting via the C#‑Version of the Groupwise Object API.
>>
>> Best regards, Martin Schmidt.

0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: Not all emails retrieved with a very big mailbox

We have examined the problem further and found out that the Cut-Off of
messages appears to be at 65536 Messages. A Filter search on the
AllMessages-Collection of an Account with that many messages that match
the filter returns 0 (zero) messages, and one message, if one more
message matching the filter is added. The MessageIterator obtainable via
the AllMessage collection does not have this problem. Is there a
similar iterator obtainable for all messages in a folder?



Martin Schmidt wrote:
> the messages were neither in the trash nor in shared folders.
>
> Anyway, we'll try the AllMessages method. 🙂
>
> Preston Stephenson wrote:
>> Are any of those messages in a shared folder shared to
>> the user?
>> Are any of those messages in the trash?
>> Have you tried the Account.AllMessages collection?
>>
>>>>> On Friday, July 24, 2009 at 8:16 AM, Martin

>> Schmidt<Martin.Schmidt@schiffl.de>
>> wrote:
>>> Hello,
>>>
>>> We're trying to access all messages in a Mailbox via the
>>> QuickMessages Collection retrieved via
>>> Account6.GetQuickMessagesCollection(Date,
>>> QuickMessagesCreationConstants.egwModifiedMessages). Usually this
>>> works fine, but in a specific mailbox, which has 105884 Messages
>>> stored, ca. 38.000 of them are not contained in the collection.
>>>
>>> How can we make sure to get all Messages in such a mailbox?
>>>
>>> We are connecting via the C#‑Version of the Groupwise Object API.
>>>
>>> Best regards, Martin Schmidt.

0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: Not all emails retrieved with a very big mailbox

Sorry, I'm not sure what you are asking.
There is a GetQuickMessageCollection() method on a
Folder object. Is that what you are asking?

>>> On Tuesday, April 27, 2010 at 9:24 AM, Martin

Schmidt<Martin.Schmidt@schiffl.de> wrote:
> We have examined the problem further and found out that the Cut‑Off of
> messages appears to be at 65536 Messages. A Filter search on the
> AllMessages‑Collection of an Account with that many messages that match


> the filter returns 0 (zero) messages, and one message, if one more
> message matching the filter is added. The MessageIterator obtainable via
> the AllMessage collection does not have this problem. Is there a
> similar iterator obtainable for all messages in a folder?
>
>
>
> Martin Schmidt wrote:
>> the messages were neither in the trash nor in shared folders.
>>
>> Anyway, we'll try the AllMessages method. :‑)
>>
>> Preston Stephenson wrote:
>>> Are any of those messages in a shared folder shared to
>>> the user?
>>> Are any of those messages in the trash?
>>> Have you tried the Account.AllMessages collection?
>>>
>>>>>> On Friday, July 24, 2009 at 8:16 AM, Martin
>>> Schmidt<Martin.Schmidt@schiffl.de>
>>> wrote:
>>>> Hello,
>>>>
>>>> We're trying to access all messages in a Mailbox via the
>>>> QuickMessages Collection retrieved via
>>>> Account6.GetQuickMessagesCollection(Date,
>>>> QuickMessagesCreationConstants.egwModifiedMessages). Usually this
>>>> works fine, but in a specific mailbox, which has 105884 Messages
>>>> stored, ca. 38.000 of them are not contained in the collection.
>>>>
>>>> How can we make sure to get all Messages in such a mailbox?
>>>>
>>>> We are connecting via the C#‑Version of the Groupwise Object API.
>>>>
>>>> Best regards, Martin Schmidt.

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.