NikhilMIT2013 / java-libpst

Automatically exported from code.google.com/p/java-libpst
0 stars 0 forks source link

Unable to obtain CC & BCC email address #26

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.Parse a PST
2.Try to obtain the CC or BCC email address
3.Unable to find the relevant library call to obtain the email address

What is the expected output? What do you see instead?
Able to obtain only the names of CC recipients, but not their email id.

What version of the product are you using? On what operating system?
Using the PST from MS Outlook 2007 on a Linux operating system

Please provide any additional information below.
This java libpst is just brilliant. Could not believe my eyes to see such 
functionality provided. Until recently we had to use a scriptom to parse the 
pst which also required the machine to have an outlook program running. Thank 
you very much Johnson. If you could help us with the cc & bcc email adresseses 
as well, that will be swell. Cheers.

Original issue reported on code.google.com by vinayg...@gmail.com on 24 Dec 2010 at 5:37

GoogleCodeExporter commented 8 years ago
Hiya!

Glad to hear it has helped you.

With the CC/BCC stuff, which function calls are you trying to use?  Outlook has 
a few bit of information stored, which makes things a bit confusing.  Initially 
we only really had access to the "Display" details (getOriginalDisplayCC, 
getDisplayCC), which I think may be what you are using.

We have since added PSTRecipient and access to it through getRecipient, however 
I can't see how you can determine which addresses are CC / BCCd.  I think 
perhaps the getRecipientType function should actually be on the PSTRecipient 
object...

Anyway, will have to try and have a dig through some PSTs and see how it is all 
stored in there, and see if we can't come up with anything definitive.  I'm on 
holidays for a few weeks atm, but will try to have a look when I get back.

Richard

Original comment by rjohnson...@gmail.com on 24 Dec 2010 at 12:41

GoogleCodeExporter commented 8 years ago
PSTRecipient has getRecipientType().

For actual recipients, it should return one of MAPI_TO, MAPI_CC or MAPI_BCC.  
We could consider adding these constants to PSTRecipient as Microsoft helpfully 
document their names, but not their values in the PST documentation.

Orin.

Original comment by orin.e...@gmail.com on 6 Jan 2011 at 5:28

GoogleCodeExporter commented 8 years ago
These constants have been added based on values I've found online.

Original comment by rjohnson...@gmail.com on 2 Apr 2011 at 12:47