<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/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>Email Submit "To" line (loops in formulas)</title><link>http://blogs.msdn.com/b/infopath/archive/2006/04/05/569338.aspx</link><description>Everyone likes InfoPath's email data connection because it lets you collect forms using email only, no other infrastructure required (no need for Windows SharePoint Services, SQL Server, or even a file share). We've built even more Outlook integration</description><dc:language>en-US</dc:language><generator>Telligent Evolution Platform Developer Build (Build: 5.6.50428.7875)</generator><item><title>re: Email Submit "To" line (loops in formulas)</title><link>http://blogs.msdn.com/b/infopath/archive/2006/04/05/569338.aspx#10415595</link><pubDate>Thu, 02 May 2013 11:35:21 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10415595</guid><dc:creator>melih</dc:creator><description>&lt;p&gt;It worked for me. I used my secondary data source instead of &amp;quot;person&amp;quot; and I used &amp;quot;.&amp;quot; (current field value) instead of &amp;quot;my:email&amp;quot;. Thanks&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10415595" width="1" height="1"&gt;</description></item><item><title>re: Email Submit "To" line (loops in formulas)</title><link>http://blogs.msdn.com/b/infopath/archive/2006/04/05/569338.aspx#10386812</link><pubDate>Mon, 21 Jan 2013 13:02:17 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10386812</guid><dc:creator>tanx a lot</dc:creator><description>&lt;p&gt;hi scott &lt;/p&gt;
&lt;p&gt;I really admire you for your good answer&lt;/p&gt;
&lt;p&gt;tanx a lot&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10386812" width="1" height="1"&gt;</description></item><item><title>re: Email Submit "To" line (loops in formulas)</title><link>http://blogs.msdn.com/b/infopath/archive/2006/04/05/569338.aspx#10359183</link><pubDate>Fri, 12 Oct 2012 16:35:46 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10359183</guid><dc:creator>Niraj </dc:creator><description>&lt;p&gt;Exactly what I needed. Thanks Bunch!!!&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10359183" width="1" height="1"&gt;</description></item><item><title>re: Email Submit "To" line (loops in formulas)</title><link>http://blogs.msdn.com/b/infopath/archive/2006/04/05/569338.aspx#10340712</link><pubDate>Thu, 16 Aug 2012 21:22:40 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10340712</guid><dc:creator>Anonymous</dc:creator><description>&lt;p&gt;Does anybody besides me thinks that InfoPath is not the great tool they promote?&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10340712" width="1" height="1"&gt;</description></item><item><title>re: Email Submit "To" line (loops in formulas)</title><link>http://blogs.msdn.com/b/infopath/archive/2006/04/05/569338.aspx#10249660</link><pubDate>Tue, 20 Dec 2011 17:53:21 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10249660</guid><dc:creator>asdy</dc:creator><description>&lt;p&gt;I am having a form with different sections and the momment the user hits the submit button I need each section in this form to be sent to different e-mails, I mean If I am having 3 sections in the form I need each of these 3 sections to be sent to 3 different e-mails. Any ideas how can I achieve this goal ?&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10249660" width="1" height="1"&gt;</description></item><item><title>re: Email Submit "To" line (loops in formulas)</title><link>http://blogs.msdn.com/b/infopath/archive/2006/04/05/569338.aspx#10192162</link><pubDate>Tue, 02 Aug 2011 19:47:06 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10192162</guid><dc:creator>i cant seem to make this work. </dc:creator><description>&lt;p&gt;first of all hi!.i have a forma and a people list.&lt;/p&gt;
&lt;p&gt;Structure:&lt;/p&gt;
&lt;p&gt;myFields&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;Group&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;pc:Person (repeating group)&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;DisplayName&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;AccountId&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;AccountType&lt;/p&gt;
&lt;p&gt;i want so send emails to several DisplayName and cannot make it work :(&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10192162" width="1" height="1"&gt;</description></item><item><title>re: Email Submit "To" line (loops in formulas)</title><link>http://blogs.msdn.com/b/infopath/archive/2006/04/05/569338.aspx#10189586</link><pubDate>Mon, 25 Jul 2011 17:48:24 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10189586</guid><dc:creator>Mahesh Kunadia</dc:creator><description>&lt;p&gt;I have been looking for answer to send email to multiple people using InfoPath function &amp;quot;&amp;quot;Person/Group Picker&amp;quot; and data connection.&lt;/p&gt;
&lt;p&gt;Finally, using this formula and adding some tricks I was able to do it.&lt;/p&gt;
&lt;p&gt;My Data Source Looks like this:&lt;/p&gt;
&lt;p&gt;Notification-group&lt;/p&gt;
&lt;p&gt; &amp;nbsp; Notification-send-to&lt;/p&gt;
&lt;p&gt; &amp;nbsp; Notification-send-to-group (Person/Group Picker)&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;pc:Person&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;DisplayName&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;AccountId&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;AccountType&lt;/p&gt;
&lt;p&gt;Set default value for &amp;quot;Notification-send-to&amp;quot;&lt;/p&gt;
&lt;p&gt;eval(eval(Person, &amp;#39;concat(pc:AccountId, &amp;quot;;&amp;quot;)&amp;#39;), &amp;quot;..&amp;quot;)&lt;/p&gt;
&lt;p&gt;Setup data connection for email and enter following formula to remove domain name in “To” using “fx”&lt;/p&gt;
&lt;p&gt;translate(Notification-send-to, &amp;quot;DOMAIN NAME\&amp;quot;, &amp;quot;&amp;quot;)&lt;/p&gt;
&lt;p&gt;Thank you,&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10189586" width="1" height="1"&gt;</description></item><item><title>re: Email Submit "To" line (loops in formulas)</title><link>http://blogs.msdn.com/b/infopath/archive/2006/04/05/569338.aspx#10176967</link><pubDate>Mon, 20 Jun 2011 14:21:25 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10176967</guid><dc:creator>Jan</dc:creator><description>&lt;p&gt;Hi, thanks for this post, I managed to solve one of my problems :).&lt;/p&gt;
&lt;p&gt;I was trying to get te same result from a multiple-selection listbox, but can&amp;#39;t get it to work.&lt;/p&gt;
&lt;p&gt;This is the datastructure : &lt;/p&gt;
&lt;p&gt; &amp;nbsp; group1&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; repeating field1&lt;/p&gt;
&lt;p&gt; &amp;nbsp; field2&lt;/p&gt;
&lt;p&gt;I would like to see the checked item from field1 in field2, &amp;#39;;&amp;#39; seperated.&lt;/p&gt;
&lt;p&gt;all help appreciatied :)&lt;/p&gt;
&lt;p&gt;Jan&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10176967" width="1" height="1"&gt;</description></item><item><title>re: Email Submit "To" line (loops in formulas)</title><link>http://blogs.msdn.com/b/infopath/archive/2006/04/05/569338.aspx#10175391</link><pubDate>Thu, 16 Jun 2011 17:37:59 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10175391</guid><dc:creator>usman</dc:creator><description>&lt;p&gt;does not work with people picker sp 2010&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10175391" width="1" height="1"&gt;</description></item><item><title>re: Email Submit "To" line (loops in formulas)</title><link>http://blogs.msdn.com/b/infopath/archive/2006/04/05/569338.aspx#10154629</link><pubDate>Fri, 15 Apr 2011 20:42:39 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10154629</guid><dc:creator>Laurel</dc:creator><description>&lt;p&gt;I am receiving the same issue with the formula: &amp;quot;../my:RepeatingTable/my:NomineesHidden/my:Person&amp;quot; does not point to a valid location path of a field or group.&lt;/p&gt;
&lt;p&gt;I first tried the formula in the main body of the post. When that didn&amp;#39;t work, I copied the formula that was given to someone else and adjusted the group names to fit my .xsn. Here is the XPath formula:&lt;/p&gt;
&lt;p&gt;substring(xdMath:Eval(xdMath:Eval(../my:RepeatingTable/my:NomineesHidden/my:Person, &amp;#39;concat(my:AccountID, &amp;quot;;&amp;quot;)&amp;#39;), &amp;quot;..&amp;quot;), 1, string-length(xdMath:Eval(xdMath:Eval(../my:RepeatingTable/my:NomineesHidden/my:Person, &amp;#39;concat(my:AccountID, &amp;quot;;&amp;quot;)&amp;#39;), &amp;quot;..&amp;quot;)) - 1)&lt;/p&gt;
&lt;p&gt;My data structure is this:&lt;/p&gt;
&lt;p&gt;NomineeTopGroup (non-repeating Group)&lt;/p&gt;
&lt;p&gt; &amp;nbsp; RepeatingTable (repeating table)&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;NomineeHidden (non-repeating Group)&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;pc:Person (repeating person group)&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; display name (string)&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; accountid (string)&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; accounttype (string)&lt;/p&gt;
&lt;p&gt;I have tried everything I can think of to fix the formula so that it recognizes the AccountID field, but I have failed.&lt;/p&gt;
&lt;p&gt;I&amp;#39;d appreciate any help you could provide.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10154629" width="1" height="1"&gt;</description></item></channel></rss>