gcook1
09-19-2005, 09:16 AM
I'm looking for some help on coding an ASP message. I have a form that users will fill out. When they submit it, it sends an email message to the form owner with their input. The current code just puts the answers in a simple list. The form owner is asking me if I can send an email message with HTML imbedded in it to make the form more "readable". Here's the current message code. Any ideas how I can "pretty it up"?
Dim strBody
strBody = "To: " & strMailTo & VbCrLf & _
"Cc: " & strCopyTo & VbCrLf & _
"From: " & strLoginID & "@steelcase.com" & VbCrLf & _
"Date: " & Date & " Time: " & Time & VbCrLf & VbCrLf & _
FORM_NAME & VbCrLf & _
"==================================" & VbCrLf & _
QUESTION1 & Answer1 & VbCrLf & _
QUESTION2 & Answer2 & VbCrLf & _
QUESTION3 & Answer3 & VbCrLf & _
QUESTION4 & Answer4 & VbCrLf & _
QUESTION5 & Answer5
Dim strBody
strBody = "To: " & strMailTo & VbCrLf & _
"Cc: " & strCopyTo & VbCrLf & _
"From: " & strLoginID & "@steelcase.com" & VbCrLf & _
"Date: " & Date & " Time: " & Time & VbCrLf & VbCrLf & _
FORM_NAME & VbCrLf & _
"==================================" & VbCrLf & _
QUESTION1 & Answer1 & VbCrLf & _
QUESTION2 & Answer2 & VbCrLf & _
QUESTION3 & Answer3 & VbCrLf & _
QUESTION4 & Answer4 & VbCrLf & _
QUESTION5 & Answer5