SaveEmail Method

Save email to specified mailbox.

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

Parameters

MailBox

MailBox name.

Raw

Email's raw content, it can be retrieved by RawContent property of POPMSG object or by Retrieve method of POPMAIN object.

Return Value

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

See also

SaveEmailById method


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