08-17-2020 10:25 AM
Hello everyone,
our Alfresco Enterprise 5.2.3 system has been configured for incoming emails and this is successful, however when I send a test mail with attachments the attachments are shown as separate files in the repository, however metadata is not being extracted.
When debugging is enabled I see the following in the log:
DEBUG [content.metadata.MetadataExtracterConfigImpl] [http-bio-8444-exec-7] Tika metadata options passed to Tika parser: TIKA_PARSER_PARSE_SHAPES=false
If I upload the same attachments the document content type is correctly set and the metadata is parsed correctly.
Any ideas would be greatly appreciated.
Many thanks 🙂
Update: Resolved by creating a rule to extract the metadata. The metadata is then saved to the file properties in Alfresco
08-25-2020 12:06 PM
Hi @CologneClaret,
Great that you managed to fix your issue & thanks for updating us. Would be great if you could say a little more about your rule.
In the meantime, I''ll set this as solved.
Thanks,
08-26-2020 03:44 AM
Solution explanation:
When mails are sent to Alfresco, when the mail lands in the destination folder the attachments are separated into an HTML file representation of the mail, a Plain Text file representation of the mail and any attachments. Unfortunately though, the standard metadata such as title and author are not automatically added to the extracted files. This is different when uploading files to a folder, where the standard metadata is added.
In order to have the metadata added to the files extracted from an incoming mail a rule needs to be added to the incoming mail folder - "Extract metadata" needs to be applied for all new files. This will add the standard metadata to the files as they are extracted.
08-25-2020 12:06 PM
Hi @CologneClaret,
Great that you managed to fix your issue & thanks for updating us. Would be great if you could say a little more about your rule.
In the meantime, I''ll set this as solved.
Thanks,
08-26-2020 03:45 AM
Done Eddy, thank you 🙂
08-26-2020 04:54 AM
Thanks for doing this
Cheers,
08-26-2020 03:44 AM
Solution explanation:
When mails are sent to Alfresco, when the mail lands in the destination folder the attachments are separated into an HTML file representation of the mail, a Plain Text file representation of the mail and any attachments. Unfortunately though, the standard metadata such as title and author are not automatically added to the extracted files. This is different when uploading files to a folder, where the standard metadata is added.
In order to have the metadata added to the files extracted from an incoming mail a rule needs to be added to the incoming mail folder - "Extract metadata" needs to be applied for all new files. This will add the standard metadata to the files as they are extracted.
Explore our Alfresco products with the links below. Use labels to filter content by product module.