Visual Basic: MAPI Controls

SignOn Method

See Also    Example    Applies To

Logs the user into the account specified by the UserName and Password properties, and provides a session handle to the underlying message subsystem.

Syntax

object.SignOn

The object placeholder represents an object expression that evaluates to an object in the Applies To list.

Remarks

The session handle is stored in the SessionID property. Depending on the value of the NewSession property, the session handle may refer to a newly created session or an existing session.