Jump to content

Keep Getting Error Message


mal100
 Share

Recommended Posts

This is what i keep getting any suggestions ? any help would be greatly appreciated The page cannot be displayed There is a problem with the page you are trying to reach and it cannot be displayed. --------------------------------------------------------------------------------Please try the following:Click the Refresh button, or try again later.Open the localhost home page, and then look for links to the information you want. HTTP 500.100 - Internal Server Error - ASP errorInternet Information Services--------------------------------------------------------------------------------Technical Information (for support personnel)Error Type:(0x8004020F)The event class for this subscription is in an invalid partition /MyWeb/html_form_submit.asp, line 36Browser Type:Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; .NET CLR 3.0.04506.648) Page:POST 0 bytes to /MyWeb/html_form_submit.aspPOST Data:Time:Friday, July 17, 2009, 9:42:56 AM More information:Microsoft Support

<html><head><meta http-equiv="Content-Type" content="text/html; charset=windows-1252"><title>name</title></head><body><h1>Problem Report</h1><script type="text/vbscript">document.write(date())document.write("<br />")document.write(time())</script><form name="input" action="MyWeb/html_form_submit.asp" method="POST">		Full Name:<br><INPUT type="text" id="realname"><BR><br/>	Contact Number:<br><INPUT type="text" id="email"><BR><br />		Is this the computer that is defective<br>	<select id="answer">	<option value="1">Yes</option>	<option value="2">No</option>		</select><br />	<br />		Problem:<br/>	<select id="problems">	<option value="1">Cap</option>	<option value="2">Hardware</option>	<option value="3">Software</option>	<option value="4">Other</option>	</select>	<br/>	<br/>	<input type="submit" value="Submit" /></FORM></body></html>

asp code

<%Dim sMsgDim sToDim sFromDim sSubjectDim sTextBodyDim ObjMailsTo = "italywon@gmail.com" 'Who the Email is being sent to sFrom = "xyz@yourdomain.com" 'Who the email is coming from sSubject = "Problem Form Submission"sTextBody = request.form("realname")sTextBody = sTextBody & "<br />"sTextBody = sTextBody & request.form("email")sTextBody = sTextBody & "<br />"sTextBody = sTextBody & request.form("Problems")'Create the mail object Set objMail = Server.CreateObject("CDO.Message")'Set the configobjMail.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/sendusing") = 2 'This can be 1 depending on server setup objMail.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/smtpserver") = 10.176.2.76objMail.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/smtpserverport") = 25objMail.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/smtpauthenticate") = 0objMail.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/sendusername") = ""objMail.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/sendpassword") = ""objMail.Configuration.Fields.Update'Set key properties objMail.From = sFrom objMail.To = sToobjMail.Subject= sSubject  objMail.HtmlBody = sTextBody'Send the email objMail.Send 'Clean-up mail objectSet objMail = Nothingresponse.write("Success - Email Sent")%>

Link to comment
Share on other sites

so today at 4:00 pm i find out that all the coding that ive been trying and researching is no good because our servers dont accept it or something i dont know it sucks either way would of been nice to know on monday instead of me trying to learn 2 new languages anyways im just venting but do any of you know of a way to send a html form to an email without using PHP or ASP any help with be greatly appreciated cheers

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...