没有电子邮件客户端时,`mailto:`会做什么? [英] What does `mailto:` do when there is no email client?

查看:197
本文介绍了没有电子邮件客户端时,`mailto:`会做什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在开发一个网站。

如果没有电子邮件客户端, mailto:会打开什么?例如Outlook,Thunderbird等)?
它可以在装有Outlook的计算机上使用,但是如果要 mailto:怎么办?

What does mailto: open in if there is no email client (like Outlook, Thunderbird, etc.)? It works on my computer, which has Outlook, but what if one wants mailto: to open in, say, gmail.com?

要实现此功能,我需要在 mailto:语句中添加什么?

What do I need to put in the mailto: statement for that to happen?

推荐答案

作为网络开发人员,您无法控制用户选择打开其电子邮件的软件,因为该软件由该用户的网络浏览器设置或操作系统处理。如果用户的计算机上没有安装电子邮件程序,并且浏览器中没有为 mailto链接定义任何操作,则不会发生任何事情。

As a web developer you don't have any control over the software that a user chooses to open their email, since it's handled by that user's web browser settings, or the OS. If a user has no email program installed on their machine and no operation defined for "mailto" links in their browser, nothing would happen.

这篇关于没有电子邮件客户端时,`mailto:`会做什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆