Delete email from specified mailbox by specified email message-id.
[Syntax] C++: HRESULT DeleteEmailById( BSTR MailBox, BSTR MsgId, long* pVal ) Visual Basic: DeleteEmailById( MailBox As String, MsgId As String ) As long C#: long DeleteEmailById( string MailBox, string MsgId )
Parameters
MailBox
Mailbox name.
MsgId
Message-id of the email to be deleted.
Return Value
If this method succeeds, the return value is zero. If it fails, the return value is non-zero.
See also
GetEmailId method
DeleteEmail method
2001-2007 © Copyright AdminSystem Software Limited. All rights reserved.