热门标签 | HotTags
当前位置:  开发笔记 > 编程语言 > 正文

os中将文件名与后缀分开_如何在OSX中将Gmail设置为默认邮件客户端

os中将文件名与后缀分开Ifyou’veeverbeenbrowsingonaMacandclickedamailto:link,youmayhavediscoveredthati
os中将文件名与后缀分开

os中将文件名与后缀分开

If you’ve ever been browsing on a Mac and clicked a mailto: link, you may have discovered that it often tends to default to the Mail app. If you want to use Gmail (or another email service) you need to make a few changes.

如果您曾经在Mac上浏览并单击mailto:链接,则可能发现它通常倾向于默认为Mail应用程序。 如果要使用Gmail(或其他电子邮件服务),则需要进行一些更改。

To be clear, the problem isn’t with opening links in another email client like Outlook or Thunderbird. Many solutions we found explain that all you have to do is open Mail’s preferences and select the default email reader.

需要明确的是,问题不在于在另一个电子邮件客户端(例如Outlook或Thunderbird)中打开链接。 我们发现许多解决方案都说明,您要做的就是打开Mail的首选项并选择默认的电子邮件阅读器。

This only means email will open by default in another email client. If you want mailto: links to open in Gmail on Safari or Chrome or any other browser, however, then doing this won’t work. You actually have to cut out Mail altogether and make the changes to the browser itself.

这仅意味着默认情况下,电子邮件将在另一个电子邮件客户端中打开。 但是,如果您希望mailto:链接在Safari或Chrome或任何其他浏览器的Gmail中打开,则此操作将无效。 实际上,您必须完全删除Mail,然后对浏览器本身进行更改。

On Chrome, it’s incredibly easy to default open mailto: links in Gmail. You can simply open a Gmail window and click on the gray double diamonds next to the bookmark star. Out pops a dialog asking if you want to allow, deny, or ignore. If you choose “allow” or “deny” then either way, you’re set.

在Chrome上,默认打开Gmail中的mailto:链接非常容易。 您只需打开Gmail窗口,然后单击书签星形旁边的灰色双菱形即可。 输出弹出对话框,询问您是否要允许,拒绝或忽略。 如果选择“允许”或“拒绝”,则可以选择两种方式。

If you later change your mind, such as if you realize you do want to open mailto: links in Gmail, then you can change it. Type “chrome://settings/handlers” in the location bar and choose (or remove) gmail as your mail handler.

如果您以后改变主意,例如您意识到确实要在Gmail中打开mailto:链接,则可以进行更改。 在位置栏中输入“ chrome:// settings / handlers”,然后选择(或删除)gmail作为您的邮件处理程序。

If you use Firefox, it’s also easy. Open the preferences (“Command + ,”) and click the “Applications” tab. Scroll through the “Content Type” until you find “mailto” and then choose your default “Action” from the right column.

如果您使用Firefox,它也很容易。 打开首选项(“ Command +”),然后单击“应用程序”选项卡。 滚动浏览“内容类型”,直到找到“ mailto”,然后从右栏中选择默认的“操作”。

Okay, so those are third-party browsers, but what about Apple’s own Safari browser, which a great number of Mac users use by default?

好的,那是第三方浏览器,但是苹果自己的Safari浏览器怎么样?默认情况下,有很多Mac用户使用该浏览器?

Unfortunately, Safari doesn’t have a simple way to set applications handlers. We searched for an easy method (keyword: easy) such as a setting or configuration file, but the only way to reliably do this in Safari is using the mailto extension (it’s also available for Opera and Chrome).

不幸的是,Safari没有简单的方法来设置应用程序处理程序。 我们搜索了一种简单的方法(关键字:easy),例如设置或配置文件,但是在Safari中可靠地执行此操作的唯一方法是使用mailto扩展名(Opera和Chrome也可用)。

The mailto extension works for more than simply Gmail. Once you download the extension and install it, a configuration screen will open. Choose your mail service and then restart Safari.

mailto扩展程序不仅可用于Gmail。 下载扩展并安装后,将打开一个配置屏幕。 选择您的邮件服务,然后重新启动Safari。

Now, when you click upon mailto: links, your email service should open in a compose tab. Note, if your email isn’t represented in this list. You can click “Custom URL” at the bottom and add it. You should perform a web search or consult your email’s knowledge base for what that URL would be.

现在,当您单击mailto:链接时,您的电子邮件服务应在撰写选项卡中打开。 请注意,如果您的电子邮件没有出现在此列表中。 您可以单击底部的“自定义URL”并将其添加。 您应该执行网络搜索或查询电子邮件的知识库以获取该URL的含义。

If you change your mind or email service, you want to open Safari’s preferences and click the “Extensions” tab then “Uninstall” to remove the extension, or “Options” to reopen the configuration page.

如果您改变主意或电子邮件服务,则要打开Safari的首选项,然后单击“扩展名”选项卡,然后单击“卸载”以删除扩展名,或单击“选项”以重新打开配置页面。

That’s all there is to setting Gmail as your default email on OS X, and hopefully you can use these methods to change your mail handler regardless of the service. If you have a question or comment to add, we encourage you to add your thoughts to our discussion forum.

这就是将Gmail设置为OS X上的默认电子邮件的全部内容,并且希望您可以使用这些方法来更改邮件处理程序,而与服务无关。 如果您有任何问题或评论要添加,我们鼓励您将您的想法添加到我们的论坛中。

翻译自: https://www.howtogeek.com/210119/how-to-set-gmail-as-your-default-mail-client-in-os-x/

os中将文件名与后缀分开



推荐阅读
  • GetWindowLong函数
    今天在看一个代码里头写了GetWindowLong(hwnd,0),我当时就有点费解,靠,上网搜索函数原型说明,死活找不到第 ... [详细]
  • 阿,里,云,物,联网,net,core,客户端,czgl,aliiotclient, ... [详细]
  • 本文介绍了如何按需加载elementui的部分模块,以及如何设置覆盖某些属性。通过import引入Dialog模块,并使用Vue.component进行全局设置。同时使用Vue.use引入ElementUI和VueAxios模块。通过extends进行属性覆盖设置。 ... [详细]
  • 开发笔记:实验7的文件读写操作
    本文介绍了使用C++的ofstream和ifstream类进行文件读写操作的方法,包括创建文件、写入文件和读取文件的过程。同时还介绍了如何判断文件是否成功打开和关闭文件的方法。通过本文的学习,读者可以了解如何在C++中进行文件读写操作。 ... [详细]
  • 本文介绍了深入浅出Linux设备驱动编程的重要性,以及两种加载和删除Linux内核模块的方法。通过一个内核模块的例子,展示了模块的编译和加载过程,并讨论了模块对内核大小的控制。深入理解Linux设备驱动编程对于开发者来说非常重要。 ... [详细]
  • 如何在HTML中获取鼠标的当前位置
    本文介绍了在HTML中获取鼠标当前位置的三种方法,分别是相对于屏幕的位置、相对于窗口的位置以及考虑了页面滚动因素的位置。通过这些方法可以准确获取鼠标的坐标信息。 ... [详细]
  • 带添加按钮的GridView,item的删除事件
    先上图片效果;gridView无数据时显示添加按钮,有数据时,第一格显示添加按钮,后面显示数据:布局文件:addr_manage.xml<?xmlve ... [详细]
  • 本文总结了在编写JS代码时,不同浏览器间的兼容性差异,并提供了相应的解决方法。其中包括阻止默认事件的代码示例和猎取兄弟节点的函数。这些方法可以帮助开发者在不同浏览器上实现一致的功能。 ... [详细]
  • 第一步:PyQt4Designer设计程序界面该部分设计类同VisvalStudio内的设计,改下各部件的objectName!设计 ... [详细]
  • 我尝试使用Vue.js在Laravel中实现imageupload吗?但是,我不知道为什么图像 ... [详细]
  • 本篇文章笔者在上海吃饭的时候突然想到的这段时间就有想写几篇关于返回系统的笔记,所以回家到之后就奋笔疾书的写出来发布了事先在网上找了很多方法,发现有 ... [详细]
  • 整个窗体当设置QT的窗体(QMainWindow,QDialog)时,直接用targetForm->setWindowOpacity()函数即可实现,效果为窗体及窗体内所有控件都透明化了。二、 ... [详细]
  • 计算机存储系统的层次结构及其优势
    本文介绍了计算机存储系统的层次结构,包括高速缓存、主存储器和辅助存储器三个层次。通过分层存储数据可以提高程序的执行效率。计算机存储系统的层次结构将各种不同存储容量、存取速度和价格的存储器有机组合成整体,形成可寻址存储空间比主存储器空间大得多的存储整体。由于辅助存储器容量大、价格低,使得整体存储系统的平均价格降低。同时,高速缓存的存取速度可以和CPU的工作速度相匹配,进一步提高程序执行效率。 ... [详细]
  • 关键词:Golang, Cookie, 跟踪位置, net/http/cookiejar, package main, golang.org/x/net/publicsuffix, io/ioutil, log, net/http, net/http/cookiejar ... [详细]
  • Servlet多用户登录时HttpSession会话信息覆盖问题的解决方案
    本文讨论了在Servlet多用户登录时可能出现的HttpSession会话信息覆盖问题,并提供了解决方案。通过分析JSESSIONID的作用机制和编码方式,我们可以得出每个HttpSession对象都是通过客户端发送的唯一JSESSIONID来识别的,因此无需担心会话信息被覆盖的问题。需要注意的是,本文讨论的是多个客户端级别上的多用户登录,而非同一个浏览器级别上的多用户登录。 ... [详细]
author-avatar
花亜_277
这个家伙很懒,什么也没留下!
PHP1.CN | 中国最专业的PHP中文社区 | DevBox开发工具箱 | json解析格式化 |PHP资讯 | PHP教程 | 数据库技术 | 服务器技术 | 前端开发技术 | PHP框架 | 开发工具 | 在线工具
Copyright © 1998 - 2020 PHP1.CN. All Rights Reserved | 京公网安备 11010802041100号 | 京ICP备19059560号-4 | PHP1.CN 第一PHP社区 版权所有