Jitendra Kotamraju wrote:
> MimeCodec adds '<' and '>' while writing contentId.
>
> OutputUtil.writeln("Content-Id: <" +
> att.getContentId()+">", out);
>
> Instead, should we create the attachment with proper contentId that
> includes '<' and '>'
>
Problem with this is that the content-id when written as MIME header is
enclosed with <>. Whereas when written as reference cid, its written
without <>.
href="cid:foo_at_b.c" will be written as reference in the message body and
in MIME part:
Content-Id:<foo_at_b.c>
So, I think if we include '<' and '>' in attachment we will have to
parse to extract the content id value when writing inside the message.
-vivek.
> Jitu
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_jax-ws.dev.java.net
> For additional commands, e-mail: dev-help_at_jax-ws.dev.java.net
>