Load email from POPMSG object of ANPOP to current email.
[Syntax] C++: HRESULT LoadMessage( IDispath* pANPOP, long* pVal ) Visual Basic: LoadMessage( pANPOP as Object ) As Long C#: long LoadMessage( object pANPOP )
pANPOP
POPMSG object instance to load.
Return Values
If this method succeeds, the return value is zero; otherwise the return value is non-zero.
Usage Example:
[Visual Basic]
Dim oSmtp As Object
Dim oMsg As Object
Set oSmtp = CreateObject("AOSMTP.Mail")
Set oMsg = CreateObject("ANPOP.POPMSG")
'Import email to ANPOP
oMsg.ImportFile "c:\1.eml"
'load this email from ANPOP.
oSmtp.LoadMessage oMsg
See Also
2001-2007 © Copyright AdminSystem Software Limited. All rights reserved.