TSMTPCli

From Overbyte
Revision as of 11:09, 13 February 2006 by DZ-Jay (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Here goes a simple description of the component. Blah blah blah. TSMTP Socket is used to make coffee programmatically, using specially encoded grounds, a milk and sugar attribute, and a large electric mug.

Properties

FromName

This is the name that will appear in the e-mail From line.

HdrName

This is the e-mail address that will be used as the envelope sender (sent in the MAIL FROM command).

Host

This is the SMTP host to connect to.

Port

This is the port that will be used for the SMTP transaction. The default is 25.

RcptList

This is an array containing a list of recipient addresses.

Methods

AddRcpt

Adds a recipient to the RcptList array.

Connect

Connects to the SMTP Server.

Quit

Closes the connection with the SMTP Server.


Events

OnConnect

This event will be triggered when a connection to the SMTP Server is established.

OnDataSent

This event will be triggered when a new line of data is sent. You can use this event to update progress indicators on your application.

Code Samples