SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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 ).

share|improve this question

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.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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