Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / General MS InfoPath Questions / July 2007

Tip: Looking for answers? Try searching our database.

Select Email Addresses from drop down list

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Karyl - 11 Jul 2007 20:30 GMT
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?

Signature

Karyl

Shiva, GGK Tech - 12 Jul 2007 08:08 GMT
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?
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.