I'm trying to get a simple asp file to work, but it when I view it in my IE Browser, it does not show anything. Same problem as previous post, but much simpler code. Thanks for any help on this.
Code:
<%
response.write "Hello"
%>
I use Dreamweaver 4.0 to create my site.
My site is hosted on an FTP server.
I installed the IIS components.
I use IE 6.0 +
OS Windows XP
This is what I'm trying to run in IE. When I run it on the server side, it just blinks when I click submit. When I view it in IE through Dreamweaver it shows the code. At no time do I get aan email sent to me at: ciasecuritywebmaster@gmail.com. Thanks. (I did not try any other browser)
Code:
<%
if Request.Querystring("isSubmitted") = "yes" then
Dim fname, lname
Dim objCDO
fname = Request.Form("First Name")
lname = Request.Form("Last Name")
Set ObjSendMail = CreateObject("CDO.Message")
<!--Set objCDO = Server.CreateObject("CDO.Message") Old One using Server.CreateObject -->
<!--Set ObjSendMail = CreateObject("CDO.Message") -->
objCDO.From = "ciasecuritywebmaster@gmail.com"
objCDO.To = "ciasecuritywebmaster@gmail.com"
objCDO.Cc = ""
objCDO.Bcc = ""
objCDO.Subject = "Client Survey..."
objCDO.Body = "Name: " & fname & " " & lname "
objCDO.BodyFormat = 1
objCDO.MailFormat = 1
objCDO.Send
ConfirmMsg = "Thank you for completing our survey!"
<p> </p>
<table width="67%" border="0" cellspacing="0" cellpadding="0">
<tr valign="top">
<td colspan="3" height="42"><font face="Myriad Pro" size="4"><b>Online Survey</b></font></td>
</tr>
<tr valign="top">
<td colspan="3" height="42">
<p><font face="Tahoma" size="2">Hello,</font></p>
<p><font face="Tahoma" size="2">With the passing of our first year anniversary
of the APA merger and in our continuing effort to keep our clients happy,
we respectfully request that you take the time to fill out this survey.
Thank you.</font></p>
<font face="Myriad Pro" size="4"></font></td>
</tr>
<tr valign="top">
<td height="18" colspan="2"><font face="Tahoma" size="2">First Name
<input type="text" name="fname">
</font></td>
<td width="39%" height="18"><font face="Tahoma" size="2">Last Name
<input type="text" name="lname">
</font></td>
</tr>
</table>
Bookmarks