Hi
Hi
I'm pretty sure it is the same issue I've just talked about in the other
email which I also believe has just been fixed...
GetMessage param = new GetMessage();
> try {
> param.setMessageRefIdentifier(messageIdentifier);
> attach = receiveclient.getMessage(param,
> credentials);
>
>
At this moment of time you have the attachments received with headers in
lower-case
> if (attach.hasNext()) {
> while (attach.hasNext()) {
> MultivaluedMap<String, String> map =
> new MetadataMap<String, String>();
> AttachmentPartImpl impl =
> attach.next();
>
> Iterator<MimeHeader> itor =
> impl.getAllMimeHeaders();
> while (itor.hasNext()) {
> MimeHeader mimeHdr =
> (MimeHeader) itor.next();
> map.add(mimeHdr.getName(),
> mimeHdr.getValue());
> }
>
As suggested in the other email I can only think of the following workaround
unless you can try 2.2.9-SNAPSHOT : get headers using well-known keys and
set them using the same well-known keys (Content-ID, Content-Location, etc)
hope it helps, Sergey
> }
>
> regards,
> KJLoh
>