cancel
Showing results for 
Search instead for 
Did you mean: 

Method to Keep Attachments in Body of Inbound HTML Emails

dturner
Champ in-the-making
Champ in-the-making
Hi Guys -

When sending an HTML email from MS Outlook to an Alfresco aliased folder the inline\body image attachments are always pulled out.
Is there a way to keep them within the HTML doc created in the folder? Or possibly convert the inbound email into another format with the inline images imbedded?

We’re trying to move our previous KB with email integration over to Alfresco and this a major process stumbling block
Our previous KB was a Joomla site with an inbound email-to-article module that keeps the images within the document.

I’ve searched and keep finding older documentation regarding custom email handlers… but cannot find a parallel to the Alfresco Community 5.0 AMP structure.
I’ve also tried creating rules on document creation within the aliased folder that would convert an email to another format.. but the attachments are being extracted before the rule gets applied.

You can disable attachment extraction in the imap config from global properties.. but not for the inbound email server config?
i.e. an analogue to imap.server.attachments.extraction.enabled=false

I see a dev note in https://issues.alfresco.com/jira/browse/MNT-11517 about the issue.. but no work on it..

Any advice?

Thanks in advance
2 REPLIES 2

resplin
Elite Collaborator
Elite Collaborator
I briefly researched this request.

I don't think this is currently possible, and the issue you link to has no internal comments so it has not received any attention in the last year. It isn't currently scheduled for work.

Sorry.

dturner
Champ in-the-making
Champ in-the-making
There is some older documentation out there on making custom email handlers but all of the specified locations are gone in 5.0.
If I could find it I could disable attachment extraction.. curious to see what it Alfresco would do to html email if not set to extract.

I can look at coding this out but I need to know where the email handler resides.

For instance I can't find:

org.alfresco.email.server.handler.EmailMessageHandler
org.alfresco.email.server.handler.AbstractEmailMessageHandler
Then add the new handler to the Spring config by overriding the emailService bean from CONFIGROOT\emailserver\email-service-context.xml
then copy InboundSMTP-context.xml to <ext-config>/alfresco/extension/subsystems/email/InboundSMTP/inboundSMTP-context.xml
Getting started

Tags


Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.