<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://www.infopathdev.com:443/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Code</title><link>https://www.infopathdev.com:443/forums/45.aspx</link><description /><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Value from form into EmailAdapter</title><link>https://www.infopathdev.com:443/forums/thread/13507.aspx</link><pubDate>Thu, 01 Sep 2005 17:17:35 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:13507</guid><dc:creator>Greg Collins</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/13507.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=13507</wfw:commentRss><description>You need to build the string first. Use selectNodes() to get the list of values and then step through them and build up a string with all of the values in it. Then assign that string to oEmail.To.&lt;br /&gt;&lt;br /&gt;Greg Collins [InfoPath MVP]&lt;br /&gt;InfoPath Dev</description></item><item><title>Value from form into EmailAdapter</title><link>https://www.infopathdev.com:443/forums/thread/12540.aspx</link><pubDate>Fri, 26 Aug 2005 15:02:01 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:12540</guid><dc:creator>drobins</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/12540.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=12540</wfw:commentRss><description>How do i insert the value of a text box into the code?&lt;br /&gt;&lt;br /&gt;EmailAdapter oEmail = (EmailAdapter)thisXDocument.DataAdapters["Email Submit"];&lt;br /&gt;oEmail.To = "value@form.com,value2@form.com,value3@form.com";&lt;br /&gt;oEmail.Subject = "Submission 1";&lt;br /&gt;oEmail.Intro = "This was submitted by (value4)";&lt;br /&gt;oEmail.Submit();</description></item></channel></rss>