Home > Archive > ASP > October 2004 > CDO.Message.1 (0x80040220) The "SendUsing" configuration value is invalid.
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| 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.
| |
| Aaron [SQL Server MVP] 2004-10-28, 3:55 pm |
| 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.
>
>
|
|
|
|
|