I am using InfoPath 2003 with SP2. I am trying to send a routing form to
several different addresses with the click of one button. Several addresses
will be selected from a drop down list. My thought was to use a drop down
box in a repeating table, however only the first name selected appears on the
email.
Will this idea work? Or am I heading in the wrong direction?
Hi,
If your drop down is repeating then you have to get that list through code
and add each email address to ‘To’ address field. You are using code for
sending email then use below the code to get email addresses list.
IXMLDOMNodeList emailAddresList = thisXDocument.DOM.selectNodes("Repeating
drop down xpath");
foreach(IXMLDOMNode emailAddress in emailAddresList)
{
to += emailAddress.text;
}

Signature
Shiva
http://www.ggktech.com
> I am using InfoPath 2003 with SP2. I am trying to send a routing form to
> several different addresses with the click of one button. Several addresses
[quoted text clipped - 3 lines]
>
> Will this idea work? Or am I heading in the wrong direction?