1. Computer problem? Tech Support Guy is completely free -- paid for by advertisers and donations. Click here to join today! If you're new to Tech Support Guy, we highly recommend that you visit our Guide for New Members.

Microsoft VBScript runtime error '800a01a8'

Discussion in 'Web & Email' started by sureshking, Nov 5, 2007.

Thread Status:
Not open for further replies.
  1. sureshking

    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
    %>
     
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 733,556 other people just like you!

Loading...
Thread Status:
Not open for further replies.

Short URL to this thread: https://techguy.org/648032

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice