1👍
If the user has set a default email program, most of them will be triggered on mailto:
. I know gmail works with mailto:
as well, and its possible that other web email services might. All desktop email clients – again only if it is set as the default email program will work on mailto:
The format is:
mailto:[emailaddress]?header=value&header1=value1....&headerN=valueN
Here is an example that sets the subject of the email automatically:
<a href="mailto:me@gmail.com?subject=Hello%20there&body=Email%20Contents!">Email me</a>
Source:stackexchange.com