Microsoft KB Archive/59973

= Mac Hyp: Getting a List of Messages =

Article ID: 59973

Article Last Modified on 10/30/2006

-

APPLIES TO


 * Microsoft Mail Software Development Kit (SDK) for HyperCard 2.0
 * Microsoft Mail Software Development Kit 3.0

-



This article was previously published under Q59973



SUMMARY
To return a list of the messages in a user's mailbox, use the following command: msmail (getMessageList[, typeFilter][, subjectFilter][, enclosureFilter]) => messageList The fields in messageList can be accessed with getMessageListField. If no filters are specified, then all messages are returned. Otherwise, only the messages that satisfy the filter requirements are returned.

&quot;typeFilter&quot; is a single message type to be returned (for example, &quot;Mess&quot; would display only Note messages).

&quot;subjectFilter&quot; specifies the exact subject that a message must have (an empty string matches all messages).

&quot;enclosureFilter&quot; specifies the type(s) of enclosure a message must have (for example, &quot;TEXTWDBN&quot; would display messages containing text or Microsoft Word files).

When finished with messageList, dispose of it by calling disposeMessageList to free up the memory allocated by calling this function.

This information is taken from the &quot;Microsoft Mail HyperCard Interface Documentation.&quot;

Keywords: KB59973

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.