send mail
<%
Set myMail=CreateObject("CDO.Message")
myMail.Subject="Sending email with CDO"
myMail.From="mymail [at] mydomain.com"
myMail.To="someone [at] somedomain.com"
myMail.TextBody="This is a message."
myMail.Send
set myMail=nothing
%>
I use above code to send mail, but I got Error Type:
CDO.Message.1 (0x80040220)
The "SendUsing" configuration value is invalid.
What am I missing here?
Thanks milions,
Re: send mail
Souris wrote:
> <%
> Set myMail=CreateObject("CDO.Message")
> myMail.Subject="Sending email with CDO"
> myMail.From="mymail [at] mydomain.com"
> myMail.To="someone [at] somedomain.com"
> myMail.TextBody="This is a message."
> myMail.Send
> set myMail=nothing
> %>
>
> I use above code to send mail, but I got Error Type:
> CDO.Message.1 (0x80040220)
> The "SendUsing" configuration value is invalid.
>
> What am I missing here?
>
http://www.aspfaq.com/show.asp?id 26
Bob Barrows
--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"