473,473 Members | 1,672 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

mailto: form using GET. Cannot get spaces in text.

I was writing the 7th installment to introducing my children to HTML and came upon
something that I am not familiar with, evidently.

http://foomanchu.com/standardize7.htm

I have two mailto: forms near the bottom of that page. The first, entitled "classic
mailto form" just uses POST. All spaces get conveyed just fine.

The second, entitled "better classic mailto form" has +s instead of spaces. The only
fundamental difference I can see is it uses GET. Now, I have tried &nsbp; and %20 with
little luck. It merely posts the %20, and the   get converted to +s.

Any idea, or is that the default behavior?

Thanks!

-Lost
Mar 29 '07 #1
5 3887
Scripsit -Lost:
I have two mailto: forms near the bottom of that page.
Worse than useless. Are you really teaching others to use forms without even
knowing this? Consider reading a decent tutorial on HTML.
The second, entitled "better classic mailto form" has +s instead of
spaces. The only fundamental difference I can see is it uses GET.
That's of course even more absurd.

--
Jukka K. Korpela ("Yucca")
http://www.cs.tut.fi/~jkorpela/

Mar 29 '07 #2
"Jukka K. Korpela" <jk******@cs.tut.fiwrote in message
news:_F*******************@reader1.news.saunalahti .fi...
Scripsit -Lost:
>I have two mailto: forms near the bottom of that page.

Worse than useless. Are you really teaching others to use forms without even knowing
this? Consider reading a decent tutorial on HTML.
I am well-aware of the uselessness of the mailto: Protocol. The usefullness however is
not the intent nor the request.

Notice I call those examples "classic?" I defined these examples to my girls the same way
I would explain "legacy" code in a compiled language. I told them this was not to be used
anymore as it could not be validated as to what it does on each machine.

Anyway...
>The second, entitled "better classic mailto form" has +s instead of
spaces. The only fundamental difference I can see is it uses GET.

That's of course even more absurd.
Thanks, Jukka, but it is for example.

Now, I do not suppose you know why it inserts +s do you?

-Lost
Mar 29 '07 #3
"-Lost" <mi*********@comcast.netwrote in message
news:eK******************************@comcast.com. ..
"Jukka K. Korpela" <jk******@cs.tut.fiwrote in message
news:_F*******************@reader1.news.saunalahti .fi...
>Scripsit -Lost:
>>I have two mailto: forms near the bottom of that page.

Worse than useless. Are you really teaching others to use forms without even knowing
this? Consider reading a decent tutorial on HTML.

I am well-aware of the uselessness of the mailto: Protocol. The usefullness however is
not the intent nor the request.
I believe honestly my error was in assuming Internet Explorer (and Outlook Express) for
all scenarios.

That is why I ask the question so generally. Erroneous assumption.

-Lost
Mar 29 '07 #4
Scripsit -Lost:
I am well-aware of the uselessness of the mailto: Protocol.
I wrote "worse than useless" and about action="mailto:..." (the use of <a
href="mailto:...">...</ais a different issue, and it is incorrect to call
the _protocol_ useless). It causes lost data and aggravation.
The usefullness however is not the intent nor the request.
It's the thing that matters when you present examples.
Notice I call those examples "classic?"
action="mailto:..." was never good practice, still less classic.
Now, I do not suppose you know why it inserts +s do you?
Of course I do, but I also know the question is irrelevant. If you want to
study GET vs. POST, start from the specifications, and then create examples
that use action attributes with a defined meaning.

--
Jukka K. Korpela ("Yucca")
http://www.cs.tut.fi/~jkorpela/

Mar 29 '07 #5
"Jukka K. Korpela" <jk******@cs.tut.fiwrote in message
news:Gb*****************@reader1.news.saunalahti.f i...
Scripsit -Lost:
>I am well-aware of the uselessness of the mailto: Protocol.

I wrote "worse than useless" and about action="mailto:..." (the use of <a
href="mailto:...">...</ais a different issue, and it is incorrect to call the
_protocol_ useless). It causes lost data and aggravation.
>The usefullness however is not the intent nor the request.

It's the thing that matters when you present examples.
Duly noted.
>Notice I call those examples "classic?"

action="mailto:..." was never good practice, still less classic.
>Now, I do not suppose you know why it inserts +s do you?

Of course I do, but I also know the question is irrelevant. If you want to study GET vs.
POST, start from the specifications, and then create examples that use action attributes
with a defined meaning.
Actually, that answered my question. The flaw is in the implementation.

Thanks, Jukka.

-Lost
Mar 30 '07 #6

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

Similar topics

15
by: nAmYzArC | last post by:
Hi everyone, I'm setting the body of an email using values from a form firstname = bob lastname = dole ebody = 'First Name: ' + firstname + '\r\n' + 'Last Name: ' + lastname ...
15
by: Val | last post by:
Any experts on mailto: tags? I want to set a link so that the subject and some of the body of the email is filled in. This is easy for simple text, although you need to use %20 for spaces: <a...
5
by: RobG | last post by:
I am trying to get users to fill in a form on a web page, then click a button to send an e-mail. I am using JavaScript to get the fields from the form, then run a mailto command to put the...
12
by: catyionic | last post by:
hi, Due to trying many different form options, with none of them working, I opted for this to receive info back from this site: http:\\www.elderslastwish.com <form name="feedback_form"...
10
by: Adam Smith | last post by:
How can I set up a mailto with a cc or bcc as well as a subject designation. The system works for two but not three, is this a hardwired limit or have I missed something ==> <a...
5
by: timjowers | last post by:
Hi, I'm attempting to send a mailto: and include a link in the body. Has anyone done this? Also, has anyone done mailto: with Lotus Notes 6.5? It will place the body in the subject line if it...
7
by: Paul Bromley | last post by:
I am using mailto to open the default e-mail program on the users machine using the following function code snippet that I found on th web.:- Public Function OpenEmail(ByVal EmailAddress As...
1
by: Larry Rebich | last post by:
I'm trying to launch the user's email client using 'MailTo:'. So I put a button on an aspx page and wrote some .vb code to use 'Mailto:' and it works on my development machine when I press the...
2
by: GArlington | last post by:
"G. Morgan" <no_em@il.invalidwrote in message news:8787770faf30b1bd48f393baa1a89fdbnp@mypost.invalid... <snap> <snap> Did you try <cr><lf combination? ** Posted from http://www.teranews.com...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
1
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...
0
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...
1
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...
0
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...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
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 ...
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.