[thelist] ASP and form question

Marc Seyon seyon at delime.com
Sun Jul 7 23:31:01 CDT 2002


Message from Sharon F. Malone (7/7/2002 05:02 PM)
>Hi Joel:
>
>Just tried it hard coding the objMail.From field and FINALLY got an email
>reply. However, all it has is:
>
>Sent by:
>
> >
> > <%
> > Dim objMail
> > set objMail = Server.CreateObject("CDONTS.NewMail")
> > objMail.From = "info at 24caratdesign.com"
> > objMail.Subject = "Message from The Chocolate Foundry"
> > objMail.To = "sfmalo at 24caratdesign.com"
> > objMail.Body  = "Sent by: " & Request.Form("name") & vbCrlf & vbCrlf &
> > Request.Form("message")
> > objMail.Send
> > set objMail = nothing

Sharon, looking at your original form...

<form name="Order_Info_Form" action="process.asp" method="post"
enctype="text/plain" onSubmit="return
Order_Info_Form_Validator(this)"><input type="hidden" name="order-orig"
value="sfmalo at 24caratdesign.com">
<input type="hidden" name="order-bcc" value="cheftrain at yahoo.com">

you don't seem to have any input elements named "name" or "message".

Is that the whole of the form?
-marc



More information about the thelist mailing list