| dprulhiere 2004-08-04, 11:15 pm |
| I am trying to learn the process of emailing data from a form.
Could someone help me get started
I have built the form with fields like name, address and phone number. There
is a submit button on the bottom of my page. this is as far as I have gotten.
I do not want to store the data in my database. Just want an email sent to me.
The tutorial on DW site gave me the following code...
<! --METEDATA TYPE="LypeLibrary"
FILE="CDONTS.DLL"
VERSION="1.2"
-->
<%
Dim objMessage
Set objMessage = Server.CreateObject("CDONTS.Newmail")
objMessage.Send
Request.Form("emailAddress"),"davidp@redwoodfs.com",Request.Form("subject"),Requ
est.Form("body")
Set objMessage = Nothing
%>
this worked ok for a simple mail but i would like to do several fields to be
included in the body. Dont know what to do.
Any help is appreciated
Thank You
|