Microsoft VBScript runtime error '800a01a8'

Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

sureshking

Thread Starter
Joined
Nov 5, 2007
Messages
1
i got this error help me
Microsoft VBScript runtime error '800a01a8'

Object required

/thanks_new.asp, line 120
below my code
<%
Dim t1name,t1,t2name,t2,t3name,t3,t4name,t4,stname,st
t1name = "Name :"
t1 = Request.Form("t1")
t2name = "Email :"
t2 = Request.Form("t2")
t3name = "Phone :"
t3 = Request.Form("t3")
t4name = "Address :"
t4 = Request.Form("t4")
stname = "Questions :"
st = Request.Form("s1")
Dim JMail
Set JMail = Server.CreateObject("JMail.SMTPMail")
'Change this line to the address of your email server.
'Something like this: mail.yoursite.com:25
JMail.ServerAddress = "mail.okj.in"
JMail.AddRecipient "[email protected]"
'CHANGE THE EMAIL ADDRESS IN QUOTES BELOW TO THE ADDRESS YOU WANT THIS MAIL SENT
JMail.Sender = t2
JMail.Subject = "Feedback from okj.in"
JMail.Body = t1name & vbcrlf&_
t1 & vbcrlf&_
t2name & vbcrlf&_
t2 & vbcrlf&_
t3name & vbcrlf&_
t3 & vbcrlf&_
t4name & vbcrlf&_
t4 & vbcrlf&_
stname & vbcrlf&_
st
JMail.Silent = True
JMail.Logging = True
JMail.Execute
Set JMail = Nothing
IF NOT JMail.Execute THEN
Response.Write( "ERROR MESSAGE: " & JMail.ErrorMessage & "<BR>" & vbcrlf )
Response.Write( "ERROR SOURCE: " & JMail.ErrorSource & "<BR>" & vbcrlf )
Response.Write( "LOG: <pre>" & JMail.Log & "</pre>" & vbcrlf )
ELSE
Response.Write "Your mail has been successfully>"
END IF
%>
 
Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 807,865 other people just like you!

Latest posts

Staff online

Top