LAZR smtptest is a framework for testing SMTP-based applications and libraries. It provides a real, live SMTP server that you can send messages to, and from which you can read those test messages. This can be used to ensure proper operation of your applications which send email.
The lazr.smtptest package is importable, and has a version number.
>>> import lazr.smtptest
>>> print 'VERSION:', lazr.smtptest.__version__
What's New in This Release: [ read full changelog ]
· Fixes bug 393621 by giving the QueueServer a reset() method to clear its queue.