Question

So,

Imagine that I have this link:

<a href="mailto:test@myemail.com">Test</a>

How do you deal with people that visit your site and don't have any email handler? What are the possible solutions? Like showing the email, for example? Any other solutions?

Thanks

Was it helpful?

Solution

EDIT: This solution requires you putting the email in between the anchor links. Why would you not?

I would not worry about it. Most browsers (all modern ones) would allow a user to right click and copy the email to their clipboard in the worst case. Its not such a mission critical feature that I would worry about it. If they do click it, I believe the browser will ask the user what mail client they would like to associatemailto links to.

The only other choice would to allow them to fill out a form that your mail server will generate into an email and then send to the appropriate recipients.

OTHER TIPS

On mouse over it could show a tool tip above the link with the email?

If you don't want to be dependant on client settings, you ll need to provide the service server side. Meaning allow ppl to send an email from your site using some simple text box and a SMTP plugin.

You might find this question helpful: Has anyone ever come up with a way to detect the email program a recipient is using?

Essentially, there's no possible way to check if there's an outside program to handle email, so short of writing a submission forum that automatically sends the email to the intended recipient, there's probably not much you can do.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top