outlook

A

Anushya

Hi All

1)How to implement outlook's send and receive in a add-ins?

2)Also is it possible to do this outside outlook thru code? I need to
do this to read all the mails in outlook and to maintain a database in
a regular manner.. everytime if i do it thru add-ins it will take time
and the user will be annoyed.
Anushya
 
D

Dmitry Streblechenko

1. What do you mean? Outlook is supposed to implement that, not an addin.
2. Again, I am not sure I understand what you are trying to do.

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
 
A

Anushya

Hi Dmitry & All

I am trying to maintain a database of all the mails that comes in, so
that i can group and provide to user when he needs that, even if he
has deleted that mail.

for that if i do it thru add-ins then every time the user opens his
outlook, add-in will search thru new mails and maintain it.. But this
will take a lot of time if the user has many new mails. that's why i
am asking if i can do it outside outlook(as a service) so that the
user will not be annoyed everytime he opens his outlook..

My question is
1)how to maintain fresh mails if i need to do it thru add-ins?
2)How to do it if i need to do just outside outlook as a service?

Thanks
Anushya
 
D

Dmitry Streblechenko

Track the Application.NewMail or MAPIFolder.Items.ItemAdd (where MAPIFolder
pointsto the Inbox) event to record the incoming e-mails when Outlook is
open. On each startup, look at all unread e-mails that arrived after the
last time you performed the check to accout for the messages that arrived
when Outlook was closed.

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
 
F

Falconetti Daniel

Hello,

I just wonder why you don't use the Exchange archiving functionnality and
sort in and out message out of the band!
Or use an Exchange 2K event sink!

Daniel Falconetti
 
B

Brian Tillman

Anushya said:
I am trying to maintain a database of all the mails that comes in, so
that i can group and provide to user when he needs that, even if he
has deleted that mail.

Sounds like you need an Exchange server.
--
Brian Tillman
Smiths Aerospace
3290 Patterson Ave. SE, MS 1B3
Grand Rapids, MI 49512-1991
Brian.Tillman is the name, smiths-aerospace.com is the domain.

I don't speak for Smiths, and Smiths doesn't speak for me.
 

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