I have a requirement where I am polling the inbox of an outlook folder and extracting the emails from there. When I extract the emails , one separate document has to be formed consisting of the Email Body and rest of the documents from the attachments.
I am using the basic 'OutlookMessageToImageandAttachment' action which creates two different .eml files. The first .eml file which has the 'Email Body' and no attachments and the other .eml with the'Email Body' and also the attachments.
The .eml file which has no attachments is converted into 1 tiff image consisting of the Email body . And the other Tiff images are formed from the total number of attachments in the email.
For deleting the two .eml files , I assign them as the type 'ToDelete' and then use the action DeleteChildType'(ToDelete) .
I ran a batch which had two attachments in the email. I am able to extract the email body and also the attachments. But I am not able to delete the two .eml files in my hierarchy .
Both these .eml files have the status as '75' and page type as 'ToDelete' but we can see this in the hierarchy. This we can see in the verify stage at the 'Verifine.aspx page'.
This 'ToDelete' seems to work when we convert PDF images to TIFF but with the Email actions they do not get removed.
I am attaching the screen shots of my document hierachy , my rulesets (Page ID and the convert ones) , my batch folder and also the verifine.aspx page where you could see the document hierarchy.
I am also attaching my PageID_rrs.log and my profiler_RRS..log .
Could anyone please help me with this so that these two 'ToDelete' Pages are removed from the hierarchy ?