Metadata-Version: 1.1
Name: imio.email.dms
Version: 0.14
Summary: Package to read emails and send them to DMS
Home-page: https://pypi.python.org/pypi/imio.email.dms
Author: Laurent Lasudry
Author-email: info@affinitic.be
License: GPL version 2
Description: ==============
        imio.email.dms
        ==============
        
        This package ensures the import of incoming emails into DMS.
        
        
        Features
        --------
        
        1. fetch waiting emails from IMAP mailbox
        2. parse emails (headers, attachments, ...)
        3. generate a PDF email preview
        4. send informations to DMS webservice
        5. mark emails as imported
        
        
        Usage
        -----
        
        To process emails, you can execute ::
        
         bin/process_mails config.ini
        
        See `config.ini` file for various parameters.
        
        
        Release
        -------
        
        On each commit on this repo, Jenkins will create a new Docker image, push it on imio staging registry and restart staging instance.
        On each release (new tag with zest.releaser_) Jenkins copy latest staging image and push it on prod registry
        
        .. _zest.releaser: https://pypi.org/project/zest.releaser/
        
        
        Errors
        ------
        
        In case the importation process fails, the corresponding emails are marked as
        errors and are not taken into account anymore.
        An email notification is sent with the problematic email attached.
        To process them again, you can execute ::
        
         bin/process_mails config.ini --requeue_errors
        
        
        
        Requirements
        ------------
        
        package wkhtmltopdf
        
        
        Contribute
        ----------
        
        - Issue Tracker: https://github.com/collective/imio.email.dms/issues
        - Source Code: https://github.com/collective/imio.email.dms
        
        
        License
        -------
        
        The project is licensed under the GPLv2.
        
        
        Contributors
        ============
        
        - Laurent Lasudry, info@affinitic.be
        - Nicolas Demonté, info@affinitic.be
        - Stéphan Geulette, stephan.geulette@imio.be
        
        
        Changelog
        =========
        
        
        0.14 (2022-04-29)
        -----------------
        
        - Do not mark mail in dev_mode.
          [sgeulette]
        - Handled image save when quality parameter is not compliant
          [sgeulette]
        - Avoided error with x-forward
          [sgeulette]
        
        0.13 (2022-04-19)
        -----------------
        
        - Retried 5 times to upload when webservice has an unknown response
          [sgeulette]
        - Handled UnidentifiedImageError when opening image file to resize
          [sgeulette]
        - Corrected UnicodeEncodeError when sending notification email
          [sgeulette]
        
        0.12 (2022-03-31)
        -----------------
        
        - Used correct recipient for ignored mail
          [sgeulette]
        - Used `smtp.send_message` to consider bcc
          [sgeulette]
        
        0.11 (2022-03-14)
        -----------------
        
        - Corrected false 'inline' disposition attachments.
          [sgeulette]
        - Do not include inline attachments
          [sgeulette]
        - Reduced image attachments
          [sgeulette]
        - Improved `--list_emails` output.
          [sgeulette]
        - Added dev_mode flag
          [sgeulette]
        
        0.10 (2022-02-17)
        -----------------
        
        - Removed newline characters from attachment filename in imio.email.parser.
          [sgeulette]
        
        0.9 (2022-02-17)
        ----------------
        
        - Removed pattern in sent email for ignored error.
          [sgeulette]
        - Corrected badly addresses from email.utils.getAddresses (in imio.email.parser)
          [sgeulette]
        - Upgraded mail-parser
          [sgeulette]
        
        0.8 (2022-01-24)
        ----------------
        
        - Ignored 'ignored' flaged mails when getting waiting emails.
          [sgeulette]
        
        0.7 (2022-01-21)
        ----------------
        
        - Added transferer check following pattern to avoid anyone can push an email in the app.
          [sgeulette]
        
        0.6 (2022-01-13)
        ----------------
        
        - Corrected bug in email2pdf.
          [sgeulette]
        
        0.5 (2022-01-11)
        ----------------
        
        - Added --stats option.
          [sgeulette]
        - Added timeout in email2pdf to avoid wasting time in external image retriever
          [sgeulette]
        
        0.4 (2021-11-24)
        ----------------
        
        - Send email notification after clean_mails.
          [sgeulette]
        - Corrected error in get_eml option. Added `save_as_eml` function.
          [sgeulette]
        - Handled pdf conversion error by sending eml file
          [sgeulette]
        - Set unsupported email in french
          [sgeulette]
        
        0.3 (2021-07-23)
        ----------------
        
        - Avoid exception when decoding in `get_email`
          [sgeulette]
        - Added script to clean old processed emails.
          [sgeulette]
        - Changed --list_emails parameter in main script
          [sgeulette]
        
        0.2 (2021-05-12)
        ----------------
        
        - Used https in requests urls if port is 443.
          [sgeulette]
        
        0.1 (2021-05-12)
        ----------------
        
        - Initial release.
          [laulaz, sgeulette]
        
Keywords: Python
Platform: UNKNOWN
Classifier: Environment :: Web Environment
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Operating System :: OS Independent
Classifier: License :: OSI Approved :: GNU General Public License v2 (GPLv2)
