Skip to main content

Examples with mailto links

You can see examples in this CodePen (mailgo demo), in examples folder in the repository or on mailgo examples.

A mailto link with mailgo#

<a href="mailto:info@mailgo.dev">info@mailgo.dev</a>
info@mailgo.dev

Dark mode#

<a class="dark" href="mailto:info@mailgo.dev">info@mailgo.dev</a>
info@mailgo.dev

A less-spam mailgo example#

This is a more simple example (also with less-spam #1 usage):

<a href="#mailgo" data-address="matteo" data-domain="mailgo.dev"
>write me!</a
>
write me!

Complete less-spam mailgo example#

This is a complete mailgo example with the less-spam usage #1 (and cc, bcc, subject and body):

<a
href="#mailgo"
data-address="matteo"
data-domain="mailgo.dev"
data-cc-address="matteomanzinello"
data-cc-domain="mailgo.dev"
data-bcc-address="hello"
data-bcc-domain="mailgo.dev"
data-subject="A strange email"
data-body="This email is for me with me also in cc and in bcc"
>write me!</a
>
write me!

Other examples#

https://mailgo.dev/demo

https://github.com/manzinello/mailgo/tree/master/examples

https://github.com/manzinello/mailgo-examples

Last updated on by Matteo Manzinello