473,232 Members | 1,473 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,232 software developers and data experts.

submit form via e-mail?

Hi. I have made an html form which I would like to send by e-mail. When
the recipient receives the e-mail form, I would like them to be able to fill
it out and click the Submit button which will submit to an ASP page. This
ASP page contains the code to submit the form data to a database. The page
works fine when viewed through a browser, but the form will not submit in
Outlook 2002 (I haven't tried other mail programs). Any suggestions?

Mark
Jul 19 '05 #1
3 6014
What doesn't work about it? It should, if your users don't have form
submissions disabled in the restricted sites zone or something and if you
aren't trying to use javascript to submit the form.

But while this should work, you may not want to do this, unless you're in a
totally controlled environment, like this is for internal mail only, and you
know that every recipient will be using an e-mail client that this will work
with.

Ray at home

"Mark Michel" <mi****@eng.usf.edu> wrote in message
news:bk**********@news1.usf.edu...
Hi. I have made an html form which I would like to send by e-mail. When
the recipient receives the e-mail form, I would like them to be able to fill it out and click the Submit button which will submit to an ASP page. This
ASP page contains the code to submit the form data to a database. The page works fine when viewed through a browser, but the form will not submit in
Outlook 2002 (I haven't tried other mail programs). Any suggestions?

Mark

Jul 19 '05 #2
Thanks for the advice, Ray. I don't seem to have form submissions disabled
in restricted sites zone. And I'm not using JS to submit the form. When I
open the mail in Outlook and click the "Submit Form" button, nothing
happens. As mentioned before, the form submits without issue when I view it
in a browser (IE).

I'm seriously considering your advice about not using this technique as I
will not be sending to users in a controlled environment. If you have any
other thoughts though, I'd like to hear them. Thanks for your help.

Mark

"Ray at <%=sLocation%>" <myfirstname at lane 34 . komm> wrote in message
news:%2***************@tk2msftngp13.phx.gbl...
What doesn't work about it? It should, if your users don't have form
submissions disabled in the restricted sites zone or something and if you
aren't trying to use javascript to submit the form.

But while this should work, you may not want to do this, unless you're in a totally controlled environment, like this is for internal mail only, and you know that every recipient will be using an e-mail client that this will work with.

Ray at home

"Mark Michel" <mi****@eng.usf.edu> wrote in message
news:bk**********@news1.usf.edu...
Hi. I have made an html form which I would like to send by e-mail. When the recipient receives the e-mail form, I would like them to be able to

fill
it out and click the Submit button which will submit to an ASP page. This ASP page contains the code to submit the form data to a database. The

page
works fine when viewed through a browser, but the form will not submit in Outlook 2002 (I haven't tried other mail programs). Any suggestions?

Mark


Jul 19 '05 #3
I've tested this with method=get and method=post, and both work for me in
OL2002. It is possible that IE is just not taking focus when you submit the
form or something like that, but probably not. So, why it doesn't work, I
don't know. But, yeah, I think that your best bet is to use a web page. In
addition to the form issue, there are still people who cannot or do not
accept html messages. Especially when Outlook 2003 becomes more common,
there will be more people who convert HTML messages to plain text. At least
a link will still work in plain text.

Ray at work

"Mark Michel" <mi****@eng.usf.edu> wrote in message
news:bk**********@news1.usf.edu...
Thanks for the advice, Ray. I don't seem to have form submissions disabled in restricted sites zone. And I'm not using JS to submit the form. When I open the mail in Outlook and click the "Submit Form" button, nothing
happens. As mentioned before, the form submits without issue when I view it in a browser (IE).

I'm seriously considering your advice about not using this technique as I
will not be sending to users in a controlled environment. If you have any
other thoughts though, I'd like to hear them. Thanks for your help.

Mark

Jul 19 '05 #4

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

Similar topics

2
by: Matt | last post by:
Can form.submit() submit another form? In the following example, in page1.asp, it is fine to submit the current form: form1.submit(), and and I could see the value "Joe" in page2.asp. However, if I...
2
by: Terence Parker | last post by:
How does one go about submitting a form with a link - but submitting it to a new window AND to a page different to that described within the action="" option of the <form> tag? Say, for example,...
4
by: Sarah | last post by:
Hi all. I have a form, and several text and image links on it that should submit the form with different actions. I prepared a simple page with just the code that's not working. PROBLEM:...
6
by: CJM | last post by:
Can somebody clarify if/how/when a simple form is submitted when the <Enter> key is pressed? As I understood it, if you have a form with a single submit button, if enter is pressed, the form...
2
by: Margaret Werdermann | last post by:
Hi all: I'm having a nasty time with a particularly difficult piece of code and was hoping someone might be able to help me. I have a FormMail form that originally worked perfectly. Then, I...
8
by: horos | last post by:
hey all, Ok, a related question to my previous one on data dumpers for postscript. In the process of putting a form together, I'm using a lot of placeholder variables that I really don't care...
5
by: rjames.clarke | last post by:
I have the following. $result=mysql_query($sql); $nrows=mysql_num_rows($result); for ($i=0;$i<$nrows;$i++) { $row_array=mysql_fetch_row($result); echo "<form name='testform'...
5
by: Navillus | last post by:
Hey gang, I have a login form that is empty by default, but can be filled with values from a previous form: <input type=text maxlength="40" size="40" name="user" value="`usr`"> <input...
10
by: ljlolel | last post by:
So.. I have a form that submits to an ASP.net site made in C-sharp. The ASP site is not mine, i do not have the server side code. When I submit from my form by pressing the Submit button, I get...
1
by: gbezas | last post by:
Hi All, I have added an event handler to redirect form.submit() to a newSubmit() method that I have defined (which does some additional processing before submitting the form). Additionally I...
3
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 3 Jan 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). For other local times, please check World Time Buddy In...
0
by: jianzs | last post by:
Introduction Cloud-native applications are conventionally identified as those designed and nurtured on cloud infrastructure. Such applications, rooted in cloud technologies, skillfully benefit from...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 7 Feb 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:30 (7.30PM). In this month's session, the creator of the excellent VBE...
0
by: fareedcanada | last post by:
Hello I am trying to split number on their count. suppose i have 121314151617 (12cnt) then number should be split like 12,13,14,15,16,17 and if 11314151617 (11cnt) then should be split like...
0
by: stefan129 | last post by:
Hey forum members, I'm exploring options for SSL certificates for multiple domains. Has anyone had experience with multi-domain SSL certificates? Any recommendations on reliable providers or specific...
0
Git
by: egorbl4 | last post by:
Скачал я git, хотел начать настройку, а там вылезло вот это Что это? Что мне с этим делать? ...
0
by: MeoLessi9 | last post by:
I have VirtualBox installed on Windows 11 and now I would like to install Kali on a virtual machine. However, on the official website, I see two options: "Installer images" and "Virtual machines"....
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: Aftab Ahmad | last post by:
So, I have written a code for a cmd called "Send WhatsApp Message" to open and send WhatsApp messaage. The code is given below. Dim IE As Object Set IE =...

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.