GetEmailById Method

Get email raw content from mail box by email's message-id.

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

Parameters

MailBox

Mailbox name.

MsgId

Email's message-id.

Return Value

If this method succeeds, the return value is the raw content of email. If it fails, the return value is null string.

Remarks

You can use this method to get email's content and pass it to POPMSG's RawContent property.


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