Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

zope.sendmail integration for Zope 2.

Project Description


The MailHost product provides support for sending email from within the Zope environment using MailHost objects.

An optional character set can be specified to automatically encode unicode input, and perform appropriate RFC 2822 header and body encoding for the specified character set. Full python email.Message.Message objects may be sent.

Email can optionally be encoded using Base64, Quoted-Printable or UUEncode encoding (though automatic body encoding will be applied if a character set is specified).

MailHost provides integration with the Zope transaction system and optional support for asynchronous mail delivery. Asynchronous mail delivery is implemented using a queue and a dedicated thread processing the queue. The thread is (re)-started automatically when sending an email. The thread can be started manually (in case of restart) by calling its manage_restartQueueThread?action=start method through HTTP. There is currently no possibility to start the thread at Zope startup time.

Supports TLS/SSL encryption (requires Python compiled with SSL support).


4.0 (2017-09-14)

  • Move GenericSetup export/import support from the GenericSetup package to MailHost as a setuptools extra.
  • Python 3 compatibility
  • add test coverage reporting
  • Use @implementer class decorator.
  • Drop long-deprecated support for uuencoded emails.

3.0 (2016-07-18)

  • Remove HelpSys support.

2.13.2 (2014-11-02)

  • Adjust tests to pass with latest zope.sendmail versions.
  • Specify detailed distribution dependencies.

2.13.1 (2010-09-25)

  • LP #642728: Fixed TypeError on nested multi part messages in MailHost.

2.13.0 (2010-07-13)

  • Released as separate package.

Release History

This version
History Node


History Node


History Node


History Node


History Node


Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, Size & Hash SHA256 Hash Help File Type Python Version Upload Date
(25.0 kB) Copy SHA256 Hash SHA256
Wheel 3.6 Sep 14, 2017
(19.0 kB) Copy SHA256 Hash SHA256
Source None Sep 14, 2017

Supported By

Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Google Google Cloud Servers DreamHost DreamHost Log Hosting