Skip to main content

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.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

Release files for pymta 0.5.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pymta 0.5.1
File Size Uploaded
pymta-0.5.1.tar.gz 87.5 kB Details

Release files / pymta-0.5.1.tar.gz

Download URL pymta-0.5.1.tar.gz
Size 87.5 kB
Tags Source
SHA-256 checksum
How to use checksums
4b2a893615ad922b2414c23972b5c7b98b4b31a2bbbb004530bc271215e746f0
BLAKE2b-256 checksum
How to use checksums
97b7a61f3a10d08bf0b2defe4fe0470207273346990d7300e2975c528f486766
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

0.8.0

1 release file

0.7.1

2 release files

0.7.0

2 release files

0.6.0

2 release files

0.5.2

2 release files

This release

0.5.1 This release

1 release file

0.5

2 release files

0.4.0

5 release files

0.3.1

2 release files

0.3

2 release files

0.2.1

2 release files

0.2

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page