Is there any way of making an e-mail form using ASP/ASPX?

I am limited in what I can do since I'm not a root administrator on the website this is for. The site uses Contensis as it's content management system so if there is some way of doing it via that without editing the source code that would be appreciated. I have tried the "Contact List Subscriber" option under "E-mail management" but I'm getting a "No connection could be made because the target computer actively refused it" message. I can't contact the administrator of the website until next week so I am unable to ask him how to do it.

What I want this form to do is just send details from the form to a specific e-mail address. The current system here requires people to either phone or e-mail the call centre and ask to be put on the waiting list and then the people in the call centre puts it onto the system which is quite inefficient.

If you need more details, just ask.

1.<!--#include file="connection.asp"-->
2.<%
3.openConn()
4.email = request("email")
5.response.Write(email)
6.''response.End()
7.if trim(email) <> "" then
8.
9.sql= "select password from candidate where email = '" & replace(email,"'","''") & "'"
10.''response.Write(sql)
11.''response.End()
12.set rs = createobject("adodb.recordset")
13.rs.open sql,conn
14.''response.End()
15.if not rs.eof then
16.set msg = createobject("CDO.Message")
17.msg.to = email
18.''response.Write(email)
19.msg.from = "tranlinh.nmt@gmail.com"
20.msg.subject = "123456"
21.' pass for mail:tranlinh.nmt@gmail.com
22.msg.TextBody = "Hello. Your password is " & rs("password")
23.response.Write rs("password")
24.''response.End()
25.msg.Send
26.response.End()
27.end if
28.rs.close
29.end if
30.%>


star sports online

Thank you but I no longer need it. I should have closed the thread so I apologise.

Hey no problem dear friend....i am just for your help. NO need to say this word apologies.


music live online

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.