How to send mail with a Subject using a Mailto URL?

html, mailto, uri

Solution

<a href="mailto:example@foo.com?subject=hello world">Email Me!</a>

Internet Archive:

- Set up an HTML mailto form without a back-end script

- HTML Mailto Attribute and Tips

- HTML Mailto Tips and Tricks

- Mailto Syntax

Related Stackoverflow Questions:

- Avoiding the Mailto Annoyance?

- Best way to obfuscate an e-mail address on a website?

- Effective method to hide email from spam bots

- What are some ways to protect emails on websites from spambots?

Problem

I need to make a `Mailto link` to my website which is suppose to contain either the product name or the product page URL in the `subject section`. How can I do it? Exp: When you get an email through `eBay` about a product you are selling or buying, you automatically know what product that email is about by seeing the product name in the subject section. How can i do this?

Original source

Related problems