Trees Indices Help
Trac
Package trac :: Package tests :: Module notification :: Class SMTPServerInterface

Class SMTPServerInterface

source code

Known Subclasses:

A base class for the imlementation of an application specific SMTP Server. Applications should subclass this and overide these methods, which by default do nothing.

A method is defined for each RFC821 command. For each of these methods, 'args' is the complete command received from the client. The 'data' method is called after all of the client DATA is received.

If a method returns 'None', then a '250 OK'message is automatically sent to the client. If a subclass returns a non-null string then it is returned instead.

Instance Methods
helo(self, args) source code
mail_from(self, args) source code
rcpt_to(self, args) source code
data(self, args) source code
quit(self, args) source code
reset(self, args) source code
Trees Indices Help
Trac

AltStyle によって変換されたページ (->オリジナル) /