I have a mail form that needs to be sent to different recipients based
on a different check box selections. That works fine, but if multiple
boxes are checked that require two or more recipients, I don't know how
to append to the .To property. Is there a way to do this by looping? Or
is there some other solution for this?
Here's the URL: http://www.quickpen.com/internetdemo/index.asp
Here's the relevant code:
<% '----------------determine recipients ------------------ %>
<%
dim toemail
if demo_interested="AutoBid Mechanical" OR demo_interested="AutoBid
SheetMetal" OR demo_interested="PipeDesigner 3D" OR
demo_interested="DuctDesigner 3D" then %>
<% toemail="qp********@quickpen.com"%>
<% elseif demo_interested="Tool Manager" then %>
<% toemail="tm********@quickpen.com"%>
<% elseif demo_interested="Vulcan" then %>
<% toemail="su*****@mechanicaldata.com"%>
<% end if %>
<% end if %>