Difference between revisions of "IMAS System at DAS"

From PresenceWiki
Jump to: navigation, search
Line 53: Line 53:
The emails are internally tracked through the following:-
The emails are internally tracked through the following:-

Revision as of 12:47, 18 July 2012

The route through the system is as follows:-

Scanned emails come and each attachment is unzipped to a new folder in:-

If the attachment is a zip then the zip will be unzipped and each file in the zip placed in a new folder

The folder that is passed around will contain 3 files:-

A trigger file, "imasready.txt" to say that the folder is ready to be processed
A message txt file, eg "527.txt" which contains the attachment
A email message id file, eg "OF9DB8CF05....@international-presence.com.deleteme"
Each of the above folders is then taken and placed in one of the following folders


Anything in Unknown will need to be dealt with 'by hand'
Another task will then move the folders from the above directories to the equivalent in process:-


Once the as400 table has been inserted into, the program run, 
and then the as400 table found to be empty again the folder will be placed in:-


When the folder is place in the ok, the deleteme file is deleted.
If something goes wrong then the folder ends up in:-


The emails are internally tracked through the following:-


A list of emails that have been read and so will be ignored if found again

This folder is scanned and if the message id is not in the Archive, Buckets or Scan directory, we know that we have
finished with the email and so it can be forwarded and then deleted.
When an email is read, a copy of it is placed in here, so that we can use this file to forward the email later
When we are actually ready to forward the email, we place it in here.
This folder is scanned and the emails in it are forwarded.