Metadata-Version: 1.1
Name: imio.email.parser
Version: 0.1
Summary: UNKNOWN
Home-page: https://pypi.org/project/imio.email.parser
Author: Nicolas Demonté
Author-email: support@imio.be
License: GPL
Description: =================
        imio.email.parser
        =================
        
        This package can parse emails and generate a PDF file of their content.
        
        It is mainly used by package `imio.email.dms`.
        
        
        Features
        --------
        
        1. select relevant email messages (e.g. email forwarded as an attachment)
        2. parse emails (headers, attachments, ...)
        3. generate a PDF email preview with email2pdf package
        
        
        Usage
        -----
        
        .. code-block:: python
        
            mail = email.message_from_string(mail_body)
            parser = Parser(mail)
            print(parser.headers)
            print(parser.attachments)
            parser.generate_pdf(pdf_path)
        
        
        Requirements
        ------------
        
        package wkhtmltopdf
        
        
        Contribute
        ----------
        
        - Issue Tracker: https://github.com/IMIO/imio.email.parser/issues
        - Source Code: https://github.com/IMIO/imio.email.parser
        
        
        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.1 (2022-02-17)
        ----------------
        
        - Corrected badly addresses from email.utils.getAddresses
        - Managed email2pdf exception when email body is empty
        - Added tests
        - Added headers in pdf
        - Added emailtopdf script to test easily eml transformation in pdf
        - Initial release.
          [laulaz, sgeulette]
        
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)
