Change History

unreleased

0.15.1 (2016-12-13)

0.15 (2016-12-06)

0.14.1 (2015-05-21)

  • 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 (2014-12-10)

0.13 (2013-07-13)

0.12 (2013-06-26)

  • Added support for sendmail binary via repoze.sendmail >= 4.0b2. https://github.com/Pylons/pyramid_mailer/pull/35
  • 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

0.11 (2013-03-28)

0.10 (2012-11-22)

  • Set default transfer encoding for attachments to base64 and allow an optional transfer_encoding argument for attachments. This currently supports base64 or quoted-printable.
  • Properly handle Mailer.from_settings boolean options including tls and ssl.
  • Support setup.py dev (installs testing dependencies).
  • Use setup.py dev in tox.ini.

0.9 (2012-05-03)

  • Add a test for uncode encoding in multipart messages.
  • Depend on repoze.sendmail >= 3.2 (fixes unicode multipart message encoding).

0.8 (2012-03-26)

0.7 (2012-03-26)

  • Packaging release

0.7dev (2012-03-20)

  • Python 2.5, 2.6, 2.7, 3.2, and pypy compatibility.
  • Remove explicit Jython support. It may work, but we no longer test it using automated testing.
  • Requires repoze.sendmail 3.0+.
  • More descriptive exception raised when attempting to send cc-only or bcc-only messages. See https://github.com/Pylons/pyramid_mailer/issues/14

0.6 (2012-01-22)

  • Use ',' as an email header field separator rather than ';' when multiple values are in the same header (as per RFC822).
  • Allow lists of recipient emails to be tuples or lists (previously it was just lists).
  • Don't include Bcc header in mail messages (breaks secrecy of BCC). See https://github.com/Pylons/pyramid_mailer/pull/10

0.5.1 (2011-11-13)

  • Fixed a bug where the mailer was only sending email to addresses in the "TO" field.

0.5 (2011-10-24)

  • Drop Lamson dependency by copying Lamson's MailResponse and dependent code into pyramid_mailer.response.

0.4.X

  • pyramid_mailer.includeme function added for config.include('pyramid_mailer') support
  • pyramid_mailer.testing module added for config.include('pyramid_mailer.testing') support.
  • pyramid_mailer.get_mailer API added (see docs).
  • pyramid_mailer.interfaces module readded (with marker IMailer interface for ZCA registration).
  • setup.cfg added with coverage parameters to allow for setup.py nosetests --with-coverage.