@saltcorn/imap
v0.2.17
Published
Sync IMAP folders to tables for inbound email processing
Downloads
47
Readme
imap
Sync IMAP folders to tables for inbound email processing.
how to use plugin
Install this module (imap in the Saltcorn module store).
Configure connection to email server in plugin settings.
where
- Username - your email address
- Password - application password for your email address
- Host - imap interface hostname of your email server
- TLS - set if your server uses encryption
Create table for use by this plugin.This table will be populated with incomming emais.
The table needs to have fields:
- uid_field (Integer) - email id.
- subj_field (String - email subject
- from_field (String)- first "from" address for email
- file_field (File) - first file attachment for email
- date_field (String)- email receiving date Field names don't matter. The presence of fields and the correct field type are important.
Create trigger, e.g. imap:
where
- Name - name of trigger
- When - use Often if wants to check mails every 5 minutes
- Action - use action imap_sync
- Description - just description if needed
Configure trigger
where
- Destination table - inbox table. Name can be any.
- UID field - usuall ID. But can be any Integer field from destionation table.
- Subject field - email subject field
- From field - email from field
- Date field - email receiving date field
- File field - first attached file from email
Run trigger
implemented Actions
- imap_sync - starts imap sync.
known limitations
- imap port 993
- only INBOX folder supported
- only first from adress stored
- message text is not supported
- only first file attachment stored