<?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>General</title><link>https://www.infopathdev.com:443/forums/41.aspx</link><description>If you're not sure where to ask your question, ask it here. If necessary, our moderators will make sure it gets classified in the correct board.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Infopath- Email Address Not Resolved- 2 identities, 1 email</title><link>https://www.infopathdev.com:443/forums/thread/105080.aspx</link><pubDate>Thu, 07 Jan 2016 15:49:01 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:105080</guid><dc:creator>luckydog121</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/105080.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=105080</wfw:commentRss><description>Figured it out. See http://stackoverflow.com/questions/4434047/how-can-retrieve-email-address-from-the-infopath-people-group-picker. Specifically, the code provided by Will worked: &amp;quot;I have a simpler solution.

Assume you are using the connection wizard to send an email to a person selected from a people picker.

in the to field - concat(substring-after(AccountId, &amp;quot;\&amp;quot;), &amp;quot;@domain.com&amp;quot;)

assuming your companies mail accounts have an entry for username @ domain.

because AccountId = domain\username

so we end up with username@domain.com

Worked for me&amp;quot;</description></item><item><title>Infopath- Email Address Not Resolved- 2 identities, 1 email</title><link>https://www.infopathdev.com:443/forums/thread/105053.aspx</link><pubDate>Tue, 05 Jan 2016 20:36:49 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:105053</guid><dc:creator>luckydog121</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/105053.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=105053</wfw:commentRss><description>Hi,

Situation: I am using the Person/ Group Picker to allow users to select an Outlook contact. This Outlook contact is then fed into the addressed to in an email (via Data Connections in the Submit option). 

Issue upon submission: &amp;quot;The form cannot be submitted because some of the e-mail addresses cannot be resolved. If you know the values in the form that specify the e-mail addresses, revise them and try again.&amp;quot;

The root cause in this case is that there is a person who has two separate identities in Outlook with the same email address for both (redundant, I know). This causes Infopath to become confused, because it doesn&amp;#39;t know which to pick.

My question is: Is there a way to write a function in the &amp;quot;To:&amp;quot;  box in the Data Connection Wizard? I&amp;#39;ve seen people using a the FindOne() function in other scenarios and this seems like it would make sense here too but I cannot write in a way that InfoPath will accept.

Also, I am using the 2010 version of InfoPath.

Appreciate the help!</description></item></channel></rss>