MarkForDownload Property
Returns or sets an OlRemoteStatus constant that determines the status of an item once it is received by a remote user. This property gives remote users with less-than-ideal data-transfer capabilities increased messaging flexibility. Read/write.
OlRemoteStatus can be one of these OlRemoteStatus constants. |
olMarkedForCopy The item will be copied to the remote site. |
olMarkedForDelete The item will be deleted. |
olMarkedForDownload The item will be downloaded in its entirety. |
olRemoteStatusNone The item has no remote status. |
olUnMarked The item isn't marked for remote status and will be disregarded. |
expression.MarkForDownload
expression Required. An expression that returns one of the objects in the Applies To list.
Example
The following subroutine sets the MarkForDownload property of all e-mail items sent by a specified user to olMarkedForDownload. All items from the specified user will then be downloaded in their entirety.
Sub RemoteUse(ByVal strSender As String, ByRef objMail As MailItem)
'Marks all items from a certain user to be downloaded
With objMail
'If mail is from the sender, mark it for download
If .SenderName = strSender Then
.MarkForDownload = olMarkedForDownload
End If
End With
End Sub