You don't need to URL encode your options - the browser will do that for you... although it doesn't hurt.
Code:
<a href="mailto:you@mail.com?subject=This is the subject line&to=me@mail.com&cc=another@mail.com&body=This is the body">Email me</a>
There are a couple of issues with this type of link though. The first, is ensuring that the user has a program associated with "mailto" links. This is enabled through:
Tools | Internet Options... | Programs | Email (Dropdown).
It works pretty well with Outlook, but you may be better creating an online form for users to enter information into directly - there are plenty examples on the web for ASP/PHP/CGI-Perl.
I have a very basic form on my website for requesting information:
This was written in ASP (obviously) and I fill in the "To" field on the server, to avoid spammers from using my site - they can only spam to me.
The second is avoiding email scrapers from "scraping" your email address. They do this by requesting pages, and scanning for the "mailto:..." string. You could use:
A) Use the HTML encoding equivalent of the "@", "."
B) Use JavaScript to write out the email address in bits
...but you might be better with the online form.
Hope this helps.
Pete.
Web Developer & Aptrix / Lotus Workplace Web Content Management (LWWCM) Specialist
w:
e: Pete.Raleigh(at)lclimited.co.uk