473,394 Members | 1,960 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

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

Creating an Email containing a Web site form

I would like to write a generalised page which creates an email
containg the (calling) HTML form complete with the user populated
data.

In this way the appearance of the email will be just like the form
elements of the form that called the generalised page together with
the completed fields.

I can see that I can caputure the (blank) calling page itself in the
email by using the CreateMHTMLBody method of CDO. I can also see how I
can retreive the individual elements of the form using Request. But is
it possible to combine the two?

Any guidance greatly appreciated.
Jul 19 '05 #1
2 2336
You can create a form in an html e-mail just fine, but the action of the
form will have to be a fully qualified url to your site, like

<form action="http://yoursite.com/page.asp" ...>

If I were you though, I'd just send a link to a form on a website though.
Not every e-mail program will display the form (or any html) or allow
submission of forms.

Ray at work

"Alan Morris" <al**@address.withheld.com> wrote in message
news:1n********************************@4ax.com...
I would like to write a generalised page which creates an email
containg the (calling) HTML form complete with the user populated
data.

In this way the appearance of the email will be just like the form
elements of the form that called the generalised page together with
the completed fields.

I can see that I can caputure the (blank) calling page itself in the
email by using the CreateMHTMLBody method of CDO. I can also see how I
can retreive the individual elements of the form using Request. But is
it possible to combine the two?

Any guidance greatly appreciated.

Jul 19 '05 #2
Ray,

Thanks your suggestion on this, what I was trying to do is capture the
completed form (not just the form data fields) as filled out by the
user. The idea is to create a system to replace/emulate an existing
paper forms with EMail based forms.

So the email recipient 'sees' the form as completed by the user, and
is able to file as he/she would have done with a piece of paper.

I want the asp that actually creates the mail message to be general in
teh sense that it does it (te above) for any calling page.

Rgds

On Fri, 17 Oct 2003 10:22:13 -0400, "Ray at <%=sLocation%>"
<myfirstname at lane34 dot com> wrote:
You can create a form in an html e-mail just fine, but the action of the
form will have to be a fully qualified url to your site, like

<form action="http://yoursite.com/page.asp" ...>

If I were you though, I'd just send a link to a form on a website though.
Not every e-mail program will display the form (or any html) or allow
submission of forms.

Ray at work

"Alan Morris" <al**@address.withheld.com> wrote in message
news:1n********************************@4ax.com.. .
I would like to write a generalised page which creates an email
containg the (calling) HTML form complete with the user populated
data.

In this way the appearance of the email will be just like the form
elements of the form that called the generalised page together with
the completed fields.

I can see that I can caputure the (blank) calling page itself in the
email by using the CreateMHTMLBody method of CDO. I can also see how I
can retreive the individual elements of the form using Request. But is
it possible to combine the two?

Any guidance greatly appreciated.


Jul 19 '05 #3

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

Similar topics

4
by: john Q | last post by:
I found a PHP based email obfuscator for use in websites, where the source HTML (PHP, actually) file doesn't contain the actual email address in the Mailto tag, but generates it and that...
88
by: Mike | last post by:
Is there a way to determine what a user's default email client is? I read a post from 3 years ago that said no. I guess I'm hoping something has come along since then.
117
by: Steevo | last post by:
Any suggestions as to the best programs for cloaking email addresses? Many thanks -- Steevo
1
by: longtim | last post by:
I have been having endless difficulty creating reports/queries that set any relevent parameters from controls in forms. I am creating an application under access 2003 but will target access...
5
by: | last post by:
Trying to learn about manipulating collections of objects, and populating these objects dynamically from datasources. Could someone post a code sample that shows the following: Instantiating a...
11
by: Webster | last post by:
Hello, I was wondering if there's a way to create a tooltip but add graphics to it. Currently I have a picturebox that I dynamically add graphics/labels/etc to, but when this "tooltip" is on the...
6
by: MikeSwann | last post by:
Dear All, I am trying to decide on to create a collection object for a project that I am working on. I am fairly new to OOP so this may be on the basic side. I have looked on the groups, but...
1
by: archana | last post by:
Hi all, I want to develop one web application. What i want is to allow user to create account but at that time before giving rights to that user admin should accept this person's account. So...
4
by: zufie | last post by:
I have a main form containing a command SEND button that prompts an email form to pop up. The email address(es) that are supposed to appear on the email form are those corresponding to the...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

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.