Framework EDI Reference. Methods and Properties
mailDocument. Save

Saves the contents of the subject message to an external file.

Syntax:

Parameters:

Returns

If successful returns 1; otherwise 0, if failed.

Example

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

' 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"

oMailDocument.Save App.Path & "\Output.TXT"

MsgBox "Done"

Samples