Wrox Programmer Forums
|
Classic ASP Basics For beginner programmers starting with "classic" ASP 3, pre-".NET." NOT for ASP.NET 1.0, 1.1, or 2.0
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old May 19th, 2006, 07:54 AM
Registered User
 
Join Date: May 2006
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to sudanish Send a message via AIM to sudanish Send a message via MSN to sudanish Send a message via Yahoo to sudanish
Default please help me

please tell me the solution , i have same error "Server object, ASP 0177 (0x800401F3) Invalid Class string" .... i did register my cdonts.dll but still having same problem , i m using windows XP ... what is the soluton for this? ... please help me

SUD
 
Old May 26th, 2006, 06:18 PM
Authorized User
 
Join Date: Jun 2003
Posts: 79
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to erobb Send a message via Yahoo to erobb
Default

CDONTS is depreciated. I would use CDO try the code below.


<%
on error resume next
Set Mssg = Server.CreateObject("CDO.Message")
set iConf = CreateObject("CDO.Configuration")
Set Flds = iConf.Fields
    With Flds
        .Item("http://schemas.microsoft.com/cdo/configuration/sendusing") = 2
        .Item("http://schemas.microsoft.com/cdo/configuration/smtpserver") = "localhost"
        .Item("http://schemas.microsoft.com/cdo/configuration/smtpconnectiontimeout") = 10
        .Item("http://schemas.microsoft.com/cdo/configuration/smtpserverport") = 25
        .Item("http://schemas.microsoft.com/cdo/configuration/smtpauthenticate")=0
        .Item("urn:schemas:httpmail:importance").Value = 2
        .Update
    End With

    with Mssg
    Set .Configuration = iConf
        .CreateMHTMLBody ("http://www.yahoo.com/")
        .Subject = "Test Of www.jhdesigninc.com Web Mail"
        .From = "[email protected]"
        .To = "[email protected]"
        .Send
    End With

    response.write err.description &"<BR<BR>"

Set Mssg=Nothing
Set iConf=Nothing
Set Flds=Nothing
%>

My test mail has been sent. Errors are listed above^

Earl
www.jhdesigninc.com

 
Old May 26th, 2006, 06:20 PM
Authorized User
 
Join Date: Jun 2003
Posts: 79
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to erobb Send a message via Yahoo to erobb
Default

opps almost forgot. If the above does not work try using




At the very top of the webpage to make sure the lib's are loaded










Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.