CDOSYS examples

Discussion in 'Suggestions and Feedback' started by joshbeagley, Nov 29, 2006.

  1. joshbeagley

    joshbeagley Guest

    Hi,

    Could someone please show me a CDOSYS example that they have working with discountasp. I've tried every example I come across and I'm not having much luck. I keep getting error: 8004020e Thanks, you guys are the best! Also, I'd LOVE to have it work with hotmail, but I also have a yahoo and gmail account if that's not possible. thanks

    JB
     
  2. joshbeagley

    joshbeagley Guest

    Here's a copy of that exact code modified to how I'm using it. The error I get is:

    error '8004020e'

    /cdosys2.asp, line 20 (line 20 is 'objMessage.Send')

     
  3. Bruce

    Bruce DiscountASP.NET Staff

    you need to change this line


    Flds.Item("http://schemas.microsoft.com/cdo/configuration/smtpserver")="smtp.mail.yahoo.com"


    to


    Flds.Item("http://schemas.microsoft.com/cdo/configuration/smtpserver")="localhost"


    Bruce

    DiscountASP.NET
    www.DiscountASP.NET
     
  4. joshbeagley

    joshbeagley Guest

    that was waaay too easy. thanks Bruce
     

Share This Page