Results 1 to 2 of 2
Thread: Send email via drop down
Nov 1, 2010, 08:48 #1
Send email via drop down
I'm new to asp and need to be able to email a form depending on what option the user selects from a drop down list.
So for example, if they need to email sales the user chooses that option from a drop down and the form they fill in will be sent to email@example.com. For returns the form will be sent to firstname.lastname@example.org etc.
I have searched sitepoint and google but not really found any helpful info.
Any help would be appreciated.
Nov 1, 2010, 09:04 #2
- Join Date
- Jun 2007
- 0 Post(s)
- 0 Thread(s)
in your ASP file:
dim AddressTo AddressTo = Trim(Request.form("ddlist_name_goes_here")) AddressTo = AddressTo & "@Example.com"