Skip to main content

Package to read emails and send them to DMS

Project description

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

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

License

The project is licensed under the GPLv2.

Contributors

Changelog

0.1 (2021-05-12)

  • Initial release. [laulaz, sgeulette]

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

imio.email.dms-0.1.tar.gz (18.1 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page