i want to make the code send email that is picked from active directory inside a text box

 XPathNavigator dataSource;
 dataSource = this.MainDataSource.CreateNavigator();
 string toAddress = dataSource.SelectSingleNode

so how can i retrieve person and group email and put it inside a text box and which one of this i should use (account id or account type, display name ).

1 Answer 1


I would strongly disadvice to code in Infopath which is mostly the method of invoking more troubles than solving problems

The answer is provided in the detailed step-by-step instructions with screenshots by:

Let me know if they answered your question.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.