ReselectMailbox Method  
 

Reselects the current mailbox.

Syntax

object.ReselectMailbox

Parameters

None.

Return Value

A value of zero is returned if the method succeeds. Otherwise, a non-zero error code is returned which indicates the cause of the failure.

Remarks

The ReselectMailbox method forces the current mailbox to be reselected and updates those properties which return information about the mailbox, such as the MailboxFlags property. Deleted messages are not expunged from the mailbox and remain marked for deletion.

See Also

MailboxName Property, MailboxFlags Property, MailboxUID Property, ExamineMailbox Method, SelectMailbox Method