Defining a link as “mailto:[email protected]” means that whenever a visitor at your site clicks this link his default email client will be launched and the email address “[email protected]” will be automatically inserted into the “to” field.
It is possible to define many of the email fields by using the Mailto link combining the “?” and “&” signs.
Here are some examples:
Defining the subject field:
mailto:[email protected]?subject=Thanks for the tip
The cc* field:
mailto:[email protected][email protected]
*cc = carbon copy – sending a copy of the message to someone who is not the main recipient of the email. The person in the “to” field can see who gets a copy of the message.
bcc* field:
mailto:[email protected][email protected]
*bcc = blind carbon copy – sending a copy of the message to someone without notifying the main recipient.
Message body text:
mailto:[email protected]?subject=Tips&body=Thanks
Whenever you want to start a new line in the body of the message put “%0D” between the lines.
As you can see in the example above defining several fields in the same link is done by using the “&” sign between the fields definitions.
Try to let your visitors know when you’re using the mailto link. Launching the email application is not always warmly accepted.