ftw.mail


Nameftw.mail JSON
Version 2.8.0 PyPI version JSON
download
home_pagehttps://github.com/4teamwork/ftw.mail
SummaryProvides a mail content type and a mail-in behavior
upload_time2024-01-03 08:38:35
maintainer
docs_urlNone
author4teamwork AG
requires_python
licenseGPL2
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            Introduction
============

``ftw.mail`` provides a dexterity based mail contenttype which allows you to
upload emails to your Plone site.
This includes extracting of important data of the email, like:

- Attachments
- Mail header
- Body text
- Unwrap attached emails (msg).


Mail-Inbound functionality
==========================

The major feature of ``ftw.mail`` is the inbound mail functionality.
Mail inbound allows you to send emails directly to your Plone site.
An email sent to Plone will be extracted and created as mail contenttype
automatically.

**Security**

1. There must be a registered user with the sender email address
2. The user must have enough permissions to add a mail object in the folder
3. The email will be created with the security context of the sender

**What is the email address?**

The localpart of the email address is a unique identifier that
identifies the respective folderish object. The default implementations
uses the object's UUID. The mail-in address will automatically shown in a
viewlet if `ftw.mail.mail` content type is addable.


Installing
==========

- Add ``ftw.mail`` to your buildout configuration:

::

    [instance]
    eggs +=
        ftw.mail

- Install the generic setup import profile.


**Enable Mail-Inbound Feature**

Install the `mta2plone.py <https://github.com/4teamwork/ftw.mail/blob/master/ftw/mail/mta2plone.py>`_
script somewhere in the PATH of your server.
Make sure mta2plone.py is executable (`chmod +x mta2plone.py`).

Example Postfix configuration in `/etc/postfix/virtual`::

    inbound.example.org anything
    @inbound.example.org inbound-example


Example `/etc/aliases`::

    inbound-example: "|/path/to/mta2plone.py http://127.0.0.1:8080/Plone/mail-inbound"


Remember to run the ``newaliases`` command (as root) after you update /etc/aliases in order for Postfix to pick up the changes.


For local testing it is also possible to start the `mta2plone.py`
in a console and paste the raw mail to `STDIN`:

.. code:: bash

    ./mta2plone.py http://127.0.0.1:8080/Plone/mail-inbound recipient-email

(Since the `mta2plone.py` script will read from STDIN, you'll need to send an EOF using CTRL-D after you pases the mail contents.)


Compatibility
-------------

Runs with `Plone <http://www.plone.org/>`_ `4.3`.


Links
=====

- Github: https://github.com/4teamwork/ftw.mail
- Issues: https://github.com/4teamwork/ftw.mail/issues
- Pypi: http://pypi.python.org/pypi/ftw.mail
- Continuous integration: https://jenkins.4teamwork.ch/search?q=ftw.mail


Copyright
=========

This package is copyright by `4teamwork <http://www.4teamwork.ch/>`_.

``ftw.mail`` is licensed under GNU General Public License, version 2.

Changelog
=========


2.8.0 (2024-01-03)
------------------

- Remove dependency on deprecated plone.directives.form. [buchi]


2.7.7 (2023-04-04)
------------------

- Fix unicode decode error in mail attachment filename extraction. [njohner]


2.7.6 (2023-03-30)
------------------

- Further improve attachment filename extraction. [njohner]


2.7.5 (2023-01-31)
------------------

- Handle more cases of cropped attachment filenames. [lgraf]


2.7.4 (2022-11-15)
------------------

- Handle cropped filenames of attachments. [phgross]


2.7.3 (2021-10-22)
------------------

- Make title extraction from mail subject more decondig error-tolerant. [phgross]


2.7.2 (2021-07-27)
------------------

- Fix download of mail attached to mail. [njohner]
- Use mail subject as filename for eml attachments with missing filename. [njohner]


2.7.1 (2021-07-07)
------------------

- Handle missing filename for EML attachments. [njohner]


2.7.0 (2020-06-09)
------------------

- Add special handling for signed/multipart message attachments. [deiferni]


2.6.2 (2020-06-08)
------------------

- Improve header decoding when encoded words are not separated by whitespace. [mbaechtold]


2.6.1 (2019-07-08)
------------------

- Fix upgrade when uninitialized header chaches are present. [deiferni]


2.6.0 (2019-03-22)
------------------

- Drop support for Plone 4.2. [lgraf]
- Log common errors in inbound mail view. [lgraf]


2.5.5 (2018-09-21)
------------------

- Recurse the sizes of nested multipart attachments. [Rotonen]


2.5.4 (2017-11-24)
------------------

- Fix treatment of invalid mail dates [njohner]


2.5.3 (2017-11-23)
------------------

- Fix sorting on dates for E-mails [njohner]


2.5.2 (2017-07-11)
------------------

- Cleanup: Revert LWSP regex and move changes from v2.5.1 into
  a separate regex since they solve different issues.


2.5.1 (2017-05-23)
------------------

- Remove newlines from headers, even inside encoded words.
  decode_header from the email module splits the header before parsing
  which breaks up encoded words and prevents them from being decoded.
  https://github.com/python/cpython/blob/2.7/Lib/email/header.py#L78
  [lknoepfel]


2.5.0 (2017-05-22)
------------------

- Move functionality to create mailed-in mails to an adapter to allow
  easier customization. [deiferni]


2.4.1 (2017-05-22)
------------------

- Fix setting defaults for choices with named vocabularies on inbound mails.
  [phgross]


2.4.0 (2016-07-19)
------------------

- Mark inbound request with a marker interface.
  [phgross]

- Drop Plone 4.1 support.
  [phgross]

- Fix German and French FTI title of "ftw.mail.mail".
  [mbaechtold]


2.3.7 (2015-09-08)
------------------

- Fix broken <meta /> tags in text/html MIME parts.
  [lgraf]


2.3.6 (2015-09-02)
------------------

- Sort Mailtab so the newest Mail is the first Item.
  [tschanzt]


2.3.5 (2015-08-20)
------------------

- Make upgrade step to fix `message.contentType` more defensive to avoid
  trouble during upgrades caused by caching weirdness.
  [lgraf]


2.3.4 (2015-08-19)
------------------

- Make sure message.contentType is stored as `str`, not `unicode`. Otherwise
  this will result in "Wrong contained type" when trying to save the object
  again. Includes Upgrade-Step to fix existing objects.
  [lgraf]


2.3.3 (2015-08-03)
------------------

- get_header(): Fix up RFC 2047 encoded words separated by 'CRLF LWSP'
  (which is fine according to the RFC) by replacing the CRLF with a
  SPACE so decode_header can parse them correctly.
  This works around a bug in decode_header that has been fixed in 3.3.
  See http://bugs.python.org/issue4491 and its duplicate.
  [lgraf]


2.3.2 (2015-06-30)
------------------

- Make RegEx for Apple Partial Encoding regex more specific so we don't
  accidentally remove quotes around header parts that need them.
  [lgraf]

- Added test for zip export.
  [lknoepfel]


2.3.1 (2015-03-12)
------------------

- Refactor mail view to include all HTML parts.
  [jone]


2.3.0 (2015-03-02)
------------------

- Enable referencablebehavior for mails.
  [jone]


2.2.3 (2014-10-24)
------------------

- Parse <style> tags inside the mail using the `premailer` transform.
  [phgross]

- Made mail view XSS-save using the safe-html transform for the mail-body display.
  [phgross]

- Fix an issue while generating links to image-attachments in mails.
  [deiferni]


2.2.2 (2014-08-28)
------------------

- SearchableTextExtender: For mails with incorrectly declared charset,
  try decoding them as latin1 as a last resort, ignoring all errors.
  [lgraf]

- SearchableTextExtender: Don't just decode the Content-Transfer-Encoding,
  but also decode the actual content itself with the declared charset.
  [lgraf]


2.2.1 (2014-05-30)
------------------

- Fix brown bag upgrade step from 2.2.0.
  [jone]


2.2.0 (2014-05-28)
------------------

- Performance improvements:

  - Store the title from the mail subject on the object, so that
    we don't have to read the message for retreiving the title on access.
  - Cache attachment infos on mail object.
  - Cache headers for tabbed view.

  [jone]

- Make sure only a *default* value will be set for IMailSettings.mail_domain,
  but an existing value won't be overwritten when running the upgrade step twice.
  [lgraf]


2.1.1 (2014-05-12)
------------------

- Inbound view: Adapt container as the context instead of content when
  looking up default value adapter.
  [lgraf]

- Inbound view: Remove AQ wrapper when setting default values for newly
  created objects, in order to not get bogus results (due to acquisition)
  when checking whether a field is already present on the object.
  [lgraf]

- Fix From-/To-/Cc-Header encoding problem with Apple Mail.
  [jone]

- Made primary field also for dexterity-1 installations working.
  [phgross]

- Added French translation by I. Anthenien.
  [lknoepfel]

2.1.0 (2014-03-28)
------------------

- Remove "validate_sender" configuration setting.
  We always require the sender to be valid.
  [jone]

- Refactor inbound view so that customization and error-handling
  is easier possible.
  [jone]

- Improve searchable text to index attachments recursively.
  [jone]

- Added registry entry 'mail_domain' in upgrade step to 2000.
  [lknoepfel]

- Fix tests for Plone 4.1.x - 4.2.x by using a compatible ftw.workspace
  version.
  [mathias.leimgruber]


2.0 (2013-10-21)
----------------

- Make mail tab date parsing robust.
  [jone]

- Disable sorting in mail tab for header information columns.
  Sorting header informations does currently not work because
  the information is not in the catalog.
  When doing it outside the catalog we could run into performance
  issues when we have many mails, therefore we disable it for now.
  [jone]

- Use plone default classes for table styling.
  [Julian Infanger]

- Fixed response content-type in inbound view.
  [lknoepfel]

- Revoke "ftw.mail: Add Mail" permission.
  This permission makes the "mail" type show up in the add menu.
  Only admins (Manager) should be able to add new mails through the
  add menu, the normal use case is sending the mails via inbound.
  Also change the lawgiver hint to ingnore this permission.
  [jone]

- Add ftw.lawgiver support.
  [mathias.leimgruber]

- Add mail tab for ftw.workspace.
  [mathias.leimgruber]

- Implement mail-in as viewlet.
  [mathias.leimgruber]

- Add readme.
  [mathias.leimgruber]

- Add IEmailAddress adapter, so it's easy to change the behavior of generating
  the email address of a destination and getting the destination of a given
  email address.(Dropped the destination resolver)
  [mathias.leimgruber]

- Add uuid support and drop intid.
  [mathias.leimgruber]

- Use view.pt for mail content type's default view.
  [mathias.leimgruber]

- Ungrock the package.
  [mathias.leimgruber]

- Fix test setup for plone 4.3 and intid.
  [mathias.leimgruber]

- Add plone 4.3.x tests cfg and development.cfg.
  [mathias.leimgruber]


1.0.4 (2012-09-12)
------------------

- Set default values on all fields in the inbound mail creation.
  Issue #222 Metadaten Standort und Sprache
  https://extranet.4teamwork.ch/support/ph-vs/tracker/222/
  [philippegross]


1.0.3 (2012-06-18)
------------------

- Fixed BeautifulSoup related encoding bug when unwrapping html body.
  [lgraf]

- Fix filename encoding handling.
  [jone]


1.0.2 (2012-03-28)
------------------

- Inbound mail: Get recipient from env variable set by MTA, not from To header.
  This allows for mails with multiple recipients in the To header, and the
  Plone destination address doesn't need to be listed first anymore.
  Issue #1312 Fehler E-Mail mit mehreren Adressaten
  https://extranet.4teamwork.ch/projects/opengever-kanton-zug/sprint-backlog/1312/
  [lgraf]

- Make intids work in tests (register IIntIds utility explicitely)
  [lgraf]


1.0.1 (2012-02-24)
------------------

- Added some French translations
  [ttschanz]

1.0 (2011-11-17)
----------------

- Fixed msg getter, it works now also with mails without a subject.
  [phgross]


1.0a11 (2011-10-04)
-------------------

- Fixing long subject headers separated by \n\t before creating email.message
  object.
  [lgraf]

- Added test to test mail creation with weird characters in subject.
  [lgraf]

- Normalizing subject before using it as an ID to create a mail object.
  [lgraf]

- Changed default encoding to 'utf-8' for the safe_utf8 method.
  Should fix decoding problem in mail subjects.
  Issue #1209 Falsche Umlaute bei importierten Mails
  https://extranet.4teamwork.ch/projects/opengever-kanton-zug/sprint-backlog/1209
  [phgross]

1.0a10 (2011-09-27)
-------------------

- changed fallback encoding in the get_payload method for msg objects
  without a correct charset information. So we could fix display errors in mails
  with non-ascii characters in the mail body.
  [phgross]

- changed deprecated grok.CodeView to grok.View
  [eschmutz]

- added test-buildout for plone 4.1
  [eschmutz]


1.0a9 (2011-08-24)
------------------

- Fix tests
  [eschmutz]

- Implements Blob support, use now NamedBlobFiles instead of NamedFiles
  [phgross]

- Issue #1134 Test Gelb 2.0.3: Nicht korrekte Dateiendung beim Extrahieren eines Dokuments mit Umlaut aus Mail
  https://extranet.4teamwork.ch/projects/opengever-kanton-zug/sprint-backlog/1134/
  added fallback in the get_filename method for allready decoded filenames tuple
  [phgross]


1.0a8
-----

- Fixed message value creation: filename must be in unicode, that it
  works with the new plone.namedfile 1.0.3
  [phgross]

- Added dummy setter for `title` property so it doesn't fail with an AttributeError
  when trying to set the title of a ftw.mail.mail object.
  [lgraf]

- Added missing dependency on collective.dexteritytextindexer in setup.py
  [lgraf]

- Pinned zope.component=3.8.0 in test-plone-4.0.x.cfg to resolve version conflict
  [lgraf]


1.0a7
-----

- Added DynamicTextIndexExtender to add message body to searchableText
  [lgraf]


1.0a6
-----

- Changed minor typo in German translation.
  [phabegger]


1.0a5
-----

- According to rfc 2047, multiple encoded words are seperated by space: fixed tests.
  [jbaumann]

- Created safe_decode_header util function, which handles the encoding
  properly for get_filenames according to rfc 2047.
  This solves a test issue.
  [jbaumann]

- Added support for nested multipart emails where the attachment is within another part
  of the message.
  [jbaumann]


1.0a4
-----


1.0a3
-----

- Removed `save_attachments`: moved to `opengever.mail` since its opengever specific
  [02.11.2010, jbaumann]

- Added `remove_attachments` method
  [01.11.2010, jbaumann]

- Added test for filename encoding problem. Test still fails...
  [Thomas Buchberger]

- Moved unwrapping of attached messages into utility method. Added test.
  [Thomas Buchberger]

- Correctly restore current SecurityManger after mail creation.
  [Thomas Buchberger]

- Added tests for unknown sender
  [Thomas Buchberger]


1.0a2
-----


1.0
---

- Initial release

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/4teamwork/ftw.mail",
    "name": "ftw.mail",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "",
    "author": "4teamwork AG",
    "author_email": "mailto:info@4teamwork.ch",
    "download_url": "https://files.pythonhosted.org/packages/b3/b1/1d814c00d5e8a9bf2de78fcdfa939c363d43f186f5172f2b3facec06f64a/ftw.mail-2.8.0.tar.gz",
    "platform": null,
    "description": "Introduction\n============\n\n``ftw.mail`` provides a dexterity based mail contenttype which allows you to\nupload emails to your Plone site.\nThis includes extracting of important data of the email, like:\n\n- Attachments\n- Mail header\n- Body text\n- Unwrap attached emails (msg).\n\n\nMail-Inbound functionality\n==========================\n\nThe major feature of ``ftw.mail`` is the inbound mail functionality.\nMail inbound allows you to send emails directly to your Plone site.\nAn email sent to Plone will be extracted and created as mail contenttype\nautomatically.\n\n**Security**\n\n1. There must be a registered user with the sender email address\n2. The user must have enough permissions to add a mail object in the folder\n3. The email will be created with the security context of the sender\n\n**What is the email address?**\n\nThe localpart of the email address is a unique identifier that\nidentifies the respective folderish object. The default implementations\nuses the object's UUID. The mail-in address will automatically shown in a\nviewlet if `ftw.mail.mail` content type is addable.\n\n\nInstalling\n==========\n\n- Add ``ftw.mail`` to your buildout configuration:\n\n::\n\n    [instance]\n    eggs +=\n        ftw.mail\n\n- Install the generic setup import profile.\n\n\n**Enable Mail-Inbound Feature**\n\nInstall the `mta2plone.py <https://github.com/4teamwork/ftw.mail/blob/master/ftw/mail/mta2plone.py>`_\nscript somewhere in the PATH of your server.\nMake sure mta2plone.py is executable (`chmod +x mta2plone.py`).\n\nExample Postfix configuration in `/etc/postfix/virtual`::\n\n    inbound.example.org anything\n    @inbound.example.org inbound-example\n\n\nExample `/etc/aliases`::\n\n    inbound-example: \"|/path/to/mta2plone.py http://127.0.0.1:8080/Plone/mail-inbound\"\n\n\nRemember to run the ``newaliases`` command (as root) after you update /etc/aliases in order for Postfix to pick up the changes.\n\n\nFor local testing it is also possible to start the `mta2plone.py`\nin a console and paste the raw mail to `STDIN`:\n\n.. code:: bash\n\n    ./mta2plone.py http://127.0.0.1:8080/Plone/mail-inbound recipient-email\n\n(Since the `mta2plone.py` script will read from STDIN, you'll need to send an EOF using CTRL-D after you pases the mail contents.)\n\n\nCompatibility\n-------------\n\nRuns with `Plone <http://www.plone.org/>`_ `4.3`.\n\n\nLinks\n=====\n\n- Github: https://github.com/4teamwork/ftw.mail\n- Issues: https://github.com/4teamwork/ftw.mail/issues\n- Pypi: http://pypi.python.org/pypi/ftw.mail\n- Continuous integration: https://jenkins.4teamwork.ch/search?q=ftw.mail\n\n\nCopyright\n=========\n\nThis package is copyright by `4teamwork <http://www.4teamwork.ch/>`_.\n\n``ftw.mail`` is licensed under GNU General Public License, version 2.\n\nChangelog\n=========\n\n\n2.8.0 (2024-01-03)\n------------------\n\n- Remove dependency on deprecated plone.directives.form. [buchi]\n\n\n2.7.7 (2023-04-04)\n------------------\n\n- Fix unicode decode error in mail attachment filename extraction. [njohner]\n\n\n2.7.6 (2023-03-30)\n------------------\n\n- Further improve attachment filename extraction. [njohner]\n\n\n2.7.5 (2023-01-31)\n------------------\n\n- Handle more cases of cropped attachment filenames. [lgraf]\n\n\n2.7.4 (2022-11-15)\n------------------\n\n- Handle cropped filenames of attachments. [phgross]\n\n\n2.7.3 (2021-10-22)\n------------------\n\n- Make title extraction from mail subject more decondig error-tolerant. [phgross]\n\n\n2.7.2 (2021-07-27)\n------------------\n\n- Fix download of mail attached to mail. [njohner]\n- Use mail subject as filename for eml attachments with missing filename. [njohner]\n\n\n2.7.1 (2021-07-07)\n------------------\n\n- Handle missing filename for EML attachments. [njohner]\n\n\n2.7.0 (2020-06-09)\n------------------\n\n- Add special handling for signed/multipart message attachments. [deiferni]\n\n\n2.6.2 (2020-06-08)\n------------------\n\n- Improve header decoding when encoded words are not separated by whitespace. [mbaechtold]\n\n\n2.6.1 (2019-07-08)\n------------------\n\n- Fix upgrade when uninitialized header chaches are present. [deiferni]\n\n\n2.6.0 (2019-03-22)\n------------------\n\n- Drop support for Plone 4.2. [lgraf]\n- Log common errors in inbound mail view. [lgraf]\n\n\n2.5.5 (2018-09-21)\n------------------\n\n- Recurse the sizes of nested multipart attachments. [Rotonen]\n\n\n2.5.4 (2017-11-24)\n------------------\n\n- Fix treatment of invalid mail dates [njohner]\n\n\n2.5.3 (2017-11-23)\n------------------\n\n- Fix sorting on dates for E-mails [njohner]\n\n\n2.5.2 (2017-07-11)\n------------------\n\n- Cleanup: Revert LWSP regex and move changes from v2.5.1 into\n  a separate regex since they solve different issues.\n\n\n2.5.1 (2017-05-23)\n------------------\n\n- Remove newlines from headers, even inside encoded words.\n  decode_header from the email module splits the header before parsing\n  which breaks up encoded words and prevents them from being decoded.\n  https://github.com/python/cpython/blob/2.7/Lib/email/header.py#L78\n  [lknoepfel]\n\n\n2.5.0 (2017-05-22)\n------------------\n\n- Move functionality to create mailed-in mails to an adapter to allow\n  easier customization. [deiferni]\n\n\n2.4.1 (2017-05-22)\n------------------\n\n- Fix setting defaults for choices with named vocabularies on inbound mails.\n  [phgross]\n\n\n2.4.0 (2016-07-19)\n------------------\n\n- Mark inbound request with a marker interface.\n  [phgross]\n\n- Drop Plone 4.1 support.\n  [phgross]\n\n- Fix German and French FTI title of \"ftw.mail.mail\".\n  [mbaechtold]\n\n\n2.3.7 (2015-09-08)\n------------------\n\n- Fix broken <meta /> tags in text/html MIME parts.\n  [lgraf]\n\n\n2.3.6 (2015-09-02)\n------------------\n\n- Sort Mailtab so the newest Mail is the first Item.\n  [tschanzt]\n\n\n2.3.5 (2015-08-20)\n------------------\n\n- Make upgrade step to fix `message.contentType` more defensive to avoid\n  trouble during upgrades caused by caching weirdness.\n  [lgraf]\n\n\n2.3.4 (2015-08-19)\n------------------\n\n- Make sure message.contentType is stored as `str`, not `unicode`. Otherwise\n  this will result in \"Wrong contained type\" when trying to save the object\n  again. Includes Upgrade-Step to fix existing objects.\n  [lgraf]\n\n\n2.3.3 (2015-08-03)\n------------------\n\n- get_header(): Fix up RFC 2047 encoded words separated by 'CRLF LWSP'\n  (which is fine according to the RFC) by replacing the CRLF with a\n  SPACE so decode_header can parse them correctly.\n  This works around a bug in decode_header that has been fixed in 3.3.\n  See http://bugs.python.org/issue4491 and its duplicate.\n  [lgraf]\n\n\n2.3.2 (2015-06-30)\n------------------\n\n- Make RegEx for Apple Partial Encoding regex more specific so we don't\n  accidentally remove quotes around header parts that need them.\n  [lgraf]\n\n- Added test for zip export.\n  [lknoepfel]\n\n\n2.3.1 (2015-03-12)\n------------------\n\n- Refactor mail view to include all HTML parts.\n  [jone]\n\n\n2.3.0 (2015-03-02)\n------------------\n\n- Enable referencablebehavior for mails.\n  [jone]\n\n\n2.2.3 (2014-10-24)\n------------------\n\n- Parse <style> tags inside the mail using the `premailer` transform.\n  [phgross]\n\n- Made mail view XSS-save using the safe-html transform for the mail-body display.\n  [phgross]\n\n- Fix an issue while generating links to image-attachments in mails.\n  [deiferni]\n\n\n2.2.2 (2014-08-28)\n------------------\n\n- SearchableTextExtender: For mails with incorrectly declared charset,\n  try decoding them as latin1 as a last resort, ignoring all errors.\n  [lgraf]\n\n- SearchableTextExtender: Don't just decode the Content-Transfer-Encoding,\n  but also decode the actual content itself with the declared charset.\n  [lgraf]\n\n\n2.2.1 (2014-05-30)\n------------------\n\n- Fix brown bag upgrade step from 2.2.0.\n  [jone]\n\n\n2.2.0 (2014-05-28)\n------------------\n\n- Performance improvements:\n\n  - Store the title from the mail subject on the object, so that\n    we don't have to read the message for retreiving the title on access.\n  - Cache attachment infos on mail object.\n  - Cache headers for tabbed view.\n\n  [jone]\n\n- Make sure only a *default* value will be set for IMailSettings.mail_domain,\n  but an existing value won't be overwritten when running the upgrade step twice.\n  [lgraf]\n\n\n2.1.1 (2014-05-12)\n------------------\n\n- Inbound view: Adapt container as the context instead of content when\n  looking up default value adapter.\n  [lgraf]\n\n- Inbound view: Remove AQ wrapper when setting default values for newly\n  created objects, in order to not get bogus results (due to acquisition)\n  when checking whether a field is already present on the object.\n  [lgraf]\n\n- Fix From-/To-/Cc-Header encoding problem with Apple Mail.\n  [jone]\n\n- Made primary field also for dexterity-1 installations working.\n  [phgross]\n\n- Added French translation by I. Anthenien.\n  [lknoepfel]\n\n2.1.0 (2014-03-28)\n------------------\n\n- Remove \"validate_sender\" configuration setting.\n  We always require the sender to be valid.\n  [jone]\n\n- Refactor inbound view so that customization and error-handling\n  is easier possible.\n  [jone]\n\n- Improve searchable text to index attachments recursively.\n  [jone]\n\n- Added registry entry 'mail_domain' in upgrade step to 2000.\n  [lknoepfel]\n\n- Fix tests for Plone 4.1.x - 4.2.x by using a compatible ftw.workspace\n  version.\n  [mathias.leimgruber]\n\n\n2.0 (2013-10-21)\n----------------\n\n- Make mail tab date parsing robust.\n  [jone]\n\n- Disable sorting in mail tab for header information columns.\n  Sorting header informations does currently not work because\n  the information is not in the catalog.\n  When doing it outside the catalog we could run into performance\n  issues when we have many mails, therefore we disable it for now.\n  [jone]\n\n- Use plone default classes for table styling.\n  [Julian Infanger]\n\n- Fixed response content-type in inbound view.\n  [lknoepfel]\n\n- Revoke \"ftw.mail: Add Mail\" permission.\n  This permission makes the \"mail\" type show up in the add menu.\n  Only admins (Manager) should be able to add new mails through the\n  add menu, the normal use case is sending the mails via inbound.\n  Also change the lawgiver hint to ingnore this permission.\n  [jone]\n\n- Add ftw.lawgiver support.\n  [mathias.leimgruber]\n\n- Add mail tab for ftw.workspace.\n  [mathias.leimgruber]\n\n- Implement mail-in as viewlet.\n  [mathias.leimgruber]\n\n- Add readme.\n  [mathias.leimgruber]\n\n- Add IEmailAddress adapter, so it's easy to change the behavior of generating\n  the email address of a destination and getting the destination of a given\n  email address.(Dropped the destination resolver)\n  [mathias.leimgruber]\n\n- Add uuid support and drop intid.\n  [mathias.leimgruber]\n\n- Use view.pt for mail content type's default view.\n  [mathias.leimgruber]\n\n- Ungrock the package.\n  [mathias.leimgruber]\n\n- Fix test setup for plone 4.3 and intid.\n  [mathias.leimgruber]\n\n- Add plone 4.3.x tests cfg and development.cfg.\n  [mathias.leimgruber]\n\n\n1.0.4 (2012-09-12)\n------------------\n\n- Set default values on all fields in the inbound mail creation.\n  Issue #222 Metadaten Standort und Sprache\n  https://extranet.4teamwork.ch/support/ph-vs/tracker/222/\n  [philippegross]\n\n\n1.0.3 (2012-06-18)\n------------------\n\n- Fixed BeautifulSoup related encoding bug when unwrapping html body.\n  [lgraf]\n\n- Fix filename encoding handling.\n  [jone]\n\n\n1.0.2 (2012-03-28)\n------------------\n\n- Inbound mail: Get recipient from env variable set by MTA, not from To header.\n  This allows for mails with multiple recipients in the To header, and the\n  Plone destination address doesn't need to be listed first anymore.\n  Issue #1312 Fehler E-Mail mit mehreren Adressaten\n  https://extranet.4teamwork.ch/projects/opengever-kanton-zug/sprint-backlog/1312/\n  [lgraf]\n\n- Make intids work in tests (register IIntIds utility explicitely)\n  [lgraf]\n\n\n1.0.1 (2012-02-24)\n------------------\n\n- Added some French translations\n  [ttschanz]\n\n1.0 (2011-11-17)\n----------------\n\n- Fixed msg getter, it works now also with mails without a subject.\n  [phgross]\n\n\n1.0a11 (2011-10-04)\n-------------------\n\n- Fixing long subject headers separated by \\n\\t before creating email.message\n  object.\n  [lgraf]\n\n- Added test to test mail creation with weird characters in subject.\n  [lgraf]\n\n- Normalizing subject before using it as an ID to create a mail object.\n  [lgraf]\n\n- Changed default encoding to 'utf-8' for the safe_utf8 method.\n  Should fix decoding problem in mail subjects.\n  Issue #1209 Falsche Umlaute bei importierten Mails\n  https://extranet.4teamwork.ch/projects/opengever-kanton-zug/sprint-backlog/1209\n  [phgross]\n\n1.0a10 (2011-09-27)\n-------------------\n\n- changed fallback encoding in the get_payload method for msg objects\n  without a correct charset information. So we could fix display errors in mails\n  with non-ascii characters in the mail body.\n  [phgross]\n\n- changed deprecated grok.CodeView to grok.View\n  [eschmutz]\n\n- added test-buildout for plone 4.1\n  [eschmutz]\n\n\n1.0a9 (2011-08-24)\n------------------\n\n- Fix tests\n  [eschmutz]\n\n- Implements Blob support, use now NamedBlobFiles instead of NamedFiles\n  [phgross]\n\n- Issue #1134 Test Gelb 2.0.3: Nicht korrekte Dateiendung beim Extrahieren eines Dokuments mit Umlaut aus Mail\n  https://extranet.4teamwork.ch/projects/opengever-kanton-zug/sprint-backlog/1134/\n  added fallback in the get_filename method for allready decoded filenames tuple\n  [phgross]\n\n\n1.0a8\n-----\n\n- Fixed message value creation: filename must be in unicode, that it\n  works with the new plone.namedfile 1.0.3\n  [phgross]\n\n- Added dummy setter for `title` property so it doesn't fail with an AttributeError\n  when trying to set the title of a ftw.mail.mail object.\n  [lgraf]\n\n- Added missing dependency on collective.dexteritytextindexer in setup.py\n  [lgraf]\n\n- Pinned zope.component=3.8.0 in test-plone-4.0.x.cfg to resolve version conflict\n  [lgraf]\n\n\n1.0a7\n-----\n\n- Added DynamicTextIndexExtender to add message body to searchableText\n  [lgraf]\n\n\n1.0a6\n-----\n\n- Changed minor typo in German translation.\n  [phabegger]\n\n\n1.0a5\n-----\n\n- According to rfc 2047, multiple encoded words are seperated by space: fixed tests.\n  [jbaumann]\n\n- Created safe_decode_header util function, which handles the encoding\n  properly for get_filenames according to rfc 2047.\n  This solves a test issue.\n  [jbaumann]\n\n- Added support for nested multipart emails where the attachment is within another part\n  of the message.\n  [jbaumann]\n\n\n1.0a4\n-----\n\n\n1.0a3\n-----\n\n- Removed `save_attachments`: moved to `opengever.mail` since its opengever specific\n  [02.11.2010, jbaumann]\n\n- Added `remove_attachments` method\n  [01.11.2010, jbaumann]\n\n- Added test for filename encoding problem. Test still fails...\n  [Thomas Buchberger]\n\n- Moved unwrapping of attached messages into utility method. Added test.\n  [Thomas Buchberger]\n\n- Correctly restore current SecurityManger after mail creation.\n  [Thomas Buchberger]\n\n- Added tests for unknown sender\n  [Thomas Buchberger]\n\n\n1.0a2\n-----\n\n\n1.0\n---\n\n- Initial release\n",
    "bugtrack_url": null,
    "license": "GPL2",
    "summary": "Provides a mail content type and a mail-in behavior",
    "version": "2.8.0",
    "project_urls": {
        "Homepage": "https://github.com/4teamwork/ftw.mail"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "b3b11d814c00d5e8a9bf2de78fcdfa939c363d43f186f5172f2b3facec06f64a",
                "md5": "424d01fc4d59617dae38549562f69805",
                "sha256": "4f8d28fbf517d2278266fa8f85f5c03c790de6fe108de3134dae443fa65e907f"
            },
            "downloads": -1,
            "filename": "ftw.mail-2.8.0.tar.gz",
            "has_sig": false,
            "md5_digest": "424d01fc4d59617dae38549562f69805",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 650761,
            "upload_time": "2024-01-03T08:38:35",
            "upload_time_iso_8601": "2024-01-03T08:38:35.714446Z",
            "url": "https://files.pythonhosted.org/packages/b3/b1/1d814c00d5e8a9bf2de78fcdfa939c363d43f186f5172f2b3facec06f64a/ftw.mail-2.8.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-01-03 08:38:35",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "4teamwork",
    "github_project": "ftw.mail",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "ftw.mail"
}
        
Elapsed time: 0.15709s