How do you properly construct a mailto: link without the part.
mailto:someaddress@example.com?
I dont want the address and just want whats in the parameters afterward to be filled in through the mailto.
Asked
Active
Viewed 3.8k times
4 Answers
1
<a href="mailto:?subject=yoursubjecthere&body=yourbodyhere">Share using Email</a>

Brijesh Kapletiya
- 121
- 1
- 7
-14
You can use mailto in this way
<a href="mailto:user@user.com?subject=Subject&cc=CC&bcc=BCC&body=BODY">Clickme!</a>

Roberto Luis Bisbé
- 2,080
- 1
- 15
- 22
-
3The question specifically asked for it without the address, and that HTML is invalid. – Quentin Aug 22 '10 at 08:20
-
They only "invalid" part of the HTML is that your `&` should be `&` although Mr. Dorward is right in saying you didn't actually answer the question posed. – Erik Aug 22 '10 at 08:47