wodMailbox ActiveX Control - Save Method
      
 

Description

Copies message to file on disk.


Return Type

None  


Syntax

object.Save Filename, [Append]



The Save Method syntax has these parts:

Part Description
object An expression evaluating to an object of type Message.
Filename Required. A String value. Full path to file where message is saved.
Append Optional. A Variant value. When set to True, message is appened to destination file.

Remarks

If you want to copy message to external file on disk, use Save method. As a parameter you have to specify Filename where message will be stored. If you set Append = True, then the file pointed by Filename parameter will be appended, rather than overwritten. As a result you can create new mailbox from old one just by calling this method for all messages.

Save method will copy contents of the memory, instead of mailbox file. If you made changes to the message, changes will be copied even original mailbox file isn't Updated yet. Everything about the message will be saved - MailInfo line, headers, empty line, text.