i have had luck with this email code
place before your insert record coding
<%
Dim ObjSendMail
Set ObjSendMail = CreateObject("CDO.Message")
'This section provides the configuration information for the
remote SMTP server.
ObjSendMail.Configuration.Fields.Item ("
http://schemas.microsoft.com/cdo/configuration/smtpserver")
="127.0.0.1"
ObjSendMail.Configuration.Fields.Item ("
http://schemas.microsoft.com/cdo/configuration/smtpserverport")
= 25
ObjSendMail.Configuration.Fields.Item ("
http://schemas.microsoft.com/cdo/configuration/smtpconnectiontimeout")
= 60
ObjSendMail.Configuration.Fields.Update
'End remote SMTP server configuration section==
if Request.Form("Submit1") = "Send Form" then
ObjSendMail.To = Request.Form("textfield")
ObjSendMail.CC = "xxxx@jbwebworks.com"
ObjSendMail.BCC = "xxxx@bellsouth.net"
ObjSendMail.Subject = "RE:golf tournament entry form is
attached"
ObjSendMail.From = "pco@pcogolf.org"
' we are sending a text email.. simply switch the comments
around to send an html email instead
'ObjSendMail.HTMLBody = Request.Form("textfield")
ObjSendMail.TextBody = ObjSendMail.TextBody &
cStr(Request.Form("textfield"))
ObjSendMail.TextBody = ObjSendMail.TextBody & "" &
vbCrlf & ""
ObjSendMail.TextBody = ObjSendMail.TextBody & "Thank you
for entering this years Panhandle Charitable Open"
ObjSendMail.TextBody = ObjSendMail.TextBody & "" &
vbCrlf & ""
ObjSendMail.TextBody = ObjSendMail.TextBody & "Entry form
is attached"
ObjSendMail.TextBody = ObjSendMail.TextBody & "" &
vbCrlf & ""
ObjSendMail.TextBody = ObjSendMail.TextBody & "Please
print form, fill out and mail in with your entry fee"
ObjSendMail.TextBody = ObjSendMail.TextBody & "" &
vbCrlf & ""
ObjSendMail.TextBody = ObjSendMail.TextBody & "" &
vbCrlf & ""
ObjSendMail.AddAttachment Server.MapPath("/entryform.doc")
ObjSendMail.Send
Set ObjSendMail = Nothing
end if
%>