How to get the mail sender, receiver, CC, BCC names and mail id from C# or VB.NET?

K

ksskumar

Hi friends,

I am creating add ins for outlook in C#. I try to store the email
details into database.

I can get the some of the details like Sendername, Receivedbyname, CC,
BCC, etc., from the mailitem object from the outlook object model.

The problem I find it is, if the sendar or receipient or CC or BCC ids
in the address book, the mailitem object return Name of the person
(NOT MAIL ID). Otherwise it give the mailid (NOT THE NAME). But I
need it both.

Is any way to get it both (Name and Mail id)?

AND Is any other way to access address book the outlook ?

Please let me know the posibilities.

Thanks in advance
Kumar
 
D

Dirk Schaller

ksskumar said:
Hi friends,

I am creating add ins for outlook in C#. I try to store the email
details into database.
Hi Kumar,

I plan to do this too for contacts. Do you develop your add in as GPL?
I want to sync outlook with phpGroupware.

Dirk
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top