You may be able to work around this (which may hide a real underlying
problem!) with -Dmail.mime.multipart.allowempty=true

On 18 November 2014 12:21, A.Light <[email protected]> wrote:

> Hi all,
> I'm going to post a question that has already been posted  here
> <http://camel.465427.n5.nabble.com/Forward-mail-via-camel-td5715953.html>
> and  here
> <
> http://camel.465427.n5.nabble.com/Missing-start-boundary-exception-on-camel-mail-2-10-2-td5724769.html
> >
> , without resolution. Since the previous posts are 1 or 2 years old, I
> thought the better thing was to make a new post. We can then point those
> posts to here if we get a solution.
>
> Said that, I'm trying to implement a complex route that involves reading
> and
> writing emails, but I'm getting consistently a "Missing start boundary"
> exception for which I'm asking for help here. After stripping out from the
> route everything not related to the exception, I ended up with this simple
> spring route:
>
>   <route>
>     <from
> uri="imap://mailserver:[email protected]
> &amp;password=xxxxxx&amp;consumer.delay=1000"/>
>     <setHeader
> headerName="from"><constant>[email protected]</constant></setHeader>
>     <setHeader
> headerName="to"><constant>[email protected]</constant></setHeader>
>     <to uri="smtp://mailserver:225"/>
>   </route>
>
> My camel version is 2.14.0, java is 1.7.
> Here is the email writeTo format, as taken from
> MimeMultipart.writeTo(FileOutputStream):  emailWriteTo.txt
> <http://camel.465427.n5.nabble.com/file/n5759253/emailWriteTo.txt>
> Here is the stacktrace of the error:  Stacktrace02.txt
> <http://camel.465427.n5.nabble.com/file/n5759253/Stacktrace02.txt>
>
> What is causing the exception?
> Let me know if there's anything else I can provide to help identify the
> problem which most surely is somewhere in my configuration.
>
> Thanks for any suggestion,
> A.
>
>
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/Simple-email-forward-route-tp5759253.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>

Reply via email to