In your HTML: <select name="cboEmailTo"> <option value="1">John Smith</option> <option value="2">Jane Doe</option> <option value="3">Someone Else</option> </select> In your ASP ' strEmailTo = GetEmailAddress(Request.Form("cboEmailTo")) ' ... ' Now set the .To property of your CDO object to strEmailTo ' ' Function GetEmailAddress( _ ByVal intAlias _ ) Select Case intAlias Case 1 GetEmailAddress = john.smith at mycompany.com Case 2 GetEmailAddress = jane.doe at mycompany.com Case 3 GetEmailAddress = someone.else at mycompany.com Case Else GetEmailAddress = admin at mycompany.com End Select End Function Cheers Ken ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ From: "Walter S. Hemingway" <walt at medianetwork.ws> Subject: RE: [thelist] ASP form question : -- : Yes, I actually have everything else in place. The form is processing : through CDONTS. I just need it to go to a different person each time their : name is picked from a regular dropdown list on the form. Well even if there : is an alternative like checking their name in a box. I would prefer the : dropdown list. I have seven different people on the list and they each need : to receive an email if and when their name is chosen. : : Thank you, : Walter S. Hemingway : Ph 803.748.8594 : FAX 803.748.7461 : walt at medianetwork.ws : www.medianetwork.ws : : : -----Original Message----- : From: thelist-admin at lists.evolt.org : [mailto:thelist-admin at lists.evolt.org]On Behalf Of Chris W. Parker : Sent: Tuesday, February 11, 2003 4:57 PM : To: thelist at lists.evolt.org : Subject: RE: [thelist] ASP form question : : : Walter S. Hemingway <mailto:walt at medianetwork.ws> wrote: : : > I was wondering if anyone could help me with this one. I have a form : > that I need to have emailed to a different person according to the : > name chosen from a drop down list. I can find no resources to help me : > without. Would an if..else statement work? Anyone? : : yes an if..else statement would work. what exactly is it that you're : having trouble with? : : here are some questions to get you started... : : 1. do you know how to send an email via script? : 2. do you know how to process a form? : 3. do you know what CDONTS is? : : : chris. : -- : * * Please support the community that supports you. * * : http://evolt.org/help_support_evolt/ : : For unsubscribe and other options, including the Tip Harvester : and archives of thelist go to: http://lists.evolt.org : Workers of the Web, evolt ! : -- : [ Walter S Hemingway.vcf was deleted, please don't send attachments with your message. ] : -- : : -- : * * Please support the community that supports you. * * : http://evolt.org/help_support_evolt/ : : For unsubscribe and other options, including the Tip Harvester : and archives of thelist go to: http://lists.evolt.org : Workers of the Web, evolt !