472,328 Members | 1,111 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,328 software developers and data experts.

Web Form which send data in XML format

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?
Aug 6 '06 #1
2 1581

"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?

Aug 6 '06 #2
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?



Aug 6 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
by: sifar | last post by:
Hi, I am right now learning PHP & want to know if there is a way to send web form data to an Excel sheet located on a network. My windows xp PC...
3
by: NextOne | last post by:
Hi ! Is it possible to send an AJAX XMLHttpRequest using prototype.js API for a multipart/form-data ? I already done parsing form parameters...
3
by: vonclausowitz | last post by:
Hi Everyone, Is it possible to create some code which can automatically update my forms formatting? I have a small database with a form which is...
11
by: Johnny | last post by:
I'm a rookie at C# and OO so please don't laugh! I have a form (fclsTaxCalculator) that contains a text box (tboxZipCode) containing a zip code. ...
8
by: Johnny | last post by:
I'm a rookie at C# and OO so please don't laugh! I have a form (fclsTaxCalculator) that contains a text box (tboxZipCode) containing a zip code. ...
9
by: eswanson | last post by:
I have a web page I need to post a file plus some other fields to it. How can I do this from a asp.net page. I know I can send individual fields to...
7
by: Mark Waser | last post by:
Hi all, I'm trying to post multipart/form-data to a web page but seem to have run into a wall. I'm familiar with RFC 1867 and have done this...
27
by: Chris | last post by:
Hi, I have a form for uploading documents and inserting the data into a mysql db. I would like to validate the form. I have tried a couple of...
6
by: Dave | last post by:
On my form I have combo boxes. These combo boxes, after updating them, populate respective listboxes that are located below the combo boxes on the...
0
by: tammygombez | last post by:
Hey fellow JavaFX developers, I'm currently working on a project that involves using a ComboBox in JavaFX, and I've run into a bit of an issue....
0
by: concettolabs | last post by:
In today's business world, businesses are increasingly turning to PowerApps to develop custom business applications. PowerApps is a powerful tool...
0
better678
by: better678 | last post by:
Question: Discuss your understanding of the Java platform. Is the statement "Java is interpreted" correct? Answer: Java is an object-oriented...
0
by: teenabhardwaj | last post by:
How would one discover a valid source for learning news, comfort, and help for engineering designs? Covering through piles of books takes a lot of...
0
by: Kemmylinns12 | last post by:
Blockchain technology has emerged as a transformative force in the business world, offering unprecedented opportunities for innovation and...
0
by: CD Tom | last post by:
This happens in runtime 2013 and 2016. When a report is run and then closed a toolbar shows up and the only way to get it to go away is to right...
0
by: CD Tom | last post by:
This only shows up in access runtime. When a user select a report from my report menu when they close the report they get a menu I've called Add-ins...
0
by: Naresh1 | last post by:
What is WebLogic Admin Training? WebLogic Admin Training is a specialized program designed to equip individuals with the skills and knowledge...
0
by: antdb | last post by:
Ⅰ. Advantage of AntDB: hyper-convergence + streaming processing engine In the overall architecture, a new "hyper-convergence" concept was...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.