Microsoft KB Archive/249915

= OL97: MailItem's RemoteStatus Property Doesn't Work =

Article ID: 249915

Article Last Modified on 1/27/2007

-

APPLIES TO


 * Microsoft Outlook 97 Standard Edition

-



This article was previously published under Q249915





SYMPTOMS
In the Outlook object model, you use the RemoteStatus property of a MailItem, but it does not appear to work.



CAUSE
The RemoteStatus property was not implemented correctly in the Outlook object model.



RESOLUTION
Do not use this property in your solution.



STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.



MORE INFORMATION
The RemoteStatus property is found in the MailItem object. However, it is the RemoteItem object that is returned when you download message headers using the Remote Mail feature. The RemoteItem object does not contain a RemoteStatus property, thus preventing you from marking the item appropriately. This prevents you from programmatically marking a remote mail message for download.

The RemoteStatus property as documented in Help can be set to one of five constants:

olRemoteStatusNone (0) olUnMarked (1) olMarkedForDownload (2) olMarkedForCopy (3) olMarkedForDelete (4)

Setting this property to one of those values has no affect on how the remote mail item is marked.

