GetEmailCount Method

Get total count of emails in specified mail box.

[Syntax]
C++: HRESULT GetEmailCount( BSTR MailBox, long* pVal )
Visual Basic: GetEmailCount( MailBox As String ) As long
C#: long GetEmailCount( string MailBox )

Parameters

MailBox

Mailbox name.

Return Value

If this method succeeds, the return value is the total count of emails in this mailbox.


2001-2007 © Copyright AdminSystem Software Limited. All rights reserved.