GetEmailFileName Method

Get email location by message-id.

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

Parameters

MailBox

Mailbox name.

MsgId

Email's message-id.

Return Value

If this method succeeds, the return value is the full file name of the email. If it fails, the return value is null string.

Remarks

You can use this method to get email's full file name involving path.


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