Back to product page
- Introduction
- License agreement
- Getting Started
- Enumerations
- Objects
- wodSmtp
- Methods
- Properties
- Authentication
- Blocking
- Certificate
- CharSet
- DNSHostname
- Hostname
- LastError
- LastErrorText
- Login
- MailFrom
- MailTo
- Message
- MyHostname
- MyIP
- Notification
- Password
- Port
- ProxyHostname
- ProxyLogin
- ProxyPassword
- ProxyPort
- ProxyType
- RequestReceipt
- RetryCount
- RetryWait
- Security
- State
- StateText
- Tag
- Timeout
- Transcript
- UseIPv6
- Version
- Events
- IwodSmtpClientNotify
- SmtpEncoder
- SmtpHdr
- SmtpHdrs
- SmtpMsg
- SmtpMsgs
- wodSmtp
- How to get support?
- Technical information
- Fast notifications interface
- Error list
Load Method
Loads message from the file on disk.
Syntax
- Basic
object.Load (Filename)
The Load(object,Filename) syntax has these parts:
The Load(object,Filename) syntax has these parts:
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.