...

View Full Version : automatic content for e-mail link



JimboS
03-15-2003, 09:17 AM
I am trying to include a link on my site that will auotmaticaaly fill in the subject line and part of the message body fro an e-mail.

I have anaged to get the subject line filled in but am struggling with the body of the message.

This is what I have so far:

a href="mailto:me@home?subject=Hello"

Any suggestions

Jimbo

redhead
03-15-2003, 09:53 AM
<a href="mailto:me@example.com?subject=A subject here&body=Here is the message&cc=anotherperson@example.net">Email Me</a>

should do it... :thumbsup:

JimboS
03-15-2003, 10:41 AM
Working great - thanks

krycek
03-15-2003, 02:40 PM
Originally posted by redhead
<a href="mailto:me@example.com?subject=A subject here&body=Here is the message&cc=anotherperson@example.net">Email Me</a>

should do it... :thumbsup:

...to be correct, you should really replace the spaces with %20

but very good all the same ;)

::] krycek [::



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum