Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

CDO.message not working.

Status
Not open for further replies.

wvdba

IS-IT--Management
Jun 3, 2008
465
US
i have this code:
Code:
<%
response.write "<br><br> starting program.<br><br>"  
Set objMessage = CreateObject("CDO.Message")
objMessage.Subject = "Testing CDO Message"
objMessage.From = "my_email@mynetwork.com"
objMessage.To = "somebody@soem_network.com"
objMessage.TextBody = "This is some sample message text." 
objMessage.Send
response.write "<br><br> finished program.<br><br>"   
%>
but i'm getting this error:
starting program.
CDO.Message.1 error '80040220'
The "SendUsing" configuration value is invalid.
/custom_apps/test9z.asp, line 10
 
try this code



--------
GOOGLE is a great resource to find answers to questions like "how do i..."

If you don't know exaclty what you want to do or what to search on, try Google Suggest: --------
I have recently been semi-converted to ensuring all my code (well most of it) works in both javascript and non-javasc
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top