wodSmtp ActiveX Control - Save Method
      
 

Description

Copies message to file on disk.


Return Type

None  


Syntax

object.Save Filename



The Save Method syntax has these parts:

Part Description
object An expression evaluating to an object of type SmtpMsg.
Filename Required. A String value. Full path to a file on the disk where message is saved.

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. As a result you can create new message from old one just by calling this method.

Save method will copy contents of the memory. Everything about the message will be saved - boundary lines, headers, empty line, text.