94

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.

Chamilyan
  • 9,347
  • 10
  • 38
  • 67

4 Answers4

209

Yes you can

mailto:?body=tisbody&subject=thisbethesubject
Luke
  • 3,375
  • 2
  • 22
  • 22
6

Did you mean

<a href="mailto:"></a>
Delan Azabani
  • 79,602
  • 28
  • 170
  • 210
1
<a href="mailto:?subject=yoursubjecthere&amp;body=yourbodyhere">Share using Email</a>
-14

You can use mailto in this way

<a href="mailto:user@user.com?subject=Subject&amp;cc=CC&amp;bcc=BCC&amp;body=BODY">Clickme!</a>
Roberto Luis Bisbé
  • 2,080
  • 1
  • 15
  • 22
  • 3
    The 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