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

Description (short)
Storage facility built upon SMTP delivery
Written by
Andreas Kupries
Description
Storage facility built upon SMTP delivery
Keywords
SMTP, storage facility

Class 'smtpStorage'

Description
Storage system usable by the pop client in pop3Client. Incoming mails are send to a smtp demon for local delivery and storage. Uses a smtpConnection to do the main work.
Superclasses
popClientStorageBase
Options
helo
from
to
Methods
public
AllDone (command conn)
IsDone (command conn)
storeMessage (command message)

Options

-helo
The string to send to the smtp demon after connection and its greeting.
-from
The email address of the pseudo sender of all incoming mails
-to
The address to sent all incoming mails to.

Methods

AllDone (command conn)

Executed after the SMTP connection was completely closed.
Argument: command The command to execute now that the storing is complete.
Argument: conn The handle of the smtpConnection object shutting down.

IsDone (command conn)

Executed after SMTP storage is finished.
Argument: command The command to execute after closing the connection represented by conn.
Argument: conn The handle of the smtpConnection object reporting back.

storeMessage (command message)

Overrides popClientStorageBase:storeMessage
Store the given message via SMTP and the local mail demon.
Argument: command The script evaluate after completion of the process (use Done to accomplish this). Allowed to be empty, nothing is done in that case. Gets either 'error' or 'done' as first argument.
Argument: message The text of the message to store.


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