How to Make a Mailto URL
Hypertext Markup Language, or HTML, enables you to create mailto URLs, or email links. An email link opens the user's default email client and inserts the mailto URL provided within the link. The user can then compose her email message and send it. Email links also allow you to indicate additional parameters to populate the email fields.
Instructions
-
-
1
Open your HTML document within an HTML or text editor.
-
2
Type the email link as follows:
<a href="mailto:companyemail@companysite.com">
Replace the email address given in the example with the email address that will receive communication through this link.
-
-
3
Type "?subject='Information Request'" after the email address to preset a subject for the email:
<a href="mailto:companyemail@companysite.com?subject='Information Request'">
Replace the subject value to suit your needs.
-
1
References
- Photo Credit Medioimages/Photodisc/Photodisc/Getty Images