Welcome, guest | Sign In | My Account | Store | Cart

Notice! PyPM is being replaced with the ActiveState Platform, which enhances PyPM’s build and deploy capabilities. Create your free Platform account to download ActivePython or customize Python with the packages you require and get automatic updates.

Download
ActivePython
INSTALL>
pypm install pymta

How to install pymta

  1. Download and install ActivePython
  2. Open Command Prompt
  3. Type pypm install pymta
 Python 2.7Python 3.2Python 3.3
Windows (32-bit)
0.5.2 Available View build log
Windows (64-bit)
0.5.2 Available View build log
Mac OS X (10.5+)
0.5.2 Available View build log
Linux (32-bit)
0.5.2 Available View build log
Linux (64-bit)
0.5.2 Available View build log
 
Author
License
MIT
Dependencies
Lastest release
version 0.5.2 on Jan 5th, 2011

pymta is a library to build a custom SMTP server in Python. This is useful if you want to...

  • test mail-sending code against a real SMTP server even in your unit tests.
  • build a custom SMTP server with non-standard behavior without reimplementing the whole SMTP protocol.
  • have a low-volume SMTP server which can be easily extended using Python

Changelog

0.5.2 (12.06.2010)
  • Fix bug - detect of command/message also when the terminator is sent in multiple packages (fixes manual message submission with telnet)
0.5.1 (08.06.2010)
  • Fix egg file generation: Include all necessary packages in eggs
0.5.0 (07.04.2010)
  • Dropped dependency to repoze.workflow because the module added a lot of dependencies recently (six others in total). The new, custom state machine also supports flags and conditions which suits SMTP very much.
  • Added dependency to pycerberus (>= 0.3.1) to validate all sent parameters thoroughly with sensible error messages.
  • All inputs from peers is now validated
  • relaxed restrictions for the HELO/EHLO parameter (as real world clients don't send real host names)
  • Fixed bug - ESMTP session switched back to plain SMTP after the first mail was sent
  • Fixed bug - Hang after sending data to a broken connection
0.4.0 (08.06.2009)
  • Compatibility fixes for Python 2.3-2.6
  • Policies can drop connection to the client before or after the response
  • CommandParser is more robust against various socket errors
  • Better infrastructure and documentation to use pymta in third-party tests
0.3.1 (27.02.2009)
  • Fixed bug which caused hang after unexpected connection drop by client
0.3 (15.02.2009)
  • Switch to process-based architecture, got rid of asyncore
  • Support for size-limitations of messages, huge messages will not be stored in memory if they will be rejected anyway (denial of service prevention)
  • API documentation is now auto-generated
  • Renamed DefaultMTAPolicy to IMTAPolicy and moved all interfaces to pymta.api
  • Added the debugging_server as an extremely simple example of a pymta-based server

Subscribe to package updates

Last updated Jan 5th, 2011

Download Stats

Last month:1

What does the lock icon mean?

Builds marked with a lock icon are only available via PyPM to users with a current ActivePython Business Edition subscription.

Need custom builds or support?

ActivePython Enterprise Edition guarantees priority access to technical support, indemnification, expert consulting and quality-assured language builds.

Plan on re-distributing ActivePython?

Get re-distribution rights and eliminate legal risks with ActivePython OEM Edition.