Usage for mailto
Default
After any type of installation, by default all the mailto:
links will be enabled with mailgo automatically and will appear also cc, bcc, subject and body parameter, if provided.
<a href="mailto:info@mailgo.dev">info@mailgo.dev</a>
Here an example of dark mode, you can read the default about it here.
info@mailgo.dev<a class="dark" href="mailto:info@mailgo.dev"
>info@mailgo.dev (dark mode)</a
>
Do you want to prevent the spam? Use a less-spam usage instead the default usage!
A less spam usage (#1, recommended)
<a href="#mailgo" data-address="matteo" data-domain="mailgo.dev"
>write me!</a
>
- add
href="#mailgo"
to<a>
- add
data-address
anddata-domain
to re-create your email address
Another less spam usage (#2)
<a class="mailgo" data-address="matteo" data-domain="mailgo.dev" href=""
>write me!</a
>
- add
class="mailgo"
to<a>
- add
data-address
anddata-domain
to re-create your email address
Exclude a single mailto
To exclude a single mailto link add to the <a>
element the class no-mailgo
<a class="no-mailgo" href="mailto:info@mailgo.dev"
>info@mailgo.dev</a
>