# Change the mailto: in \href

MWE

\documentclass{article}
\usepackage{hyperref}
\begin{document}
This works fine:
\href{mailto:exmaple@example.com}{exmaple@example.com}\\
I would like this to open the default e-mail program:
\href{eposta:exmaple@example.com}{exmaple@example.com}
\end{document}


and output

This is because "E-mail" is "E-posta" in Turkish.

• What is your question? I don't get it. Do you want to open the default email software if somebody clicks on the link? – Dr. Manuel Kuehner Sep 15 '15 at 11:55
• This is most likely the default text Acrobat Reader and perhaps other views show by default if the mouse is over a mail address. I don't know whether this is changeable at all – user31729 Sep 15 '15 at 12:01
• @Dr.ManuelKuehner, yes. Exactly true. – Özgür Sep 15 '15 at 12:04
• @Özgür: So you want hello:exmaple@example.com to cause an email client to open? – Werner Sep 15 '15 at 13:14
• @Werner, I wrote an example. That I want E-posta, because E-mail=E-posta in my language. I want, whole Turkish Language in my document. – Özgür Sep 15 '15 at 14:37

I think you misunderstood something here.

Package hyperref is designed to add a clickable link into the internet to allow to open a special website or to open a mail program to send an email to the defined address.

A computer, exactly an operating system (Linux, Unix, OS x or Windows), can do this only if the information is provided which protocol is used for this service.

So an URL has to be something like that:

The protocols are http (web side), https (secure connection to website), mailto (email) or ftp (down- and uploads with ftp server) and others, named in the rfc files. hello is there not named!

Examples:

• http://tex.stackexchange.com The url for this site
• https://tex.stackexchange.com Secure connection to this site
• mailto://example@example.com Send email to adress example@example.com.

The operating system can now start -- after knowing the protocol -- the corresponding program. For http etc the used internet browser, for mailto the installed email program. Both, browser and email program are different for different OSs and users. Nevertheless, protocol mailto is known by each operating system, your wanted hello not.

That you have to click on that link is a thing of security, or do you want to get a pdf, filled with thousands of virus containing web pages or other bad thing, and all of them are opened when you open the pdf file to read it? I do not want this, I think you do too?

• Is there // in a mailto? – daleif Sep 15 '15 at 14:49

Since this has been revived I will add that the visible part can be any phrase you like including E-posta (It is only the tooltip for protocol) that should not/cannot change.

\documentclass{article}
\usepackage{hyperref}
\begin{document}
You can show a link in any language or wording you want

However the mail protocol is mailto: (with or without //)''
\newline
These work fine:

\href{mailto:example@example.com}{E-posta: example@example.com}

\href{mailto:example@example.com}{e-posta: example@example.com}

\end{document}