Package park :: Package util :: Module mail :: Class Server

Class Server

source code


Simple mail server.

Subclass mail.Server, providing the method process message and start the service in a separate thread.

Instance Methods
 
__init__(self, address='localhost:8025') source code
 
serve(self) source code

Inherited from smtpd.SMTPServer: handle_accept, process_message

Inherited from asyncore.dispatcher: __getattr__, __repr__, accept, add_channel, bind, close, connect, create_socket, del_channel, handle_close, handle_connect, handle_error, handle_expt, handle_expt_event, handle_read, handle_read_event, handle_write, handle_write_event, listen, log, log_info, readable, recv, send, set_reuse_addr, set_socket, writable

Class Variables

Inherited from asyncore.dispatcher: accepting, addr, closing, connected, debug

Method Details

__init__(self, address='localhost:8025')
(Constructor)

source code 
Overrides: asyncore.dispatcher.__init__