Author: kemaltolga | Posted on: 4/8/2009 6:57:01 PM | Views : 533

This might belong in a different form, but I don't know where?

I created a very simply infopath form with I submit "to email". A wizard, in the infopath client, takes me through the steps on submitting the template as an email. The recipient gets the form as part of the email body. Great! Now I need to do the same thing using asp.net

I did a lot of research and have not found much.



How do I open an infopath template in managed code, c#, asp.net?

I added references to the Microsoft.Office.Infopath namespace. Now, I have access to the OM, but I have no clue how to deal with teh file

I found code which demonstrates how to submt the form using VSTO.
var objEmailAdapter;
var varTo = XDocument.DOM.selectSingleNode("/my:myFields/my:EmailInfo/my:To");
var varCC = XDocument.DOM.selectSingleNode("/my:myFields/my:EmailInfo/my:CC");
var varBCC ...

Go to the complete details ...