Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asp_cdo thread: Error Type: CDO.Message.1 (0x80040220)


Message #1 by "Steve W" <swyand@h...> on Tue, 28 Aug 2001 23:49:56
Can't find any info on this.. I believe that office xp has changed/update 

the cdo objects



I'm recv'ing an error with this code............



<%

Set objMessage = CreateObject("CDO.Message")

With objMessage

	.From = "webmaster@v..."

	.To = "webmaster@v..."

	.Subject = "Here comes a Subject"

	.HTMLBody = "<html><body> Here is an HTML body! </body></htm>"

	.AutoGenerateTextBody = False

	.TextBody = "Here is a text body"

	.Send

End With

%>



ERROR is:





CDO.Message.1 (0x80040220)

The "SendUsing" configuration value is invalid. 



Any thoughts,  oh yeah.... this works on other w2k boxes and I have 

removed and reinstalled smtp services



thx in advance,



../Steve



Message #2 by "Siegfried Weber" <sweber@c...> on Wed, 29 Aug 2001 01:37:12 +0200
AFAIK you are right in your assumption that Office XP changed/updated

CDOSYS (CDO for Windows 2000) to become CDOEX (CDO for Exchange 2000).



IMHO you now *must* specify a valid CDO.Configuration object (always

recommended BTW) and point it to the place, either a remote server or

the local pickup directory, where it should submit the message to.



<Siegfried />



> -----Original Message-----

> From: Steve W [mailto:swyand@h...]

> Sent: Wednesday, August 29, 2001 1:50 AM

> To: ASP CDO

> Subject: [asp_cdo] Error Type: CDO.Message.1 (0x80040220)

>

> Can't find any info on this.. I believe that office xp has

changed/update

> the cdo objects

>

> I'm recv'ing an error with this code............

>

> <%

> Set objMessage =3D CreateObject("CDO.Message")

> With objMessage

> 	.From =3D "webmaster@v..."

> 	.To =3D "webmaster@v..."

> 	.Subject =3D "Here comes a Subject"

> 	.HTMLBody =3D "<html><body> Here is an HTML body! </body></htm>"

> 	.AutoGenerateTextBody =3D False

> 	.TextBody =3D "Here is a text body"

> 	.Send

> End With

> %>

>

> ERROR is:

>

>

> CDO.Message.1 (0x80040220)

> The "SendUsing" configuration value is invalid.

>

> Any thoughts,  oh yeah.... this works on other w2k boxes and I have

> removed and reinstalled smtp services

>

> thx in advance,

>

> ../Steve

>



Message #3 by "Curtis F. Barnett" <cfb@s...> on Tue, 28 Aug 2001 19:37:54 -0500
Are you using vanilla IIS or is your site "hosted" by someone who has

"Customized?"



> -----Original Message-----

> From: Steve W [mailto:swyand@h...]

> Sent: Tuesday, August 28, 2001 6:50 PM

> To: ASP CDO

> Subject: [asp_cdo] Error Type: CDO.Message.1 (0x80040220)

>

>

> Can't find any info on this.. I believe that office xp has changed/update

> the cdo objects

>

> I'm recv'ing an error with this code............

>

> <%

> Set objMessage = CreateObject("CDO.Message")

> With objMessage

> 	.From = "webmaster@v..."

> 	.To = "webmaster@v..."

> 	.Subject = "Here comes a Subject"

> 	.HTMLBody = "<html><body> Here is an HTML body! </body></htm>"

> 	.AutoGenerateTextBody = False

> 	.TextBody = "Here is a text body"

> 	.Send

> End With

> %>

>

> ERROR is:

>

>

> CDO.Message.1 (0x80040220)

> The "SendUsing" configuration value is invalid.

>

> Any thoughts,  oh yeah.... this works on other w2k boxes and I have

> removed and reinstalled smtp services

>

> thx in advance,

>

> ../Steve

>


  Return to Index