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
Solved! Go to Solution.
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,
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.
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,
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.
Done Eddy, thank you :-)
Thanks for doing this
Cheers,
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.