obtaining email address of all the people to whom mail has been CC

78 views
Skip to first unread message
Message has been deleted
Message has been deleted

Ankita Verma

unread,
Jan 6, 2011, 6:45:32 AM1/6/11
to java-libpst-discuss
Dear Richard,

I am using the libpst jar file for my project. I am facing a problem
in displaying the email addresses of the people to whom the mail has
been CC.

getDisplayCC() displays either the name or email addresses of the
people to whom the mail has been CC. Is there a way by which i can
get only the email addresses of CC.

Please reply as soon as possible.

Regards,
Ankita

Orin Eman

unread,
Jan 6, 2011, 12:15:32 PM1/6/11
to java-libp...@googlegroups.com
On Thu, Jan 6, 2011 at 9:03 AM, Orin Eman <orin...@gmail.com> wrote:


You have to go through the recipient list using getRecipient() and then use getEmailAddress() on each recipient.

Note that if the recipient is on an Exchange server, there might not be an SMTP email address in the PST file.


PS: See also getSmtpAddress() in PSTRecipient.

Orin.
 

Ankita Verma

unread,
Jan 7, 2011, 12:48:05 AM1/7/11
to java-libpst-discuss
Thank you Orin.
It works now.



On Jan 6, 10:15 pm, Orin Eman <orin.e...@gmail.com> wrote:
> On Thu, Jan 6, 2011 at 9:03 AM, Orin Eman <orin.e...@gmail.com> wrote:
> > On Thu, Jan 6, 2011 at 3:45 AM, Ankita Verma <ankita.verma.h...@gmail.com>wrote:
>
> >> Dear Richard,
>
> >> I am using the libpst jar file for my project. I am facing a problem
> >> in displaying the email addresses of the people to whom the mail has
> >> been CC.
>
> >> getDisplayCC() displays either the name or email addresses of the
> >> people to whom the mail has been CC. Is there a way by which i can
> >> get only the email addresses of CC.
>
> >> Please reply as soon as possible.
>
> > You have to go through the recipient list using getRecipient() and then use
> > getEmailAddress() on each recipient.
>
> > Note that if the recipient is on an Exchange server, there might not be an
> > SMTP email address in the PST file.
>
> PS: See also getSmtpAddress() in PSTRecipient.
>
> Orin.- Hide quoted text -
>
> - Show quoted text -

Missaoui Ahmed

unread,
Oct 31, 2012, 5:00:51 AM10/31/12
to java-libp...@googlegroups.com

hello, I am using the libpst libraririe to analyse pst file file and i want to get all the cc's mail so i found this discution .
If you remembre how you have do this ,can you help me and thanks.
Reply all
Reply to author
Forward
0 new messages