Pyramid-mailer

Latest version: v0.15.1

Safety actively analyzes 685670 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 3

0.15.1

-------------------

- Pull 83: Add the new ``.bind`` method to the ``DebugMailer`` and the
``DummyMailer``. Also ``pyramid_mailer.testing`` and
``pyramid_mailer.debug`` now add the ``request.mailer`` request attribute.

0.15

-----------------

- Pull 49: Support '7bit' and '8bit' transfer-encoding.

- Pull 70: If ``username`` and ``password`` are both set to the empty string,
``Mailer.from_settings``, now interprets them as being set to ``None``.
Previously, setting them to the empty string caused SMTP authentication
to be force with empty username and password.

- Pull 71: Add a ``content_id`` argument to the ``Attachment`` constructor
which allows you to set the Content-ID header so you can reference it from
an HTML body.

- Pull 72: Change file extension to ``.eml`` for mails saved from
``DebugMailer``. ``.eml`` is the standard file format for storing
plaintext MIME (rfc822) emails.

- Pull 77: Drop Python 2.6 and 3.2 support.

- Add Python 3.5 support.

- Pull 78: Support per-request transaction managers if available via
``request.tm`` set by ``pyramid_tm``.

0.14.1

-------------------

- Enable compatibility testing with Pyramid all the way back to 1.2. It may
work earlier but we aren't testing it any longer.

- Fix a bug where the ``mailer.debug`` ini option was not properly being
cast to an ``int``. This did not show up on Python 2 because string
to int comparisons are valid there but it was a latent bug.
See https://github.com/Pylons/pyramid_mailer/pull/68

0.14

-----------------

- Added support for Python3.4, PyPy3.

- Pull 56: Ensure that ``DebugMailer`` emulates ``Mailer`` by generating
a sender if none is passed.

- Pull 52: Add configuration options for ``mail.sendmail_app`` and
``mail.sendmail_template`` to allow use with non-default sendmail
configurations.

- Pull 50: Add ``pyramid_mailer.debug`` shorthand: via one line in
``development.ini``, enables writing emails to a file instead of sending
them.

0.13

-----------------

- Pull 45: Default transfer encoding for mail messages is now
'quoted-printable'.

0.12

-----------------

- Pull 35: aadded support for sendmail binary via repoze.sendmail >= 4.0b2.

- Remove "all_parts" and "attach_all_parts" from MailResponse object (unused by
pyramid_mailer).

- The Attachment class no longer supports reading data from the a file based on
the ``filename`` it is passed. Instead, use the filename argument only as
something that should go in the Content-Disposition header, and pass a
filelike object as ``data``.

- Major code overhaul: nonascii attachment sending now actually works, most of
the code stolen from Lamson was gutted and replaced.

- Requires repoze.sendmail >= 4.1

Page 1 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.