Exchange and C# - beginner's question

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I'm afraid that I've not done anything with mail for over 10 years. Back then
it was C and Mapi. My boss wants me to display unread messages in the mailbox
on our intranet site. I'm writing this in C#. I asked him for his pop3
address and he said that we are using Exchange and haven't turned on pop3.

So I'm confused. All that I want to do is get the number of unread emails
for a user. I have their name and password, that's not the issue.

Can anyone point me in the right direction, please?
 
Rik,

You might want to look into CDO. It is a set of COM objects that are
used to acces exchange stores. You will have to use COM interop to do this.

Also, you could call the MAPI api's still if you are used to that, you
would just have to do it through the P/Invoke layer.

Hope this helps.
 
Thank you so much. I figured out how to reference the CDO, but I can't find
any references on it other than the simplest sending of messages. Do you know
of anywhere that I might discover how to simply find out how many unread
messages there are?
--
----------------------------------------
Magic is not in the hands of the magician but in the mind of the audience.

Animadverto est verus




Nicholas Paldino said:
Rik,

You might want to look into CDO. It is a set of COM objects that are
used to acces exchange stores. You will have to use COM interop to do this.

Also, you could call the MAPI api's still if you are used to that, you
would just have to do it through the P/Invoke layer.

Hope this helps.


--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)

Rik Brooks said:
I'm afraid that I've not done anything with mail for over 10 years. Back
then
it was C and Mapi. My boss wants me to display unread messages in the
mailbox
on our intranet site. I'm writing this in C#. I asked him for his pop3
address and he said that we are using Exchange and haven't turned on pop3.

So I'm confused. All that I want to do is get the number of unread emails
for a user. I have their name and password, that's not the issue.

Can anyone point me in the right direction, please?
--
 
Back
Top