...
This job allows e-mails and their attachments arriving at an in-box to be automatically processed and to be used a basis for generating orders for further Job Chains. In addition, this job can also be used as a pre-processor for other automated mail and atachment attachment processing.
E-mail Processing Job
This Job carries out the following:
- Polls Accesses an e-mail inbox:
- Polling is not recursive - sub-folders of the inbox are not polled.
- Access parameters
- mail_host - imap@testLand.com
- mail_port - 993
- mail_user - demo.user@testLand.com
- mail_password - stored as plain text
- mail_ssl - true/false
- mail_server_type - IMAP
- mail_server_timeout - seconds
- Filters e-mails for matches:
- Only unread e-mails are notedconsidered.
- All e-mails processed are marked as being read.
- Filter parameters:
Parameter Comment Fomat Default Example mail_subject_filter match string string - TestMail_01 mail_subject_pattern regex - TestMail_\d\d
- Writes e-mails found to files:
- E-mails found are marked as read (this cannot be changed).
- E-mails found are written as files to a directory.
- Parameters:
- copyMail2Filecopy_mail_to_file = true
- mail_directory_name
- max_mails_to_process
- after_process_e
- Parameters:
- Processes any e-mail attachments:
- When an e-mail with an attachment is found:
- The attachment is moved to a directory:
- Parameters:
- copyAttachmentsToFilecopy_attachments_to_file = true
- attachment_directory_name
- Parameters:
- This directory can also be monitored with, for example, a File Order Source
- The attachment is moved to a directory:
- When an e-mail with an attachment is found:
- Generates an Order for another Job Chain (optional)
- Parameters:
- createOrder=true
- the job chain name
- Order parameters:
- the file name
- the subject of the mail
- the sender
- the mail received date
- Parameters:
- The mail is post-processed (optional):
- Prameters:
- afterProcessEmail:
- markAsRead
- Default setting
- delete
- The mail is deleted
- move
- the mail is moved to another folder
- Parameter:
- the folder name
- Parameter:
- the mail is moved to another folder
- markAsRead
- afterProcessEmail:
- Prameters:
...