Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Intermediate save

...

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:

  1. 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
  2. Filters e-mails for matches:
    • Only unread e-mails are notedconsidered.
    • All e-mails processed are marked as being read.
    • Filter parameters:
      • ParameterCommentFomatDefaultExample
        mail_subject_filtermatch stringstring-TestMail_01
        mail_subject_patternregex -TestMail_\d\d
  3. 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
  4. 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
      • This directory can also be monitored with, for example, a File Order Source
  5. 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
  6. 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

...