Package Documentation¶
bonzo Package¶
Bonzo is an SMTP server built on top of Tornado.
- bonzo.__init__.version = '0.2.0'¶
Current version of Bonzo.
bonzo Modules¶
bonzo.server– Non-blocking SMTP serverSMTPConnectionSMTPConnection.COMMANDSMTPConnection.DATASMTPConnection.close()SMTPConnection.command_data()SMTPConnection.command_helo()SMTPConnection.command_mail()SMTPConnection.command_noop()SMTPConnection.command_quit()SMTPConnection.command_rcpt()SMTPConnection.command_rset()SMTPConnection.finish()SMTPConnection.run()SMTPConnection.set_close_callback()SMTPConnection.write()SMTPConnection.write_ok()
SMTPRequestSMTPServer
bonzo.smtp–RequestHandlerandApplicationclassesbonzo.testing– Unit testing support for asynchronous codeAsyncSMTPTestCaseAsyncSMTPTestCase.close()AsyncSMTPTestCase.connect()AsyncSMTPTestCase.get_request_callback()AsyncSMTPTestCase.get_smtp_port()AsyncSMTPTestCase.get_smtp_server()AsyncSMTPTestCase.get_smtpserver_options()AsyncSMTPTestCase.read_response()AsyncSMTPTestCase.send_mail()AsyncSMTPTestCase.setUp()AsyncSMTPTestCase.tearDown()
bonzo.errors– SMTP exceptions for response to the client