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


Home | Packages | Files | Procedures | Classes | Keywords | External packages


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
from, helo, to
Methods
AllDone, IsDone, storeMessage

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

AllDone (command conn)

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

IsDone (command conn)

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

storeMessage (command message)

Store the given message via SMTP and the local mail demon.
Argument: commandThe 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: messageThe text of the message to store.


Generated by AutoDoc 2.1 at 02/20/1999, invoked by Andreas Kupries