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 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.
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