wodSmtp ActiveX Control - Load Method
      
 

Description

Loads message from the file on disk.


Return Type

None  


Syntax

object.Load Filename



The Load Method syntax has these parts:

Part Description
object An expression evaluating to an object of type SmtpMsg.
Filename Required. A String value. Specifies name of the file to load.

Remarks

Load method will load predefined message from the disk, and parse it internally so it can be changed and sent to SMTP server. wodSmtp may slightly change the message when it loads it, so it can "fit" into its collections, but resulting message that is sent to SMTP server should not change in its contents.

When message is loaded, you can access its Headers, you can change Parts, PlainText, HTMLText etc.. You can also Attach files to the message before it's sent.

When loaded, message is kept in the memory as long as wodSmtp exists - or until new message is loaded.