Creating an Email containing a Web site form

A

Alan Morris

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.
 
R

Ray at

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
 
A

Alan Morris

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,132
Messages
2,570,775
Members
47,334
Latest member
danialcarter

Latest Threads

Top