P
Puneet
Outlook.MailItemClass ObjMailItem = (Outlook.MailItemClass)Application.ActiveInspector().Current Item;
Above line is used to get the reference of outlook email just composed in the new email window of outlook.
But when the this line gets excuted for first time in debug mode than the control goes back to the starting of the function as this is the first line of the function also but when this line gets excuted second time than the excution stopped and the new mail window in which we just composed new email shown.
But it should return the reference of mail just composed .
Is any one here can help me
How to get the refernce of email just composed in the new email window.
Above line is used to get the reference of outlook email just composed in the new email window of outlook.
But when the this line gets excuted for first time in debug mode than the control goes back to the starting of the function as this is the first line of the function also but when this line gets excuted second time than the excution stopped and the new mail window in which we just composed new email shown.
But it should return the reference of mail just composed .
Is any one here can help me
How to get the refernce of email just composed in the new email window.