W3C home > Mailing lists > Public > www-archive@w3.org > October 2006

Re: Javascript Error (Need Help)

From: Dan Connolly <connolly@w3.org>
Date: Fri, 13 Oct 2006 13:06:26 -0500
To: Dewayne DeBerry <dewayne@raytheon.com>
Cc: www-archive@w3.org
Message-Id: <1160762786.4606.479.camel@dirk>

On Thu, 2006-10-12 at 15:56 -0500, Dewayne DeBerry wrote:
> [...] All I want to do is pass the subject as "A Subject Title" and a
> hyperlink in the body. 

> Do you have any suggestions?

I suggest you don't bother with javascript at all; just use
a mailto link.

There's an example in the spec that seems similar to what you're after:

     Click
     <a href="mailto:?to=joe@xyz.com&amp;cc=bob@xyz.com&amp;body=hello">
     mailto:?to=joe@xyz.com&amp;cc=bob@xyz.com&amp;body=hello</a> to
     send a greeting message to <i>Joe and Bob</i>.

http://ftp.ics.uci.edu/pub/ietf/uri/rfc2368.txt
http://esw.w3.org/topic/UriSchemes/mailto

-- 
Dan Connolly, W3C http://www.w3.org/People/Connolly/
D3C2 887B 0F92 6005 C541  0875 0F91 96DE 6E52 C29E
Received on Friday, 13 October 2006 18:06:38 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:32:58 UTC