Visual Basic: MAPI Controls

DownloadMail Property

See Also    Example    Applies To

Specifies when new messages are downloaded from the mail server for the designated user.

Syntax

object.DownloadMail [ = value ]

The DownloadMail property syntax has these parts:

Part Description
object An object expression that evaluates to an object in the Applies To list.
value A boolean expression specifying when new mail is downloaded, as described in Settings.

Settings

The settings for value are:

Setting Description
True (Default) All new messages from the mail server are forced to the user's Inbox during the sign-on process.
False New messages on the server are not forced to the user's Inbox immediately, but are downloaded at the time interval set by the user.

Remarks

This property can be set to True when you want to access the user's complete set of messages when signing on. However, processing time may increase as a result.

Data Type

Boolean