Get message subject.
[Syntax] C++: HRESULT GetSubject( BSTR* pVal ) Visual Basic: GetSubject( ) As String C#: string GetSubject()
Return Value
This method returns the message subject.
Usage Example
[VBScript]
Dim oMsg
Set oMsg = CreateObject("ANPOP.POPMSG")
If oMsg.ImportFile( "c:\test.eml" ) = 0 Then
WScript.Echo oMsg.GetSubject()
Else
WScript.Echo "error with ImportFile"
End If
See Also
2001-2007 © Copyright AdminSystem Software Limited. All rights reserved.