Often times when there's an email address on a website, it is not just plaintext, but a link (hyperlink?). However, instead of containing an address such as https://unix.stackexchange.com it contains mailto:[email protected] which - upon a click - opens a browser "page not found". This seems very useless, however a quick search on the Unix StackExchange suggested that the phrase MAILTO: has some function/meaning on Unix/Linux systems (and maybe on others). Many questions also refer to "cron". While I understand the primary function of "cron" jobs (automatic actions being done at certain times/periods) I have trouble to connect it with the mailto: hyperlinks.
So what is the function of these hyperlinks and is it in any way connected to "cron" jobs - if so, how is it supposed to work?
They are a URI for an e-mail address that the browser can use to invoke an e-mail application in order to send e-mail to the given address. The browser should provide a configuration option to set the application used.
cron uses the unrelated MAILTO variable (i.e. MAILTO=...
) in its configuration to know where to send e-mail with output from the commands it runs rather than sending it all to root.
Collected from the Internet
Please contact [email protected] to delete if infringement.
Comments