I've had two problems on my contact form that several members have helped me with, and they have worked, however the last fix I did was so that the asp would come through to the email, looking correctly spaced, rather then a string of letters...that works now, however after I did that, the text areas that are associated with those questions, are not working. You can populate them with answers, on the site, (http://www.bigleagueskillllc.com/contact.html) however the answers do not show up when the email comes through after being sent. Help?Thank you! Here are the changed areas of the asp, and the html. Dim Body Body = Body & "Contact Name: " & ContactName & VbCrLf Body = Body & "Contact Phone: " & ContactPhone & VbCrLf Body = Body & "Contact Email: " & ContactEmail & VbCrLf Body = Body & "Contact Address: " & ContactAddress & VbCrLf Body = Body & "Students Name: " & StudentsName & VbCrLf Body = Body & "Year of High School Graduation: " & YearofHighSchoolGraduation & VbCrLf Body = Body & "Students SAT scores: " & StudentsSATscores & VbCrLf Body = Body & "Students GPA: " & StudentsGPA & VbCrLf Body = Body & "Please type all that apply: All types of financial aid scholarships Athletic scholarships only Skill development for baseball only" & pleasetypeallthatapplyAlltypesoffinancialaidscholarshipsAthleticscholarshipsonlySkilldevelopmentforbaseballonly & VbCrLf Body = Body & "Please type all that apply: College preferences: In state Out of state Public Private: " & PleasetypeallthatapplyCollegepreferencesInstateOutofstatePublicPrivate & VbCrLf
Does the email come through completely blank? I think it might be that you're using a lot of variables, and i'm wondering if they're defined properly. Add this code to the bottom of that code to see if the variables have any data in them: Response.Write(Body) Code (markup): If that shows up blank, then the variables aren't being defined...
Try Defining all your varibles...not just Body... Dim Body Dim ContactName Dim All the others The rest of the code.
As dylanj wrote, try Response.Write(Body). You could also throw it in between every concatenating line, and see if the string is adding up properly, or if there is one specific part that makes the Body variable blank.