HI Chris,
Thanks for your response, but I believe you were responding to the fact that I had the email addresses listed in the form, correct? I've modified my original post to reflect how the form is currently set up on our the site where the form behaves as it should and only sends to the address in the server side part of things.
However can you possibly provide some insight as to how I can just change the dim to go to specific email addresses that have been set up in the form? I'm still a little unclear about that.
Is the dim you provided supposed to be in addition to the one that I already have in place?, so that it would appear as:
Code:
<%
dim emailto
emailto = "name@email.com"
%>
<%
dim hostname: hostname = "domain.tld"
recipient = request.form("recipient") & "@" & hostname
'
%>
<!-- #include virtual="content/includes/formacceptor.asp" -->
When I try to just inlcude the form with the code you provided below, I get an error on line 23 of my formacceptor.asp file. Any ideas? If you could possibly provide any more insight, I would GREATLY appreciate it. My form is pretty much ready to go but I just need the dropdown to go to different email addresses.
Code:
<%
dim hostname: hostname = "domain.tld"
recipient = request.form("recipient") & "@" & hostname
' rest of mailing code
%>
Figured this out by modifying the formacceptor code quite a bit.
Last edited by Reckoner; 10-28-2010 at 03:00 PM..
|