Printable Version of Topic

Click here to view this topic in its original format

HTMLHelp Forums _ Server-side Scripting _ Help with creating a simple form web page

Posted by: Ougan Jun 11 2012, 09:38 AM

Im new here, and Im sorry if topics like this exsist eslewhere, but i could not find any in a search, and Im finding myself in need of help. Im a fairly novice coder in all respects, but have found myself in need of help.

Ive been tasked with making a simple web page, one that will allow users to fill out a simple form for a shortage and overage in supplies. The form is supposed to submit to a specific email address with all of the information in the email body.

Ive thus far managed to have it send on my co workers account, but the email body it blank. Worse still on my own account rather than sending when I click submit all it will do is show the code for the ASP file.

I really need help getting this form to properly submit but I cant find any examples to follow elsewhere. Ive attached the files, without any pertinent information of the company. If somone could help me I would be very greatfull

any help would be good at this point
EDIT: heres the code to the asp attachment, didnt notice it hasn't uploaded

<%
'Sends an email
Dim mail
Set mail = Server.CreateObject("CDO.Message")
mail.To = ""

mail.From = Request.Form("From")
mail.Subject = "Framing S&O Report"

mail.TextBody = Request.Form("finalMessage")



mail.Send()
Response.Write("Mail Sent!")
'Destroy the mail object!
Set mail = nothing
%>


Attached File(s)
Attached File  webpageDesign.html ( 7.36k ) Number of downloads: 190

Powered by Invision Power Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)