getSenderEmailAddress() where Sender Address Type is Exchange [in PSTMessage Class]

269 views
Skip to first unread message

eKerne

unread,
Aug 27, 2012, 5:07:43 PM8/27/12
to java-libp...@googlegroups.com
Hi All,

I was wondering if I could get some help on figuring on a strange output from getSenderEmailAddress() where getSenderAddrtype() is 'EX', or exchange.

getSenderEmailAddress() returns a regular email address when the type is SMTP, however with exchange I get back some kind of metadata as the email address, in the format of:

/O=DomainName/OU=GroupName/CN=RECIPIENTS/CN=userID [I've substituted out the actual names]

I can't seem to find any methods that might be able to get the actual address... maybe it's not actually present in the PST file?

Any help would be appreciated. Thanks!


Orin Eman

unread,
Aug 28, 2012, 6:38:55 PM8/28/12
to java-libp...@googlegroups.com
When I was working on extracting SMTP addresses from a PST file, there were cases where it simply wasn't there.  This is probably one of them.  It seemed inconsistent as to whether an SMTP address would be there or not.

Orin.

Michael Bell

unread,
Nov 5, 2012, 8:44:38 PM11/5/12
to java-libp...@googlegroups.com
That's the "legacy dn" attribute which you'll find linked to in AD. That's how exchange identifies internal users - it's the verbose equivalent of a UUID

Hussain Miah

unread,
Nov 20, 2013, 7:29:30 AM11/20/13
to java-libp...@googlegroups.com
Is there any update on a fix or work around for this? I didn't really understand what Michael Bell said
Reply all
Reply to author
Forward
0 new messages