- Bring repo up to Pylons Project standards. See #89
- Optionally include bcc information on send. See #87
- Add the new
.bind
method to theDebugMailer
and theDummyMailer
. Alsopyramid_mailer.testing
andpyramid_mailer.debug
now add therequest.mailer
request attribute. #83
- Support '7bit' and '8bit' transfer-encoding. #49
- If
username
andpassword
are both set to the empty string,Mailer.from_settings
, now interprets them as being set toNone
. Previously, setting them to the empty string caused SMTP authentication to be force with empty username and password. #70 - Add a
content_id
argument to theAttachment
constructor which allows you to set the Content-ID header so you can reference it from an HTML body. #71 - Change file extension to
.eml
for mails saved fromDebugMailer
..eml
is the standard file format for storing plaintext MIME (rfc822) emails. #72 - Drop Python 2.6 and 3.2 support. #77
- Add Python 3.5 support.
- Support per-request transaction managers if available via
request.tm
set bypyramid_tm
. #78
- 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 anint
. This did not show up on Python 2 because string to int comparisons are valid there but it was a latent bug. See #68
- Added support for Python3.4, PyPy3.
- Ensure that
DebugMailer
emulatesMailer
by generating a sender if none is passed. #56 - Add configuration options for
mail.sendmail_app
andmail.sendmail_template
to allow use with non-default sendmail configurations. #52 - Add
pyramid_mailer.debug
shorthand: via one line indevelopment.ini
, enables writing emails to a file instead of sending them. #50
- Default transfer encoding for mail messages is now 'quoted-printable'. #45
- Added support for sendmail binary via repoze.sendmail >= 4.0b2. #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 asdata
. - 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
- Allow setting Content-Transfer-Encoding for body and html via Attachments. #29
- Fix handling of messages with both HTML and plain text bodies that also have attachments. #32
- ensure that
pyramid_mailer.response.to_message
returns text under Python 3.x. #24 - Dropped support for Python 2.5.
- Set default transfer encoding for attachments to
base64
and allow an optionaltransfer_encoding
argument for attachments. This currently supportsbase64
orquoted-printable
. - Properly handle
Mailer.from_settings
boolean options includingtls
andssl
. - Support
setup.py dev
(installs testing dependencies). - Use
setup.py dev
in tox.ini.
- Add a test for uncode encoding in multipart messages.
- Depend on
repoze.sendmail
>= 3.2 (fixes unicode multipart message encoding).
- Work around a Python 3.2.0 bug in handling emails with empty headers. This allows cc-only and bcc-only emails to be handled properly on all platforms (no recipient= required anymore). See #14.
- Packaging release
- 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 #14
- 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 #10
- Fixed a bug where the mailer was only sending email to addresses in the "TO" field.
- Drop Lamson dependency by copying Lamson's MailResponse and dependent code
into
pyramid_mailer.response
.
pyramid_mailer.includeme
function added forconfig.include('pyramid_mailer')
supportpyramid_mailer.testing
module added forconfig.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 forsetup.py nosetests --with-coverage
.