Skip to main content

zope.sendmail integration for Zope 2.

Project description

Overview

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

Usage

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

Configuration

To force MailHost to only queue mails without sending them, activate queuing in the ZMI and set the environment variable MAILHOST_QUEUE_ONLY=1. This could be helpful in a staging environment where mails should not be sent.

Changelog

2.13.4 (2019-06-03)

  • Do not start QueueProcessorThread on configuration update. (#14)

2.13.3 (2019-04-03)

  • Add ability to disable sending of queued mails. Details see README.txt. (#14)

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.

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

Products.MailHost-2.13.4.tar.gz (18.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

Products.MailHost-2.13.4-py2-none-any.whl (24.7 kB view details)

Uploaded Python 2

File details

Details for the file Products.MailHost-2.13.4.tar.gz.

File metadata

  • Download URL: Products.MailHost-2.13.4.tar.gz
  • Upload date:
  • Size: 18.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.3

File hashes

Hashes for Products.MailHost-2.13.4.tar.gz
Algorithm Hash digest
SHA256 b459db7b0f93cb132d476f7ecc280e199db0ac77c4a80963784c0b0acda35031
MD5 61b4fb2a2d40f98689f3761530b2c8a5
BLAKE2b-256 b058f76a53d54e5e0cad49e56145c558c8d624ea80bbc0c0a08ad345e34fbc48

See more details on using hashes here.

File details

Details for the file Products.MailHost-2.13.4-py2-none-any.whl.

File metadata

  • Download URL: Products.MailHost-2.13.4-py2-none-any.whl
  • Upload date:
  • Size: 24.7 kB
  • Tags: Python 2
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.3

File hashes

Hashes for Products.MailHost-2.13.4-py2-none-any.whl
Algorithm Hash digest
SHA256 092627509ab60f5df4523bb7b61abcc563fbfceaa393b65248b1fe0d722406bb
MD5 34165fe3db17d4a14191ad8e491e9453
BLAKE2b-256 952eb6e4a4a42fc0c26ae9dfe53ee68867833e4f5cd01e10fa95184ab150cbe3

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page