toff
asked on
Automatic email link
How do you get a link on your page which will automatically open an email with certain data already in the Subject and body?
I know the:
<a href="mailto:me@my.place.c om">Send me an email</a>
tag works to open their email application, correctly addressed, but how can I specify something as the Subject and the Body?
I know the:
<a href="mailto:me@my.place.c
tag works to open their email application, correctly addressed, but how can I specify something as the Subject and the Body?
the above solution worked with ie4+ outlook as email editor
ASKER
Didn't work. I'm using Netscape 4 (browser and email). I tried the following:
<a href="mailto:toff@earthlin g.net&subj ect=testin g&body=mes sagebody">
on clicking it, i got an empty email message come up addressed to:
toff@earthling.net&subject =testing&b ody=messag ebody
If there's white space in the subject or body, it breaks the string there and gives two addresses, eg:
<a href="mailto:toff@earthlin g.net&subj ect=some testing&body=messagebody">
gave
toff@earthling.net&subject =some
testing&body=messagebody
(two different addressees on the one email).
<a href="mailto:toff@earthlin
on clicking it, i got an empty email message come up addressed to:
toff@earthling.net&subject
If there's white space in the subject or body, it breaks the string there and gives two addresses, eg:
<a href="mailto:toff@earthlin
gave
toff@earthling.net&subject
testing&body=messagebody
(two different addressees on the one email).
ASKER
Didn't work. I'm using Netscape (browser and email). I did the above and got an email addressed to:
mailto:me@my.place.com&sub ject=tests ubject&bod y=testmess age
which wasn't quite the intent.
mailto:me@my.place.com&sub
which wasn't quite the intent.
ASKER
oops, sorry, the email i got was, of course, addressed to:
me@my.place.com&subject=te stsubject& body=testm essage
me@my.place.com&subject=te
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
<html>
<head>
<title>mail thru href</title>
</head>
<body>
<a href="mailto:me@my.place.c
<p>mailit</a> </p>
</body>
</html>