Microsoft VBScript runtime error '800a01b6'

Discussion in 'C#' started by Firesangel, Apr 4, 2008.

  1. #1
    Hello Everyone,

    I'm trying to create a (very) simple page to submit a form. I am recieving this error:

    Microsoft VBScript runtime error '800a01b6'

    Object doesn't support this property or method

    /SubmitApp.asp, line 92



    this is my code. Line 92 is red:

    ' send email
    Dim mail
    mail = Server.CreateObject("CDO.Message")
    mail.To = MailTo
    mail.From = Email
    mail.Subject = LastName & "Job Application"
    mail.textbody = body
    mail.send()

    Any help would be greatly appreciated!
     
    Firesangel, Apr 4, 2008 IP
  2. InfoSmith

    InfoSmith Peon

    Messages:
    884
    Likes Received:
    15
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Set mail = Server.CreateObject("CDO.Message")

    it's object
     
    InfoSmith, Apr 6, 2008 IP