View Single Post
  #6  
Old April 4th 08, 02:55 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default New Mail Item Event

Sure. In Outlook 2007 you have a couple of things you can check:

NameSpace.ExchangeConnectionMode
NameSpace.Offline

Review the Object Browser help on those properties.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


"Neetu" wrote in message
news
Hi Ken,

I found some other alternative . directly sending mail .
lobjNewMailItem.send();

Ken, is there any way to find where outlook is in offline or online..
so that if I fire this statement i can give appropriate message and save
the
message in his/her mail box.


Ads