As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
org.alfresco.error.AlfrescoRuntimeException: Email message processing failed at org.alfresco.email.server.EmailServiceImpl.processMessage(EmailServiceImpl.java:235) at org.alfresco.email.server.EmailServiceImpl.importMessage(EmailServiceImpl.java:147) at org.alfresco.email.server.impl.subetha.SubethaEmailServer$Handler.processDelivery(SubethaEmailServer.java:177) at org.alfresco.email.server.impl.subetha.SubethaEmailServer$Handler.data(SubethaEmailServer.java:132) at org.subethamail.smtp.command.DataCommand.execute(DataCommand.java:56) at org.subethamail.smtp.server.CommandHandler.handleCommand(CommandHandler.java:58) at org.subethamail.smtp.server.ConnectionHandler.run(ConnectionHandler.java:113) Caused by: org.alfresco.error.AlfrescoRuntimeException: IOException while attempting to detect charset encoding. at org.alfresco.encoding.AbstractCharactersetFinder.detectCharset(AbstractCharactersetFinder.java:102) at …..
detectCharsetpublic final java.nio.charset.Charset detectCharset(java.io.InputStream is)Attempt to detect the character set encoding for the give input stream. The input stream will not be altered or closed by this method, and must therefore support marking. If the input stream available doesn't support marking, then it can be wrapped with a BufferedInputStream.The current state of the stream will be restored before the method returns.The input stream is checked to ensure that it supports marks, after which a buffer is extracted, leaving the stream in its original stat
email.server.connections.max=5
email.server.connections.max=5
import org.alfresco.email.server.EmailServiceImpl;import org.alfresco.service.cmr.email.EmailMessage;import org.alfresco.service.cmr.repository.NodeRef;public class CustomEmailServiceImpl_ extends EmailServiceImpl{ /** * {@inheritDoc} */ @Override public void importMessage(EmailMessage message) { synchronized (this) { super.importMessage(message); } } /** * {@inheritDoc} */ @Override public void importMessage(NodeRef nodeRef, EmailMessage message) { synchronized (this) { super.importMessage(nodeRef, message); } }}