How convert data in a form to simple text on an email

S

SFJeans

Hi,

I have a simple need to just capture the data entered in an InfoPath form (5
text boxes) and mail it in a simple Outlook 2003 email. Instead of sending
an attachment as InfoPath seems to do it, I need to have that text captured
in the form and place it as text on an email. Does anyone have some
directions or information on how to do it?

Thanks!
José
 
F

Franck Dauché

Hi,

You can use the email adapter:
var oEmail = XDocument.DataAdapters("Email Connection name");
oEmail.To = "To address";
oEmail.Subject = "subject";
oEmail.Intro = "XDocument.Dom.xml; <---- Form as email body

Regards,

Franck Dauché
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top