How do you create a mailto: link without the (to) part

34,337

Solution 1

Yes you can

mailto:?body=tisbody&subject=thisbethesubject

Solution 2

Did you mean

<a href="mailto:"></a>

Solution 3

<a href="mailto:?subject=yoursubjecthere&amp;body=yourbodyhere">Share using Email</a>
Share:
34,337
Chamilyan
Author by

Chamilyan

technovator

Updated on July 08, 2022

Comments

  • Chamilyan
    Chamilyan over 1 year

    How do you properly construct a mailto: link without the part. mailto:[email protected]? I dont want the address and just want whats in the parameters afterward to be filled in through the mailto.

  • Quentin
    Quentin over 13 years
    The question specifically asked for it without the address, and that HTML is invalid.
  • Erik
    Erik over 13 years
    They only "invalid" part of the HTML is that your & should be &amp; although Mr. Dorward is right in saying you didn't actually answer the question posed.