mailto with no default email client

妖精的绣舞 提交于 2019-12-10 21:33:42

问题


A friend has developed a corporate website which has a mailto link as the 'contact us' link. The problem is that if windows has no default email client it does not work, there isn't even an error message. I was going to suggest changing it to a link through to a contact page with perhaps an email form but can anyone suggest anything quicker/simpler?

mailto:email@company.com?subject= enquiry

Cheers, Cap


回答1:


There isn't anything quicker. You can, however, make sure the link text is the email address to facilitiate copy/paste into a webmail client.




回答2:


If the link text is the email address it is inconvenient to double click to select and then copy (rather then dragging from first to last letter). When a specific subjectline is needed, you can say so, but since the mailto already has prefilled fields, you should also say so (and add it to the title of the email link), to avoid the users with a webclient to first copy the subjectline and then click the mailto link.

Send us an email (pre-composed) at mail@example.tld, with subject 'enquiry'



来源:https://stackoverflow.com/questions/6028471/mailto-with-no-default-email-client

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!