mailto scheme is used to launch the Mail application and open the email compose sheet. When specifying a
mailto URL, you must provide the target email address. The following examples show strings formatted for Safari and for native iOS applications.
<a href="mailto:email@example.com">John Frank</a>
Native application URL string:
You can also include a subject field, a message, and multiple recipients in the To, Cc, and Bcc fields. (In iOS, the
from attribute is ignored.) The following example shows a
mailto URL that includes several different attributes:
For detailed information on the format of the
mailto scheme, see RFC 2368.
© 2012 Apple Inc. All Rights Reserved. (Last updated: 2012-12-13)