I made some modifications to your code...hope this helps!!!
On Tue, 25 Jan 2005 20:01:44 -0000, sheriff <[EMAIL PROTECTED]> wrote:
>
> have been having problem send mail with ASP. WELL i need help with .
> this is the script
>
>
> <%
> Set Mail = Server.CreateObject("CDO.Message")
> Set objConfig = Server.CreateObject("CDO.Configuration")
With objConfig.Fields
.Item("http://schemas.microsoft.com/cdo/configuration/sendusing") = 1
.Update
End With
>
> Mail.Configuration = objConfig
> Mail.Subject = Request("name") & " recommends this site!"
> Mail.From = "[EMAIL PROTECTED]" ' Specify sender's address
> Mail.to= Request("email") ' Name is optional
> Mail.HTMLBody= "Hey, this is " & Request("name") & "!. You have to
> check out this site: http://www.skimawebsolution.com bye!"
> 'instead of using textbody use htmlbody
>
> On Error Resume Next
> Mail.Send
> If Err <> 0 Then
> Response.Write "Error encountered: " & Err.Description
> End If
> %>
>
>
> the error was . " sendUsing " is invalid.
> please help 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.
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/