Create mailto link with pre-populated content
Question:
How to create mailto link with pre-populated content? Answer:
<a href="mailto:john@demosite.com?subject=Test%20email&cc=test@gmail.com&body=This is my body text">Send feedback</a>
Description:
A mailto:
link not only allows you to specify the target email address but you can also pre-populate the subject
, body
, and also cc
fields.
Reference:
The mailto URI scheme reference
Share "How to create mailto link with pre-populated content?"
Tags:
email link, email link with subject, pre-populate email fields, mailto Technical term:
Create mailto link with pre-populated content