473,739 Members | 5,405 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 2345
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.w ithheld.com> wrote in message
news:1n******** *************** *********@4ax.c om...
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.w ithheld.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
5958
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 generated page (containing a full and conventional Mailto: tag) is what is ultimately presented to the user. The intent is to thwart Spam bots and spiders, by NOT having the email address in the original HTML Source, but ultimately presenting it to...
88
12538
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
11871
by: Steevo | last post by:
Any suggestions as to the best programs for cloaking email addresses? Many thanks -- Steevo
1
2914
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 2000. The access file is in access 2000 format. I have a form that will hold the relevent parameters for the query/report that reports the statistics for all job records that match a certain criteria. These are: - A Customer Name.
5
2290
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 collection object -- say, a dictionary. Populating that collection object with custom objects, say, Person. What I really want to see is how to populate the properties of those Person objects from a datasource: instantiate one Person, fill...
11
3548
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 edge of the form, it gets cut off because of the form. So is there anyway to make a richer tooltip?? Or is there a way for my picturebox to float above (outside) of the form??
6
5152
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 can't seem to find the answer I am looking for - just more questions! I want an object to hold Case details, one of the properties of this Case class will be RequestedBy. I ideally want this property to be a collection of User Objects (which...
1
3140
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 what i want is when user create any account, adming will decide whether to allow user to use site or not by sending mail containing account activation link to user into his mail. Only when user go to that link his account will get activated.
4
3477
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 respective agency record appearing on the main form at the current time. Instead, what I get is the email form without the appropriate information in the textboxes of the email form.
0
8792
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9479
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
9266
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
1
6754
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4570
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4826
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3280
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2748
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2193
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.