MoveEmail Method

Moves specified email from one mailbox to another one.

[Syntax]
C++: HRESULT MoveEmail( BSTR srcBox, BSTR destBox, BSTR MsgId, long* pVal )
Visual Basic: MoveEmail( srcBox As String, destBox As String, MsgId As String ) As Long
C#: long MoveEmail( string srcBox, string destBox, string MsgId )

Parameters

srcBox

Maillbox you want to move email from.

destBox

Mailbox you want to move email to.

MsgId

Email's message-id.

Return Value

If this method succeeds, the return value is the zero. If it fails, the return value is non-zero.


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