Gets the body of the message.
Syntax:
Returns
If successful an object of FREDI.mailBody is returned otherwise NULL or empty.
Example
Dim oEdiDoc As Fredi.ediDocument
Dim oMailDocument As Fredi.mailDocument
Dim oSubjMsg As Fredi.mailMessage
Dim oBody As Fredi.mailBody
' Create instance of Framework EDI.
Set oEdiDoc = New Fredi.ediDocument
' Get internet mail document object
Set oMailDocument = oEdiDoc.GetMailDocument
' Load EDI document normally.
oMailDocument.Load App.Path & "\SampleMail.TXT"
' Get the subject message.
Set oSubjMsg = oMailDocument.GetMessage
' Get the body.
Set oBody = oSubjMsg.GetBody
MsgBox "Body text: " & oBody.Text
Samples