Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / General MS InfoPath Questions / November 2005

Tip: Looking for answers? Try searching our database.

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

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
SFJeans - 21 Nov 2005 02:05 GMT
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é
Franck Dauché - 21 Nov 2005 04:50 GMT
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é

> Hi,
>
[quoted text clipped - 6 lines]
> Thanks!
> José
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.