Clint
09-09-2005, 05:22 PM
I'm just a student and have recently been asked to provide a webpage with a page that sends an email the owner of the website the information on said page, so far the has meet with nothing but problems.
The error I'm receiving is below
Error Type:
Server object, ASP 0177 (0x800401F3)
Invalid class string
/addresschange.asp, line 2
Browser Type:
Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)
Page:
POST 92 bytes to /addresschange.asp
POST Data:
select=Mr&name=&address=&memno=&payno1=&payno2=&natinsno=&tel=&email=&submit=Send+My+Details
'''''''''' file 1 The code i'm using is
<form action="../../addresschange.asp" target="mainFrame" method="post" name="form1">
<input type="submit" value="Send My Details" name="submit" onClick="window.location='addressprocessed.htm'" >
''''''''''' file 2 addresschange.asp
</form>
<%
Set newMail = Server.CreateObject("JMail.SMTPMail")
newMail.ServerAddress = "smtp.e7even.com"
newMail.Sender = SenderEmail
newMail.Subject = Subject
newMail.AddRecipient "clint@yikes.co.uk"
newMail.Body = Body
newMail.Priority = 1
newMail.Execute
%>
If anyone know why I have this error please reply
The error I'm receiving is below
Error Type:
Server object, ASP 0177 (0x800401F3)
Invalid class string
/addresschange.asp, line 2
Browser Type:
Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)
Page:
POST 92 bytes to /addresschange.asp
POST Data:
select=Mr&name=&address=&memno=&payno1=&payno2=&natinsno=&tel=&email=&submit=Send+My+Details
'''''''''' file 1 The code i'm using is
<form action="../../addresschange.asp" target="mainFrame" method="post" name="form1">
<input type="submit" value="Send My Details" name="submit" onClick="window.location='addressprocessed.htm'" >
''''''''''' file 2 addresschange.asp
</form>
<%
Set newMail = Server.CreateObject("JMail.SMTPMail")
newMail.ServerAddress = "smtp.e7even.com"
newMail.Sender = SenderEmail
newMail.Subject = Subject
newMail.AddRecipient "clint@yikes.co.uk"
newMail.Body = Body
newMail.Priority = 1
newMail.Execute
%>
If anyone know why I have this error please reply