You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by bu...@apache.org on 2009/10/13 13:41:18 UTC

DO NOT REPLY [Bug 47990] New: HSMF - Some .msg attachments are not found

https://issues.apache.org/bugzilla/show_bug.cgi?id=47990

           Summary: HSMF - Some .msg attachments are not found
           Product: POI
           Version: 3.6-dev
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: blocker
          Priority: P2
         Component: HSMF
        AssignedTo: dev@poi.apache.org
        ReportedBy: yoda@oleco.net


I tried to read msg files using the scratchpad implementation of HSMF. Most
times the method getAttachmentFiles() of the MapiMessage class works, but on
some mails containing attachments the method returns no attachments. This may
be an issue concerning different Outlook versions creating different msg files,
so that the attachments are stored in another region in the msg file. Outlook
opens the msg correctly and can save the attachments properly to the file
system.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


DO NOT REPLY [Bug 47990] HSMF - Some .msg attachments are not found

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=47990

nicbooth@gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|LATER                       |

--- Comment #5 from nicbooth@gmail.com 2010-06-17 20:36:04 EDT ---
I am still having this problem with Scratchpad 3.7beta2-20100615

I have attached a same email I was able to create using MS Office 2007. I have
attached one pdf file and one msg file (also from Office 2007). The pdf file is
processed successfully but not the msg file.

>From what I can tell all the fields in the AttachmentChunks array for the .msg
attachment are null after calling getAttachmentFiles().

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


DO NOT REPLY [Bug 47990] HSMF - Some .msg attachments are not found

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=47990

--- Comment #4 from nicbooth@gmail.com 2010-06-17 20:33:58 EDT ---
Created an attachment (id=25610)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=25610)
Sample email with msg attachments causing problems with hsmf

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


DO NOT REPLY [Bug 47990] HSMF - Some .msg attachments are not found

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=47990

Nick Burch <ni...@alfresco.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
         Resolution|                            |FIXED

--- Comment #6 from Nick Burch <ni...@alfresco.com> 2010-08-04 13:10:33 EDT ---
Nested outlook msg files are stored differently to all other kinds of
attachments

I've added support in r982331 for them - you can call:
MAPIMessage nested = attachment.attachmentDirectory.getAsEmbededMessage();
then access the nested message as with any other .msg file

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


DO NOT REPLY [Bug 47990] HSMF - Some .msg attachments are not found

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=47990

--- Comment #2 from yoda@oleco.net 2009-12-11 04:03:39 UTC ---
Sorry, the only msg file I have is confidential and I cannot create one myself.
I hope you can find out more information on how the msg files are structured
and can fix the bug without my testfile.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


DO NOT REPLY [Bug 47990] HSMF - Some .msg attachments are not found

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=47990

Nick Burch <ni...@torchbox.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO

--- Comment #1 from Nick Burch <ni...@torchbox.com> 2009-10-13 04:46:20 UTC ---
If you can upload one of the problem files, that'll be a big help.

Can't promise when someone would be able to investigate what's up with them,
but I can say that without the problem files, there's very little we can do!

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


DO NOT REPLY [Bug 47990] HSMF - Some .msg attachments are not found

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=47990

Nick Burch <ni...@alfresco.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |RESOLVED
         Resolution|                            |LATER

--- Comment #3 from Nick Burch <ni...@alfresco.com> 2010-06-03 07:24:20 EDT ---
Various HSMF fixes have gone in this year. All unit tests relating to HSMF
attachments currently pass, so assuming this is fixed. If the problem still
remains, please upload a problem file for us to work on.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org