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 September 18th, 2004, 02:38 AM
Friend of Wrox
 
Join Date: May 2004
Posts: 105
Thanks: 0
Thanked 0 Times in 0 Posts
Default Problems on sending Email

Hello Guyz!

I`ve used the following code in order to send e-mails from my web page...

<%
Set myMail=CreateObject("CDO.Message")
myMail.Subject="Sending email with CDO"
myMail.From="[email protected]"
myMail.To="[email protected]"
myMail.TextBody="This is a message."
myMail.Send
%>
(it`s a copy-paste from www.w3schools.com)
---------------------
Error Type:
CDO.Message.1 (0x80040220)
The "SendUsing" configuration value is invalid.
---------------------
The Error that occurs is the following... what`s the problem with that?

Thank you in advance!
 
Old September 18th, 2004, 02:48 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 2,480
Thanks: 0
Thanked 1 Time in 1 Post
Default

Did you forget the SERVER there?
Code:
Set myMail=Server.CreateObject("CDO.Message")
Cheers!

_________________________
- Vijay G
Strive for Perfection
 
Old September 18th, 2004, 10:36 AM
Friend of Wrox
 
Join Date: May 2004
Posts: 105
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thank you for your reply. Unfortunattely the problem still exists!
I made the change you told me... but the error message is the same again! :(

---------------------
Error Type:
CDO.Message.1 (0x80040220)
The "SendUsing" configuration value is invalid.
---------------------
 
Old September 18th, 2004, 08:22 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 2,480
Thanks: 0
Thanked 1 Time in 1 Post
Default

Was the Exchange 2000 Server Service Pack 3 (SP3) installed recently? Though you can take a look at this. Hope this should help you resolve that.

Also looks like you are missing the codes that define the CDO.Message configuration.

Read Access to the Everyone Group Is Removed After You Install Exchange 2000 SP3

Cheers!

_________________________
- Vijay G
Strive for Perfection





Similar Threads
Thread Thread Starter Forum Replies Last Post
System.Net.Mail Problems With Sending An Email Doom C# 3 May 25th, 2008 02:49 PM
problems with sending email starfish2007 Pro PHP 0 June 6th, 2007 11:30 PM
Got problems with sending email using php HELP rongfu84 Beginning PHP 3 January 8th, 2006 10:23 AM





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