OL98: MailItem's RemoteStatus Property Doesn't Work (249916)



The information in this article applies to:

  • Microsoft Outlook 98

This article was previously published under Q249916

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.

REFERENCES

For additional information about creating solutions with Outlook, click the article numbers below to view the articles in the Microsoft Knowledge Base:

180826 OL98: Resources for Custom Forms and Programming

182349 OL98: Questions About Custom Forms and Outlook Solutions


Modification Type:MajorLast Reviewed:7/31/2001
Keywords:kbbug kbprogramming KB249916