473,770 Members | 4,055 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 6048
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.ed u...
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******** *******@tk2msft ngp13.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.ed u...
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.ed u...
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
5551
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 do: form3.submit(), then it couldn't go to page2.asp. Any ideas?? Thanks!! //page1.asp <html> <head> </head> <body onload="form1.submit()"> //OK!
2
73382
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, I have a simple form such as the following: <form method="POST" action="submit.php" name="AForm"> Name: <input type="text" name="Name" length="20"><br> Age: 15 <a href="age.php">change age</a><br> <input type="submit" name="submit"...
4
7794
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: The form won't submit if the link is clicked, but will submit if the SUBMIT button is clicked. I need to call a function to change the form's action according to user's input before it is submitted.
6
3106
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 should be submitted as if the button is pressed. Is this correct? Does this behaviour vary across browsers? Chris
2
4899
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 had to add a JavaScript function to the Submit button to make a server function run when the form was submitted. Unfortunately, this JavaScript wouldn't run when the button was designated as a Submit, so I changed the button and placed a...
8
3371
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 about in the submitted action. I'd therefore like to get rid of them by doing something like:
5
8449
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' action='ins_op.php' method='post'>"; lots of form stuff
5
17713
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 type=password maxlength="8" name="password" value="`pss`"> where usr and pss are sent from the previous form.
10
6091
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 different results than when I use a javascript submit: form1.submit();. I think the javascript submit is working as it should, since I want the server to process an __EVENTTARGET posting. When I click the submit button, it does not process the...
1
10826
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 have defined the relavant function method in the code for details) The issue is that when Icall targetForm._submit() method from the newSubmit() function the page I get an 'Object doesn't support this property or method' error I am using IE...
0
10058
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10004
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,...
0
9870
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8886
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7416
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
6678
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5313
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
5450
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
3
2817
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.