![]() Or you could use CSS to help explain with a little emoji story: a::after If you really dislike mailto: links, there is a browser extension for you. If you use an actual email address as the link, that’s probably a good indication: It may be worthwhile to indicate mailto: links in a special way. But clicking them clearly produces very different results. People don’t like surprisesīecause mailto: links are valid anchor links like any other, they are typically styled exactly the same. Use a to make an email by Chris Coyier ( CodePen. ![]() I’m not sure how useful this is, but it’s an interesting curiosity that you can make a do a GET, which is basically a redirect to a URL - and that URL can be in the mailto: format with query params populated by the inputs! It can even open in a new tab. Use a to let people craft the email first mailto:, , & This site is awful handy will help generate email links. The trick is more query parameters and comma-separating the email addresses. You can send to multiple email addresses, and even carbon copy (CC), and blind carbon copy (BCC) people on the email. They are just query parameters! mailto: ?subject=Important!&body=Hi. This is somewhat rare to see for some reason, but mailto: links can define the email subject and body content as well. I’d say I lean a bit toward using target="_blank" on mail links, despite my feelings on using it in other scenarios. I’ve weighed in on opening links in new tabs before, but not specifically about opening emails. In that case, the link behaves like any other link, in that if you don’t open in a new tab, the page will redirect to Gmail. For example, you can allow Gmail to be your default email handler on Chrome. They click a mailto: link, that application opens up, a new email is created, and it behaves the same whether you’ve attempted to open that link in a new tab or not.īut if a user has a browser-based email client set up, it does matter. Outlook, Apple Mail, etc.) set up to be a native app, it doesn’t really matter. If a user has their default mail client (e.g. Sort of the same way clicking on a link to a PDF opens a file instead of a web page. One of them is that clicking that link surprises some people in a way they don’t like. ![]() It’s pretty easy to use, but as with anything web, there are lots of things to consider.īut we immediately run into a handful of UX issues. Let’s take a little journey into this feature. You can make a garden variety anchor link ( ) open up a new email. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |