HTML Prefill email client message with subject and body

You can prefill the to, subject and body of user's local email client message, but it is recommended to avoid using the body parameter, as it may be placed below a user's signature, depending on their settings.
<a href="mailto:[email protected]?subject=This is the subject&body=This is the body">Email This</a>
Posted by
Snippet Viewed 17713 times.

Share your HTML code snippets:

  • Get some recognition & a link back to your site.
  • Create your own code library.
  • Help your fellow developers, as they have helped you.


Submit | Browse

Most Recent html snippets

Most Viewed