S
Steve
Hi all,
I'm trying to send e-mail using ASP: "CDO.Message" but
its not working for me.
I'm trying to use SMTP within IIS to send the mail (not
our exchange server), the "Default SMTP Virtual Server"
is started and running. The "Simple Mail Transfer
Protocol (SMTP)" service within 'Services' is started and
running. My machine is Win XP Pro.
This is my code (from devguru.com):
<%
Dim MyMail
Set MyMail = Server.CreateObject("CDO.Message")
MyMail.From = "(e-mail address removed)"
MyMail.To = "(e-mail address removed)"
MyMail.Cc = ""
MyMail.Bcc = ""
MyMail.Subject = "Subject"
MyMail.TextBody = "Text Body"
MyMail.Fields.Update()
MyMail.Send()
Set MyMail = Nothing
%>
This is the error:
CDO.Message.1 (0x80040220)
The "SendUsing" configuration value is invalid.
/NewOnlineForms/test3.asp, line 14
I was using "CDONTS.NewMail" but I was advised to try and
move to "CDO.Message".
Any help with this would be great.
Thanks,
Steve
I'm trying to send e-mail using ASP: "CDO.Message" but
its not working for me.
I'm trying to use SMTP within IIS to send the mail (not
our exchange server), the "Default SMTP Virtual Server"
is started and running. The "Simple Mail Transfer
Protocol (SMTP)" service within 'Services' is started and
running. My machine is Win XP Pro.
This is my code (from devguru.com):
<%
Dim MyMail
Set MyMail = Server.CreateObject("CDO.Message")
MyMail.From = "(e-mail address removed)"
MyMail.To = "(e-mail address removed)"
MyMail.Cc = ""
MyMail.Bcc = ""
MyMail.Subject = "Subject"
MyMail.TextBody = "Text Body"
MyMail.Fields.Update()
MyMail.Send()
Set MyMail = Nothing
%>
This is the error:
CDO.Message.1 (0x80040220)
The "SendUsing" configuration value is invalid.
/NewOnlineForms/test3.asp, line 14
I was using "CDONTS.NewMail" but I was advised to try and
move to "CDO.Message".
Any help with this would be great.
Thanks,
Steve