Skip to main content

Patches zope.sendmail.mailer.SMTPMailer to use smtplib.SMTP_SSL instead of smtplib.SMTP, to support sending oder port 465.

Project description

https://github.com/collective/collective.smtpssl/actions/workflows/plone-package.yml/badge.svg Coveralls https://codecov.io/gh/collective/collective.smtpssl/branch/master/graph/badge.svg Latest Version Egg Status https://img.shields.io/pypi/pyversions/collective.smtpssl.svg?style=plastic:alt:Supported-PythonVersions License

collective.smtpssl

Patches zope.sendmail.mailer.SMTPMailer to use smtplib.SMTP_SSL instead of smtplib.SMTP, to support sending oder port 465. Please note, sending over port 587 will not work anymore when this package is installed! This is only necessary until is fixed.

!! Note !! this is only working and useful for zope.sendmail < 6.2. From version 6.2 you can set implicit_tls to archive the same.

From version 2.0 on we don’t patch the MailHost but enable the implicit_tls in the MailHost, so that one can use port 465. This could be done in any setuphandlers.py, which would make this package obsolute in that setup.

Installation

Install collective.smtpssl by adding it to your buildout:

[buildout]

...

eggs =
    collective.smtpssl

and then running bin/buildout

Authors

Provided by Maik Derstappen | MrTango | derico.de

Contributors

Put your name here, you deserve it!

  • ?

Contribute

Support

If you are having issues, please let us know.

License

The project is licensed under the GPLv2.

Contributors

Changelog

2.0 (2025-02-21)

  • remove the actual patch code, but enable implicit_tls in MailHost

1.1 (2024-06-14)

  • depend on zope.sendmail<=6.1 and add note to README to remove it for zope.sendmail >=6.2 [MrTango]

1.0 (2024-02-08)

  • Initial release. [MrTango]

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

collective_smtpssl-2.0.tar.gz (20.9 kB view details)

Uploaded Source

Built Distribution

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

collective.smtpssl-2.0-py3-none-any.whl (19.8 kB view details)

Uploaded Python 3

File details

Details for the file collective_smtpssl-2.0.tar.gz.

File metadata

  • Download URL: collective_smtpssl-2.0.tar.gz
  • Upload date:
  • Size: 20.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.1

File hashes

Hashes for collective_smtpssl-2.0.tar.gz
Algorithm Hash digest
SHA256 9d3c94d37f9d0e173fd995480cd3aec3abb090dc8d399529d4118cd03275177d
MD5 45a10adf985a8395e44b7246cf6057c2
BLAKE2b-256 0453a817726ede997014ca37868d1fbe93912a1120425873909e91c37d8f9515

See more details on using hashes here.

File details

Details for the file collective.smtpssl-2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for collective.smtpssl-2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0f86d5d5cbab6233ff86d33668fa2d5101d532287aab6a5449c9305aaffbf33d
MD5 cd8ec19433bca353db88e9525ef3ee26
BLAKE2b-256 e25614d451cf552c5ff59d58d82527be3fc26b566625c8acf368521a7aa5014d

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