- Are mailto links a good idea?
- Why not Use mailto?
- What is a major security threat with the mailto hyperlink?
- What is the alternative to mailto option?
Are mailto links a good idea?
Essentially, an HTML mailto link is a link that triggers the user's default mail client to open so they can reply to a message. If you're a fan of email HTML forms and know your way around the coding aspect of things, a mailto link can be preferable, in some cases.
Why not Use mailto?
# The problem with mailto links
Firstly, mailto links make it hard to copy the address, for example if you want to share the email address with someone else. Secondly, some users use more than one mail app, and the link just uses whichever has been setup as the default, without giving them the option to use the other.
What is a major security threat with the mailto hyperlink?
As a general rule mailto links can be considered safe. Their primary threat vector is information disclosure; as discussed above, they lead to sending mail out.
What is the alternative to mailto option?
The best alternatives to I hate mailto are npm , Unmailto and NoMail. If these 3 options don't work for you, we've listed a few more alternatives below.