I don't see where you are setting the name of your SMTP server. Add that line
and it should work.
Mark
sheriff <[EMAIL PROTECTED]> wrote:
I have been trying to send mail through the CD0.message but i always
encourter error please i will want anyone to help me out.
this is the code below :
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-
1252">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>sending mail.</title>
</head>
<body>
<%
Set Mail = Server.CreateObject("CDO.Message")
Mail.Subject = Request("name") & " recommends this site!"
Mail.From = "[EMAIL PROTECTED]" ' Specify sender's address
Mail.to= Request("email") ' Name is optional
Mail.TextBody = "Hey, this is " & Request("name") & "!. You have to
check out this site: http://www.skimawebsolution.com bye!"
On Error Resume Next
Mail.Send
If Err <> 0 Then
Response.Write "Error encountered: " & Err.Description
End If
%>
</body>
</html>
The error message is :
Error encountered: The "SendUsing" configuration value is invalid.
please i need someone to help me out.
---------------------------------
Yahoo! Groups Links
To visit your group on the web, go to:
http://groups.yahoo.com/group/AspClassicAnyQuestionIsOk/
To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[Non-text portions of this message have been removed]
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/AspClassicAnyQuestionIsOk/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/