Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17


XML embedded Email Message

Posted on 2003-11-06
Medium Priority
Last Modified: 2010-04-06
I have someone asking for a way to send someone an email that contains some type of form, or GUI interface where a person receiving the email could enter in some basic pieces of information and when done submit that information directly into a database located somewhere else on the internet. They are wanting this done via XML.
Have any of you ever heard of/thought of how this could be done. I'm not sure how an xml message could be embedded or attached to an email, allowing the reader to enter data and submit it to a database.

If you have any ideas how this would work could you point me in the right direction?
Question by:scatee7
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
LVL 11

Expert Comment

ID: 9695541
Are there even any email clients that support arbitrary XML?

Seems to me there's no reason not just to use a plain old HTML form for something like this.

Author Comment

ID: 9697533
That is my thought but:

How could you pass the credentials for the database connection without the entire internet being able to see?
LVL 11

Expert Comment

ID: 9698774
For the form, you mean? You don't do any authentication in the form, you do that in the form processor it posts to. And the DB connection ifno itself you should keep in an include file in non-public space anyway.
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.


Author Comment

ID: 9701401
Would that authentication be passed in clear text or is there a way to encrypt the authentication? I do not want someone to be able to see the user and pass to access the db.

Accepted Solution

minnirok earned 1000 total points
ID: 9716676
You should not be passing the authentication user/pass for your database to any machine...  There's no need for doing so and it clearly presentes a huge risk.

Rather, setup an include file on the server that has the database connection functions & user/pass in it.  If you place this database connectivity file in a directory above the public www directory, nobody from the outside world will be able to access it but your server will still be able to find it through the local file system.

Best way to go for this would be using PHP/mySQL as it's free and works the most seemlessly w/ all operating systems.  Could also use ASP and Access or some other database system, but this is relies upon windows.

Author Comment

ID: 9716752
that makes much more sense.

I appreciate the insight.

LVL 11

Expert Comment

ID: 9719024
> You should not be passing the authentication user/pass for your database to any machine... Rather, setup an include file on the server that has the database connection functions & user/pass in it.

Isn't that what I said?

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I will show you how to create a ASP.NET Captcha control without using any HTTP HANDELRS or what so ever. you can easily plug it into your web pages. For Example a = 2 + 3 (where 2 and 3 are 2 random numbers) Session("Answer") = 5 then we…
Introduction Since I wrote the original article about Handling Date and Time in PHP and MySQL several years ago, it seemed like now was a good time to update it for object-oriented PHP.  This article does that, replacing as much as possible the pr…
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

688 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question