Wrox Programmer Forums
|
ASP CDO As of Oct 5, 2005, this forum is now locked. No posts have been deleted. Please use "Classic ASP Professional" at: http://p2p.wrox.com/forum.asp?FORUM_ID=56 for discussions similar to the old ASP Pro Code Clinic or one of the other many remaining ASP and ASP.NET forums here.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP CDO 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 June 24th, 2005, 01:34 PM
Registered User
 
Join Date: Jun 2005
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to NyeruBaka
Default CDO.MESSAGE ERROR (0x8004020E)

Hi Folks, I'm Having this HELL Of a Problem With CDO.Message and i checked with others forums and NONE could help me... i Hope You Guys CAN

I"m trying ONLY to send a normal email.. nothing more...and this error dont stop to appear....
Error Type:
0x8004020E)
Cannot modify or delete an object that was added using the COM+ Admin DK

<%
Set objCDOSYSMail = Server.CreateObject("CDO.Message")
Set objCDOSYSCon = Server.CreateObject ("CDO.Configuration")

            objCDOSYSCon.Fields("http://schemas.microsoft.com/cdo/configuration/smtpserver") = "A Valid SMTP"
objCDOSYSCon.Fields("http://schemas.microsoft.com/cdo/configuration/smtpserverport") = 25
            objCDOSYSCon.Fields("http://schemas.microsoft.com/cdo/configuration/sendusing") = 2
            objCDOSYSCon.Fields("http://schemas.microsoft.com/cdo/configuration/smtpconnectiontimeout") = 60
            objCDOSYSCon.Fields("http://schemas.microsoft.com/cdo/configuration/sendusername") = "VALID EMAIL"
            objCDOSYSCon.Fields("http://schemas.microsoft.com/cdo/configuration/sendpassword") = "123Mudar"

objCDOSYSCon.Fields.update

Set objCDOSYSMail.Configuration = objCDOSYSCon
objCDOSYSMail.From = "A VALID EMAIL"
objCDOSYSMail.To = "A VALID EMAIL"
objCDOSYSMail.Subject = "TEST OF CDOSYS"
objCDOSYSMail.TextBody = "TEST OF CDOSYS"
bjCDOSYSMail.HtmlBody = HTML

objCDOSYSMail.fields.update
objCDOSYSMail.Send


Set objCDOSYSMail = Nothing
Set objCDOSYSCon = Nothing

response.write "E-mail Send"

%>

PLEASE GUYS TRY TO HELP WITH THIS ONE, seens stupid but is disturbing me ... ehehe TY





Similar Threads
Thread Thread Starter Forum Replies Last Post
Source: CDO.Message.1 please help me:) ilknur SQL Server 2000 1 July 23rd, 2006 12:52 PM





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