Re: Subject line in Mailto forms

Arnoud (galactus@htmlhelp.com)
Sun, 15 Jun 1997 11:35:36 +0200


From: galactus@htmlhelp.com (Arnoud "Galactus" Engelfriet)
To: www-html@w3.org
Subject: Re: Subject line in Mailto forms
Date: Sun, 15 Jun 1997 11:35:36 +0200
Message-ID: <od7oz4uYONxX089yn@htmlhelp.com>

In article <v03102804afc904073e80@[205.149.180.135]>,
Walter Ian Kaye <walter@natural-innovations.com> wrote:
> At 8:41p +0200 06/13/97, Arnoud "Galactus" Engelfriet wrote:
>  > [the ?subject= hack on mailto]
>  > It was, but someone wrote up a draft RFC so it's going to become an
>  > Internet standard.. ;-(
> 
> Please refresh my memory -- what was the problem? Some sort of conflict?

There are several problems:

1) it breaks all other clients, as RFC 1738 defines the value of
mailto to be an email address only. Thus, mail from those clients
will bounce, as "htmlhelp.com?subject=hello" is not a valid host.
2) Adding other headers in the same way is tricky
3) You have to URL-encode the value of the subject line, which
few people will do, as it's not intuitive.
4) You only have 1024 characters for subject and other headers (assuming
you do 2).

> Wouldn't %-escaping cover any conflicts?

It would only solve problem 3. A much better solution IMO would be

<A HREF="mailto:galactus@htmlhelp.com">Mail me!
<PARAM NAME=subject VALUE="Look ma, a really long subject,
and it's not even URLencoded!">
<PARAM NAME=cc VALUE="walter@natural-innovations.com">
<PARAM NAME=x-silly-header VALUE=Yeah..whatever>
</A>

or perhaps adding an attribute a la USEMAP (USEAPP? PARAMLIST?)
to A that links to a list of parameters, then you could even re-use
the information in multiple mailto links.

-- 
E-mail: galactus@htmlhelp.com .................... PGP Key: 512/63B0E665
Maintainer of WDG's HTML reference: <http://www.htmlhelp.com/reference/>