Difference between revisions of "TSmtpCli"
Jump to navigation
Jump to search
Line 5: | Line 5: | ||
Component '''TSmtpCli''' implements client-side of the Simple Mail Transfer Protocol as specified in | Component '''TSmtpCli''' implements client-side of the Simple Mail Transfer Protocol as specified in | ||
− | RFC | + | RFC [http://rfc.net/rfc2821.html 2821], and MIME message format according to RFC [http://rfc.net/rfc1521.html 1521]] |
− | and | + | and [http://rfc.net/rfc2045.html 2045]. Currently supported SMTP Service Extensions for Authentication are |
− | AUTH LOGIN, AUTH PLAIN, AUTH CRAM-MD5 and AUTH CRAM-SHA1 (RFC | + | AUTH LOGIN, AUTH PLAIN, AUTH CRAM-MD5 and AUTH CRAM-SHA1 (RFC [http://rfc.net/rfc2554.html 2554] as well as RFC [http://rfc.net/rfc1734.html 1734]). |
− | The TSmtpCli is working '''non-blocking''', a synchronously working counterpart is also available, see [[TSyncSmtpCli | TSyncSmtpCli]]. | + | The TSmtpCli is working '''non-blocking''', a synchronously working counterpart is also available, see [[TSyncSmtpCli | TSyncSmtpCli]]. |
− | |||
== Methods == | == Methods == |
Revision as of 09:17, 19 February 2006
Contents
Overview
- unit SmtpProt
- inheritance TCustomSmtpCli->TSmtpCli
Component TSmtpCli implements client-side of the Simple Mail Transfer Protocol as specified in RFC 2821, and MIME message format according to RFC 1521] and 2045. Currently supported SMTP Service Extensions for Authentication are AUTH LOGIN, AUTH PLAIN, AUTH CRAM-MD5 and AUTH CRAM-SHA1 (RFC 2554 as well as RFC 1734). The TSmtpCli is working non-blocking, a synchronously working counterpart is also available, see TSyncSmtpCli.
Methods
Abort | Cancel any transactions in progress, close server connection. | |
Auth | Send SMTP command AUTH starting the authentication process. | |
Connect | Connect to the mail server. | |
Create | Constructor | |
Data | Send SMTP command DATA. | |
Destroy | Destructor | |
Ehlo | Send SMTP command EHLO. | |
Helo | Send SMTP command HELO. | |
HighLevelAsync | Execute multiple commands in a chain | |
Execute methods MailFrom, RcptTo, and Data in a chain. | ||
MailFrom | Send SMTP command MAIL FROM | |
Open | Execute methods Connect, Ehlo, and Auth in a chain. | |
Quit | Send SMTP command QUIT | |
RcptNameAdd | Assign recipients to the various recipient lists. | |
RcptTo | Send SMTP command RCPT TO, for each recipient in the lists. | |
Rset | Send SMTP command RSET. | |
ThreadAttach | Attach the component to current thread context. | |
ThreadDetach | Detach the component from current thread context. | |
Vrfy | Send SMTP command VRFY. |