I have explained it before that I don't know PHP, Perl or CGI. And so I have designed a Form
that I want it to send Mail when someone click submit, The is no back end Database because I don't
want the Information to be stored in the Database. I want the information to be send straight to the Email
I am just using ASP, VBScript and JavaScript only and the is no language that is been installed in my
computer like Perl, CGI and PHP.
If you are using PHP, Perl or CGI please try to be specific because I don't know this Languages.
Can someone help if my code are not corect.
Here is my Form and Script: Form.html and Sent.asp
<Form Name="register" method="get" action="sent.asp">
FirstName
LastName
DOB
Email
cell
Course
</form>
Here is my Script. sent.asp
<%
Dim FirstName
FirstName = Request("FirstName"
Dim LastName
LastName = Request("Last_Name"
Dim DOB
DOB = Request("DOB"
Dim Email
Email = Request("Email"
Dim Cell
Cell = Request("Cell"
Dim Course
Course = Request("Course"
dim objCDO
Set objCDO = Server.CreateObject("CDONTS.NewMail"
objCDO.To = liefer@123465.com '(variable we stored the user's email in)
objCDO.From = "someaddy@me.com"
objCDO.Subject = "Registration Confirmation"
objCDO.Body = ""
%>
<p>Thank you for registrering</p>
If you know PHP, CGI or Perl please send me better code that will work for me.
that I want it to send Mail when someone click submit, The is no back end Database because I don't
want the Information to be stored in the Database. I want the information to be send straight to the Email
I am just using ASP, VBScript and JavaScript only and the is no language that is been installed in my
computer like Perl, CGI and PHP.
If you are using PHP, Perl or CGI please try to be specific because I don't know this Languages.
Can someone help if my code are not corect.
Here is my Form and Script: Form.html and Sent.asp
<Form Name="register" method="get" action="sent.asp">
FirstName
LastName
DOB
cell
Course
</form>
Here is my Script. sent.asp
<%
Dim FirstName
FirstName = Request("FirstName"
Dim LastName
LastName = Request("Last_Name"
Dim DOB
DOB = Request("DOB"
Dim Email
Email = Request("Email"
Dim Cell
Cell = Request("Cell"
Dim Course
Course = Request("Course"
dim objCDO
Set objCDO = Server.CreateObject("CDONTS.NewMail"
objCDO.To = liefer@123465.com '(variable we stored the user's email in)
objCDO.From = "someaddy@me.com"
objCDO.Subject = "Registration Confirmation"
objCDO.Body = ""
%>
<p>Thank you for registrering</p>
If you know PHP, CGI or Perl please send me better code that will work for me.