Groups | Blog | Home
all groups > inetserver asp general > october 2004 >

inetserver asp general : CDO.Message.1 (0x80040220) The "SendUsing" configuration value is invalid.


CK
10/28/2004 12:50:06 AM
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]
10/28/2004 10:28:42 AM
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.)




[quoted text, click to view]

AddThis Social Bookmark Button