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 2018/09/10 05:28:30 UTC

[Bug 62701] New: Introduce an API to generate .msg files

https://bz.apache.org/bugzilla/show_bug.cgi?id=62701

            Bug ID: 62701
           Summary: Introduce an API to generate .msg files
           Product: POI
           Version: unspecified
          Hardware: PC
            Status: NEW
          Severity: critical
          Priority: P2
         Component: HSMF
          Assignee: dev@poi.apache.org
          Reporter: bramesh.ppl@gmail.com
  Target Milestone: ---

POI supporting to reading a msg files but not providing any API to write or
generate MSG files from java code. We are expecting to introduce an API to
generate .MSG files

-- 
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


[Bug 62701] Introduce an API to generate .msg files

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

--- Comment #2 from Ramesh <br...@gmail.com> ---
I could able to create .msg files using java code with plain text body but
wants to extend the same to support HTML content as well.
To make HTML support, what are things required so that i can upload the patch
if it is done from my end.
A small piece of code that am using right now.

if(body!=null) { topLevelChunk.setProperty(new PropertyValue(MAPIProperty.BODY,
FLAG_READABLE | FLAG_WRITEABLE, StringUtil.getToUnicodeLE(body))); }

Any help here is greatly useful and solves lot of problems

-- 
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


[Bug 62701] Introduce an API to generate .msg files

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

Nick Burch <ap...@gagravarr.org> changed:

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

--- Comment #1 from Nick Burch <ap...@gagravarr.org> ---
You should find that many of the low-level records support writing out, which
ought to help. Creating a whole new file is probably a lot of work to start
with, I'd suggest you focus on just the change case to begin with (updating the
various properties and streams in sync), then simpler add/remove (with
references and IDs and stuff), then if you're still keen push for full
creation!

See http://poi.apache.org/devel/guidelines.html for some help on getting
started contributing to Apache POI. We'll look forward to your patches / pull
requests!

-- 
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


[Bug 62701] Introduce an API to generate .msg files

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

Dominik Stadler <do...@gmx.at> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|critical                    |enhancement

-- 
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