Find out if you have CDONTS or ASPmail Components.
then do a search online for
CDONTS example ASP
and or
ASPmail example ASP
this will give you plenty of very basic examples of using them and will get you going.
here's are two as simple as it will get also
save these seperatly and change the action attribute in the form tag to what you named the processing script
CDONTS (this example has no form fields added. use request to get the form fields posted and palce them in the Body field)
<%
Dim objMail
Set objMail = Server.CreateObject("CDONTS.NewMail"
objMail.From = "rob@tconsult.com"
objMail.Subject = "How TO send email with CDONTS"
objMail.To = "someone@someplace.com"
objMail.Body = "This is an email message" & vbcrlf&_
"with CDONTS." & vbcrlf&_
"It is really easy. "
objMail.Send
Response.write("Mail was Sent"
'You must always do this with CDONTS.
set objMail = nothing
%>
ASPmail (this example loops thru all form fields)
<%
Set Mailer = Server.CreateObject("SMTPsvg.Mailer"

Mailer.FromName = "Joes Widgets Corp."
Mailer.FromAddress = "Joe@yourdomain.com"
Mailer.RemoteHost = "localhost"
Mailer.AddRecipient "John Smith", "jsmith@anotherhostname.com"
Mailer.Subject = "Your Subject!"
strMsgHeader = "Form information follows" & vbCrLf
for each qryItem in Request.QueryString
strMsgInfo = strMsgInfo & qryItem & " - " & request.querystring(qryItem) & vbCrLf
next
strMsgFooter = vbCrLf & "End of form information"
Mailer.BodyText = strMsgHeader & strMsgInfo & strMsgFooter
if Mailer.SendMail then
Response.Write "Mail sent..."
else
Response.Write "Mail send failure. Error was " & Mailer.Response
end if
%>
hope that kind of helps
A language that doesn't affect the way you think about programming is not worth knowing.
admin@onpntwebdesigns.com