Here's what I do in ASP but it puts the resutling email in a very unfriendly
format.
<%
Set objSendmail = CreateObject("CDONTS.NewMail")
Dim strMsgHeader, strMsgInfo, i
strMsgHeader = strMsgHeader & "Applicant Information Follows: " & vbCrLf
for i = 1 to Request.Form.Count
strMsgInfo = strMsgInfo & Request.Form.Key(i) & ": " &
Request.Form.Item(i) & vbCrLf
next
strMsgFooter = vbCrLf & "End of Applicant information"
With objSendmail
.From =
we****@domain.com
.to = "ap*****@domain.com"
.Subject = "Application"
.Body = strMsgHeader & strMsgInfo & strMsgFooter
.Importance = 1
.Send
End With
Set objSendMail = NOTHING
%>
How would I need to construct the form differently?
How would I process the form and format it into XML?
Thank you,
Mark
"Anthony Jones" <An*@yadayadayada.comwrote in message
news:eY**************@TK2MSFTNGP06.phx.gbl...
>
"John Doe" <jo******@domain.comwrote in message
news:2%**************@tornado.tampabay.rr.com...
>I've written many pages that emails the content of a web form, but the
data
>formatted very nicely. Is there a way to have the content of the
submitted
form data via email in XML?
Yes.
What are you asking, How to build an XML file? OR how to build an XML
file
and attach it to an EMail?