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

UriMailto

Uri Problem Overview


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.

Uri Solutions


Solution 1 - Uri

Yes you can

mailto:?body=tisbody&subject=thisbethesubject

Solution 2 - Uri

Did you mean

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

Solution 3 - Uri

<a href="mailto:?subject=yoursubjecthere&amp;body=yourbodyhere">Share using Email</a>

Solution 4 - Uri

You can use mailto in this way

<a href="mailto:[email protected]?subject=Subject&amp;cc=CC&amp;bcc=BCC&amp;body=BODY">Clickme!</a>

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionChamilyanView Question on Stackoverflow
Solution 1 - UriLukeView Answer on Stackoverflow
Solution 2 - UriDelan AzabaniView Answer on Stackoverflow
Solution 3 - UriBrijesh KapletiyaView Answer on Stackoverflow
Solution 4 - UriRoberto Luis BisbéView Answer on Stackoverflow