cancel
Showing results for 
Search instead for 
Did you mean: 

Best way to parse inbound email

yuhuayang
Champ in-the-making
Champ in-the-making
Hi

I have setup a folder to accept inbound emails directly. Once the email arrives in Alfresco, it is separated into 3 parts, the attachement, a HTML file of the email, and a document with no real type but also contains the content of the email.

What is the best/fastest/easiest way to parse either the HTML or content of the email directly via a rule so that whenever an email comes into the folder, the content is extracted and inserted as metadata for the attachment.

Thanks
1 REPLY 1

idwright
Star Collaborator
Star Collaborator

This project parses inbound email - GitHub - malariagen/alfresco-discussions: Customizations to Alfresco Site Discussions  so you should be able to get some clues from there.

You'll want to look at discussions-platform-jar - this uses a behaviour rather than a rule

Hope that helps.