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.