Skip to main content

MailtoLink

minimal usage

<MailtoLink to="[email protected]">
[email protected]
</MailtoLink>

with blank target

<MailtoLink to="[email protected]" target="_blank">
[email protected]
</MailtoLink>

with onClick

<MailtoLink
to="[email protected]"
target="_blank"
onClick={() => { /* some actions */ }}
>
[email protected]
</MailtoLink>

with subject and body

<MailtoLink
to="[email protected]"
subject="Check out this mailto component!"
body="This mailto component is awesome!"
>
email with subject and body
</MailtoLink>

with cc and bcc

<MailtoLink
cc="[email protected]"
bcc="[email protected]"
>
More mail, this time with cc and bcc
</MailtoLink>

with multiple cc and bcc