AllDone (conn) |
|
Called by conn after the channel to the smtp demon was closed. Simply destroys the connection | |
Argument: conn | The smtpConnection in shutdown, to destroy. |
Done (file conn) |
|
Executed after SMTP transfer of file is finished. Removes the file in case of success. Always initiates the transfer of the next file. | |
Argument: file | Name of the file transfered to the outside world. |
Argument: conn | Name of the used smtp descriptor array. |
SpoolMessage () |
|
Initiates a SMTP session for the first message in the queue. |
start (flist) |
|
All specified files are forwarded to the given site, using the SMTP protocol. Files successfully transfered are deleted afterward. A partial transfer is enough to do so. | |
Notes: This procedure assumes that the files are in HB-SMTP format (half baked SMTP), as generated by the smail MTA. In such files the message is prepended with MAIL FROM, RCPT TO, DATA commands, and the standard EOM-indicator (. on a single line line) is appended. | |
Argument: flist | List of files to transfer. |
Generated by AutoDoc 2.4 at 09/14/2000, invoked by Andreas Kupries