i'm working on outlook mail programming. My problem is i want to get the objects of email fields, e.g. in "To..." section where we type email address , i want to get the object of that text box so that i can easily access the text(or email address) in my code. Such like that in "cc...", "Subject", "Body" ,I want their objects too.
Actually i'm making a table having 4 fields (to,cc,subject and body). Now i want that when i type somethin in above 4 fields in outlook new mail and then click send button (or my own built) the text will be saved in my database.
Please help me.........

accessing "new mail" objects of outlook in vb.net
Singh16367
Omer,
I am sorry you had trouble getting going with Outlook development. Actually, what you are trying to do is a great bread-and-butter task in the Outlook development world. Each mail is represented by a MailItem instance in the Outlook OM. You can then access properties like Sender, Subject, Body, etc.
It is helpful to remember that this forum is mainly for issues that directly pertain to the Visual Studio Tools for Office tools per se. So you will be best served by posing this question to a forum or newsgroup wholly dedicated to application-specific issues such as this one. Below, you will find a link to resources you should consult for best results.
http://blogs.msdn.com/johnrdurant/archive/2005/12/07/vsto_outlook_resourcelist.aspx
Best wishes,
John.
Anand Todkar