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
See http://kb.discountasp.net/article.aspx?id=10078for a sample code. Vikram DiscountASP.NET www.DiscountASP.NET
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')
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