Application("SMTPSERVER") does not work in global.asa

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • yimma216
    New Member
    • Jul 2008
    • 44

    Application("SMTPSERVER") does not work in global.asa

    Hi, we have a vbscript.

    However it is not working for the application at all.

    Am i missing something here?

    <object runat="server" scope="applicat ion" id="mailcongid "
    progid="CDO.Con figuration"></object>

    <script language="vbscr ipt" runat="server">

    sub Applcation_OnSt art
    sch = "http://schemas.microso ft.com/cdo/configuration/"
    mailConfig.fiel ds.Item(sch & "sendusing" ) = 2
    mailConfig.fiel ds.Item(sch & "smtpserver ") = "mail"
    mailConfig.fiel ds.update

    Application("SM TPServer") = "mail"
    end Sub

    </script>
  • Nicodemas
    Recognized Expert New Member
    • Nov 2007
    • 164

    #2
    What do you mean by not working? I ask, what is it you are trying to do or get that isn't working?

    Comment

    Working...