Formatted Email
lightning:formattedEmail
Displays an email as a hyperlink with the mailto: URL scheme. This component requires API version 41.0 and later.
For Aura components only. For LWC development, use lightning-formatted-email.
For Use In
Lightning Experience, Experience Builder Sites, Salesforce Mobile App, Lightning Out (Beta), Standalone Lightning App, Mobile Offline
A lightning:formattedEmail component displays a read-only representation of an email address as a hyperlink using the mailto: URL scheme. Clicking on the email address opens the default mail application for the desktop or mobile device.
This example displays an email address with an email icon. The email address is displayed as the default label.
This example prevents the display of the email icon.
Multiple email addresses are supported. The label "Send a group email" is displayed as a hyperlink in this example.
This example creates an email address with values for cc, subject, and email body. The label is displayed as a hyperlink.