File 'net/smtp/prepare.cls' (part of 'Pool_Net')

Description (short)
Prepare transfer of mail message (MAIL FROM, RCPT TO)
Written by
Andreas Kupries
Description
Sequencer for preparation of mail transfer (from / to)
Keywords
SMTP, MAIL FROM command, RCPT TO command

Class 'smtpPrepareSeq'

Superclasses
smtpSequencer
Options
from
to
Methods
public
GotMailFromResponse (line)
GotRcptResponse (line)
MailFromTry ()
PrepareRecipients ()
smtpPrepareSeq ()

Options

-from
The email address of the mail sender.
-to
The list of addresses to send the mail to.

Methods

GotMailFromResponse (line)

Called after smtp demon responded to the MAIL FROM command. In case of sucess the list of intended recipients is transfered one by one, via RCPT TO.
Argument: line Text of response

GotRcptResponse (line)

Called after the smtp demon responded to the RCPT TO command issued last. Completes the transaction or sends the next recipient on the list.
Argument: line Text of response

MailFromTry ()

The first action taken after the construction of the sequencer completes. Sends the mail sender address to the demon, then waits for its response.

PrepareRecipients ()

A single recipient is transfered to the demon, via RCPT TO.

smtpPrepareSeq ()

Constructor.


Generated by AutoDoc 2.4 at 09/14/2000, invoked by Andreas Kupries