File 'net/pop3/apop.cls' (part of 'Pool_Net')

Description (short)
Delete message on pop server (APOP)
Written by
Andreas Kupries
Description
Sequencer for login into a pop server via APOP.
Keywords
POP3, APOP command

Class 'pop3ApopSeq'

Depends on
Trf
Superclasses
pop3Sequencer
Options
user
secret
greeting
Methods
public
ApopTry ()
GotApopResponse (line)
GotStatResponse (line)
pop3ApopSeq ()

Options

-user
The name of the user trying to login.
-secret
The password of the user trying to login.
-greeting
The text of the greeting which was sent by the server in the initialization phase of the connection.

Methods

ApopTry ()

The first action taken after the construction of the sequencer completes. Extracts the timestamp from the greeting, uses this and the password to generate the response to our challenge, then writes out the login command to the pop3 server, at last waits for its response.

GotApopResponse (line)

Called after pop3 demon responded to the APOP command. Depending on the result of the login the sequencer stops its operation now (error), or writes out the command to retrieve the number of messages storeed in the mailbox (successful login).
Argument: line Text of response

GotStatResponse (line)

Called after pop3 demon responded to the STAT command.
Argument: line Text of response

pop3ApopSeq ()

Constructor.


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