A package providing a test framework for SMTP based applications.
Project description
..
This file is part of lazr.smtptest.
lazr.smtptest is free software: you can redistribute it and/or modify it
under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, version 3 of the License.
lazr.smtptest is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
License for more details.
You should have received a copy of the GNU Lesser General Public License
along with lazr.smtptest. If not, see <http://www.gnu.org/licenses/>.
LAZR smtptest
*************
This is LAZR smtptest, 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.
.. toctree::
:glob:
*
docs/*
.. _Sphinx: http://sphinx.pocoo.org/
.. _Table of contents: http://sphinx.pocoo.org/concepts.html#the-toc-tree
Importable
==========
The lazr.smtptest package is importable, and has a version number.
>>> import lazr.smtptest
>>> print 'VERSION:', lazr.smtptest.__version__
VERSION: ...
More information
================
For more general usage information, see usage_. A specific, common test
regime can be found in queue_.
.. _usage: docs/usage.html
.. _queue: docs/queue.html
======================
NEWS for lazr.smtptest
======================
1.3 (2011-06-07)
================
- Make the test server thread-safe with other code that starts an asyncore
loop. Requires Python 2.6 or 2.7.
- Be cleaner about stopping the server: before, it left sockets running
ans simply cleared out the socket map. In an associated change, the EXIT
smtp command sends the reply first, and then shuts down the server, rather
than the other way around.
1.2 (2009-07-07)
================
- [bug 393621] QueueServer.reset() was added to clear the message queue. This
is invoked by sending an SMTP RSET command to the server, or through
Controller.reset().
1.1 (2009-06-29)
================
- [bug 391650] A non-public API was added to make QueueController more easily
subclassable.
1.0 (2009-06-22)
================
- Initial release
This file is part of lazr.smtptest.
lazr.smtptest is free software: you can redistribute it and/or modify it
under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, version 3 of the License.
lazr.smtptest is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
License for more details.
You should have received a copy of the GNU Lesser General Public License
along with lazr.smtptest. If not, see <http://www.gnu.org/licenses/>.
LAZR smtptest
*************
This is LAZR smtptest, 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.
.. toctree::
:glob:
*
docs/*
.. _Sphinx: http://sphinx.pocoo.org/
.. _Table of contents: http://sphinx.pocoo.org/concepts.html#the-toc-tree
Importable
==========
The lazr.smtptest package is importable, and has a version number.
>>> import lazr.smtptest
>>> print 'VERSION:', lazr.smtptest.__version__
VERSION: ...
More information
================
For more general usage information, see usage_. A specific, common test
regime can be found in queue_.
.. _usage: docs/usage.html
.. _queue: docs/queue.html
======================
NEWS for lazr.smtptest
======================
1.3 (2011-06-07)
================
- Make the test server thread-safe with other code that starts an asyncore
loop. Requires Python 2.6 or 2.7.
- Be cleaner about stopping the server: before, it left sockets running
ans simply cleared out the socket map. In an associated change, the EXIT
smtp command sends the reply first, and then shuts down the server, rather
than the other way around.
1.2 (2009-07-07)
================
- [bug 393621] QueueServer.reset() was added to clear the message queue. This
is invoked by sending an SMTP RSET command to the server, or through
Controller.reset().
1.1 (2009-06-29)
================
- [bug 391650] A non-public API was added to make QueueController more easily
subclassable.
1.0 (2009-06-22)
================
- Initial release
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
lazr.smtptest-1.3.tar.gz
(18.7 kB
view hashes)