CDO not working ?

Discussion in 'ASP.NET 2.0' started by Bruce, Jul 28, 2005.

  1. Bruce

    Bruce DiscountASP.NET Staff

    This is probably a permission issue.

    I am just curious, why don't you just use the system.web.mail class?

    Bruce

    DiscountASP.NET
    www.DiscountASP.NET
     
  2. Hi,


    I get an error ("Can't load library") when trying to access CDO in the Beta "sandbox" with the following code:

    Dim iconf as object=Server.CreateObject("CDO.Configuration")
    Dim fld as object=iconf.fields

    Any idea what the problem might be?CDO works fine on my production site.


    Regards


    Jon
     
  3. Bruce

    Bruce DiscountASP.NET Staff

    i tested system.web.mail on the beta server and it worked fine.

    Bruce

    DiscountASP.NET
    www.DiscountASP.NET
     
  4. Thanks Bruce - it seems system.web.mail is to be superceded by system.net.mail in asp.net 2. I tried it and it does indeed work fine. Any suggestions though on accessing the control panel and the spam issue ?

    Regards

    Jon
     
  5. Thanks Bruce, yes it probably is a permissions issue but I can't access the control panel with my betaID - although I can get into the sandbox from Aspnet2 using it fine. Any idea why ?


    I'll check out web.mail - doesn't it run into the same permission issues ?


    Regards


    Jon





    BTW For the last 18 months before I moved to DiscountAsp I was entirely spam free. Now I'm getting it in spades ! Presumably you have spam filters on your mail servers - can I change my settings ?
     
  6. Bruce

    Bruce DiscountASP.NET Staff

    we use spamblack list to filter out spam. The list we subscribed to block of known spam source.

    these filter is not configurable currently.

    Bruce

    DiscountASP.NET
    www.DiscountASP.NET
     

Share This Page