Metadata-Version: 2.2
Name: collective.smtpssl
Version: 2.0
Summary: Patches zope.sendmail.mailer.SMTPMailer to use smtplib.SMTP_SSL instead of smtplib.SMTP, to support sending oder port 465.
Home-page: https://github.com/collective/collective.smtpssl
Author: Maik Derstappen
Author-email: md@derico.de
License: GPL version 2
Project-URL: PyPI, https://pypi.org/project/collective.smtpssl/
Project-URL: Source, https://github.com/collective/collective.smtpssl
Project-URL: Tracker, https://github.com/collective/collective.smtpssl/issues
Keywords: Python Plone CMS
Classifier: Environment :: Web Environment
Classifier: Framework :: Plone
Classifier: Framework :: Plone :: Addon
Classifier: Framework :: Plone :: 6.1
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Operating System :: OS Independent
Classifier: License :: OSI Approved :: GNU General Public License v2 (GPLv2)
Requires-Python: >=3.9
License-File: LICENSE.GPL
License-File: LICENSE.rst
Requires-Dist: setuptools
Requires-Dist: collective.monkeypatcher
Requires-Dist: zope.sendmail>=6.2
Requires-Dist: Products.MailHost>=6.0
Provides-Extra: test
Requires-Dist: plone.app.testing; extra == "test"
Requires-Dist: plone.testing>=5.0.0; extra == "test"
Dynamic: author
Dynamic: author-email
Dynamic: classifier
Dynamic: description
Dynamic: home-page
Dynamic: keywords
Dynamic: license
Dynamic: project-url
Dynamic: provides-extra
Dynamic: requires-dist
Dynamic: requires-python
Dynamic: summary

.. This README is meant for consumption by humans and PyPI. PyPI can render rst files so please do not use Sphinx features.
   If you want to learn more about writing documentation, please check out: http://docs.plone.org/about/documentation_styleguide.html
   This text does not appear on PyPI or github. It is a comment.

.. image:: https://github.com/collective/collective.smtpssl/actions/workflows/plone-package.yml/badge.svg
    :target: https://github.com/collective/collective.smtpssl/actions/workflows/plone-package.yml

.. image:: https://coveralls.io/repos/github/collective/collective.smtpssl/badge.svg?branch=main
    :target: https://coveralls.io/github/collective/collective.smtpssl?branch=main
    :alt: Coveralls

.. image:: https://codecov.io/gh/collective/collective.smtpssl/branch/master/graph/badge.svg
    :target: https://codecov.io/gh/collective/collective.smtpssl

.. image:: https://img.shields.io/pypi/v/collective.smtpssl.svg
    :target: https://pypi.python.org/pypi/collective.smtpssl/
    :alt: Latest Version

.. image:: https://img.shields.io/pypi/status/collective.smtpssl.svg
    :target: https://pypi.python.org/pypi/collective.smtpssl
    :alt: Egg Status

.. image:: https://img.shields.io/pypi/pyversions/collective.smtpssl.svg?style=plastic   :alt: Supported - Python Versions

.. image:: https://img.shields.io/pypi/l/collective.smtpssl.svg
    :target: https://pypi.python.org/pypi/collective.smtpssl/
    :alt: License


==================
collective.smtpssl
==================

.. container:: del

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

- Issue Tracker: https://github.com/collective/collective.smtpssl/issues
- Source Code: https://github.com/collective/collective.smtpssl


Support
-------

If you are having issues, please let us know.


License
-------

The project is licensed under the GPLv2.


Contributors
============

- Maik Derstappen, md@derico.de


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]
