Framework EDI Reference. Methods and Properties
mailMessage. Canonicalize

Canonicalizes the message.

Syntax:

Returns:

Returns 1 if the operation is successful; otherwise returns 0 if the operation fails.

Remarks:

See Framework EDI Canonicalization

Example:

Dim oEdiDoc As Fredi.ediDocument
Dim oMailDocument As Fredi.mailDocument
Dim oSubject As Fredi.mailMessage

' Create instance of Framework EDI.
Set oEdiDoc = New Fredi.ediDocument

' Get internet mail document object
Set oMailDocument = oEdiDoc.GetMailDocument

' Load the mail document
oMailDocument.Load App.Path & "\SampleMail.TXT"

' Get the message.
Set oSubject = oMailDocument.GetMessage

oSubject.Canonicalize

MsgBox "Message Content: " & vbCrLf & oSubject.GetMsgString