Load email from an EML file (RFC822) to current Mail object.
[Syntax] Visual C++: HRESULT LoadMessage(BSTR FileName long* pVal) Visual Basic: LoadMessage(FileName As String) As Long
Parameters
Return Value
Example
[VB6, VBA - Load EML File] Dim oSmtp New EASendMailObjLib.Mail oSmtp.LicenseCode = "TryIt" ' load this email from email. oSmtp.LoadMessage "c:\my folder\test.eml"
See Also