CDO.Message.1 error '80040220' The "SendUsing" configuration value is invalid

Posted on 2005-03-05
Medium Priority
Last Modified: 2012-05-05
am using Windos XP on local machine
cdomessage.send does not function and gives error

CDO.Message.1 error '80040220'

The "SendUsing" configuration value is invalid.

/aaa/bbb.asp, line 13

is there any way to use smtp server to send message through local machine
smtp server on local machine using iis 5 is running
cdosys.dll is working

I used following code as well all other similar codes and configations. can any body send a code which has actually worked on local machins using windows XP

Set cdoConfig=server.CreateObject("CDO.Configuration")

set cdoMessage=Server.CreateObject("CDO.Message")
cdoMessage.Configuration = cdoConfig
cdoMessage.From = "abc@hotmail.com"
cdoMessage.To = "xyz@hotmail.com"
cdoMessage.Subject = Request.Form("subject")
cdoMessage.TextBody = Request.Form("body")

Set cdoMessage=Nothing
Set cdoConfig=Nothing

Question by:ravisachdev
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
LVL 34

Accepted Solution

Dave_Dietz earned 1000 total points
ID: 13480207
This may be a bug:

You receive an error message that states "The 'SendUsing' configuration value is invalid" when you use CDOSYS to send e-mail in Outlook 2002


You might alo be able to work around it by setting the application isolation to Low instead of Medium or High.

Dave Dietz

Featured Post

Optimize your web performance

What's in the eBook?
- Full list of reasons for poor performance
- Ultimate measures to speed things up
- Primary web monitoring types
- KPIs you should be monitoring in order to increase your ROI

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In our day to day coding, how many times have we come across a necessity to check whether a URL is a broken link or not? For those of you that answered countless and are using ColdFusion like myself, then this article is for you.  It will show yo…
Article by: kevp75
Hey folks, 'bout time for me to come around with a little tip. Thanks to IIS 7.5 Extensions and Microsoft (well... really Windows 8, and IIS 8 I guess...), we can now prime our Application Pools, when IIS starts. Now, though it would be nice t…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…
Suggested Courses

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question