[thelist] Insert body into email link

David Dorward evolt at david.us-lot.org
Wed Jun 19 13:03:01 CDT 2002


On Wed, 19 Jun 2002 10:38:18 -0700
"Linda Tamblyn" <ldt at look.ca> wrote:

> Hi evolters,
>
> I know that you can insert a subject line into an email like this:
> <A HREF="mailto:email at mydomain.com?Subject=Insert Line"> And to add
> body: <A HREF="mailto:email at mydomain.com?Body=Insert Line">
>
> But when I add Subject and Body it doesn't work. Does anyone know if
> this will work?

I don't believe its a very good idea to try this (or use anything
except a plain email address in a mailto: link).

http://www.htmlhelp.com/faq/html/all.html#mailto-subject

A user could alter the text you insert for them anyway. A safe and
reliable method to achieve a similar effect would be a form and a
server side script to process it. You can then use the script to give
the email whatever subject and body you like.


--
David Dorward                                   http://david.us-lot.org/
HTML email is a bit like using coloured paper and glitter ink on a CV.



More information about the thelist mailing list