Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

CDO.Message.1 (0x80040220) The "SendUsing" configuration value is invalid.
Hi All,
I have this problem when try to send a mail by Using
CDO.Message. I got the info from the web, said it may the problem where, the
IIS SMTP setup incorrectly.
My question is How i can know my SMTP was setup correctly? And
how to test it? I did see all the "mailroot" folder did appear in my
"inetpub" folder. And Inside the "mailroot" folder do have all the
subfolders ( which is badmail, drop and etc..).

Please help. Thanks.
<%
Dim MyMail
Set MyMail = Server.CreateObject("CDO.Message")
MyMail.From = "justme@myaddress.com"
MyMail.To = "ck.ng@desit.net"
MyMail.Cc = "friend3@address3.com;friend4@address4.com"
MyMail.Bcc = "friend5@address5.com;friend6@address6.com"
MyMail.Subject = "Sending Mail via CDOSYS for Windows 2000/XP"
MyMail.TextBody = "Sending email with CDOSYS Message " & "objects is easy!
Try it!"
MyMail.Fields.Update()
MyMail.Send()
Set MyMail = Nothing
%>

Regards.
C.K.



Report this thread to moderator Post Follow-up to this message
Old Post
CK
10-28-04 01:55 PM


Re: CDO.Message.1 (0x80040220) The "SendUsing" configuration value is invalid.
You don't have quite enough code there to utilize CDO.Message (this looks
like CDONTS.NewMail with a swapped-out ProgID).

http://www.aspfaq.com/2026

--
http://www.aspfaq.com/
(Reverse address to reply.)




"CK" <cikare@yahoo.com> wrote in message
news:#oFf9KMvEHA.1976@TK2MSFTNGP09.phx.gbl...
>   Hi All,
>              I have this problem when try to send a mail by Using
> CDO.Message. I got the info from the web, said it may the problem where,
the
> IIS SMTP setup incorrectly.
>              My question is How i can know my SMTP was setup correctly?
And
> how to test it? I did see all the "mailroot" folder did appear in my
> "inetpub" folder. And Inside the "mailroot" folder do have all the
> subfolders ( which is badmail, drop and etc..).
>
>             Please help. Thanks.
> <%
>  Dim MyMail
> Set MyMail = Server.CreateObject("CDO.Message")
> MyMail.From = "justme@myaddress.com"
> MyMail.To = "ck.ng@desit.net"
> MyMail.Cc = "friend3@address3.com;friend4@address4.com"
> MyMail.Bcc = "friend5@address5.com;friend6@address6.com"
> MyMail.Subject = "Sending Mail via CDOSYS for Windows 2000/XP"
> MyMail.TextBody = "Sending email with CDOSYS Message " & "objects is easy!
> Try it!"
> MyMail.Fields.Update()
> MyMail.Send()
> Set MyMail = Nothing
> %>
>
> Regards.
> C.K.
>
>



Report this thread to moderator Post Follow-up to this message
Old Post
Aaron [SQL Server MVP]
10-28-04 08:55 PM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

ASP archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 05:13 AM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.