haiku/docs/userguide/zh_CN/workshop-email.html

157 lines
13 KiB
HTML

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US" xml:lang="en-US">
<head>
<!--
*
* Copyright 2011, Haiku, Inc. All rights reserved.
* Distributed under the terms of the MIT License.
*
* Authors:
* Humdinger <humdingerb@gmail.com>
* Translators:
* Pengphei Han
*
-->
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta http-equiv="Content-Style-Type" content="text/css" />
<meta name="robots" content="all" />
<title>操作练习:邮件管理</title>
<link rel="stylesheet" type="text/css" href="../Haiku-doc.css" />
</head>
<body>
<div id="banner">
<div><span>用户指南</span></div>
</div>
<div class="nav">
<div class="inner">
<ul class="lang-menu">
<li class="now"><img src="../images/flags/zh_CN.png" alt="" />  中文 [中文]</li>
<li><a href="../fr/workshop-email.html"><img src="../images/flags/fr.png" alt="" />Français</a></li>
<li><a href="../de/workshop-email.html"><img src="../images/flags/de.png" alt="" />Deutsch</a></li>
<li><a href="../it/workshop-email.html"><img src="../images/flags/it.png" alt="" />Italiano</a></li>
<li><a href="../ru/workshop-email.html"><img src="../images/flags/ru.png" alt="" />Русский</a></li>
<li><a href="../es/workshop-email.html"><img src="../images/flags/es.png" alt="" />Español</a></li>
<li><a href="../sv_SE/workshop-email.html"><img src="../images/flags/sv_SE.png" alt="" />Svenska</a></li>
<li><a href="../jp/workshop-email.html"><img src="../images/flags/jp.png" alt="" />日本語</a></li>
<li><a href="../uk/workshop-email.html"><img src="../images/flags/uk.png" alt="" />Українська</a></li>
<li><a href="../pt_PT/workshop-email.html"><img src="../images/flags/pt_PT.png" alt="" />Português</a></li>
<li><a href="../fi/workshop-email.html"><img src="../images/flags/fi.png" alt="" />Suomi</a></li>
<li><a href="../sk/workshop-email.html"><img src="../images/flags/sk.png" alt="" />Slovenčina</a></li>
<li><a href="../en/workshop-email.html"><img src="../images/flags/gb.png" alt="" />English</a></li>
</ul>
<span>
« <a href="queries.html">Queries</a>
:: <a href="contents.html" class="uplink">Contents</a>
:: <a href="applications.html">Applications</a> »
</span></div>
</div>
<div id="content">
<div>
<div class="box-info">本节的翻译还未完成。在未完成之前,所有的未完成部分都将使用英语原文。</div>
<table class="index" id="index" summary="index">
<tr class="heading"><td>索引</td></tr>
<tr class="index"><td>
<a href="#mailsystem">Haiku 邮件系统</a><br />
<a href="#statuses">自定义状态</a><br />
<a href="#queries">使用查询</a><br />
<a href="#tips">更多帮助</a>
</td></tr>
</table>
<h1>操作练习:邮件管理</h1>
<p>本次练习讲解主要针对 Haiku 下的邮件管理。并且我们假定 <a href="preferences/e-mail.html">电子邮箱</a> 首选项中已经对邮件服务作了正确的配置,并且您已经对 <a href="applications/mail.html">电子邮箱</a> 应用的基本功能有了一定的了解。</p>
<h2>
<a href="#"><img src="../images/up.png" style="border:none;float:right" alt="index" /></a>
<a id="mailsystem" name="mailsystem">Haiku 邮件系统</a></h2>
<p>如果您在使用 Haiku 之前有过其他系统的经验,您可能会习惯于 MS Outlook 或者 Mozilla 的雷鸟等大型邮件程序。您必须输入所有有关邮件服务器地址等的信息进行配置,并且它们使用各自的联系人数据库。它们负责发送和获取邮件,并将邮件存入一些大的特殊文件。<br />
更换邮件客户端会非常的麻烦,您必须进行导入/导出等操作,还要进行系列的转换。同时使用多个邮件客户端检查邮件也是不可行的,可能会带来不必要的混乱。</p>
<p>Haiku 邮件系统稍有不同。它由一些较小的独立模块构成。</p>
<p> <span class="app">mail_daemon</span> 负责与您的邮件服务器进行通信。<a href="preferences/e-mail.html">电子邮件</a> 首选项集中管理邮件账户的配置,例如邮件检查时间。 </p>
<p>每个收到/发送的消息都将保存为单个的邮件文件,它们的邮件头信息(如发送者,主题,日期)和状态(如新邮件,已回复,已发送)保存为 BFS 属性。这样能够方便使用 Haiku 的快速查询进行搜索和过滤。</p>
<img src="images/workshop-email-images/browsing.png" alt="browsing.png" />
<p>With every email being in a separate file, viewing them becomes just as easy as browsing through a folder (or query result) of images with <a href="applications/showimage.html">ShowImage</a>. Leaving the Tracker window open, you'll see the moving selection of the currently viewed file while you use the previous/next button to move through them.<br />
As they are independent files, using a viewer other than Haiku's <a href="applications/mail.html">Mail</a> causes no problems whatsoever.</p>
<p>Similarly, creating a new message results in just another file that is handed to the mail_daemon that takes care of sending it off. Contact management is deferred to the <a href="applications/people.html">People</a> application.</p>
<p>In a nutshell, where other mail clients do everything, from communicating with the mail servers to providing a view with all your mails and tools to search and filter them, Haiku uses a chain of smaller tools and general file management:</p>
<ul>
<li><p>The <span class="app">mail_daemon</span> to fetch/send mail and save them as normal files.</p></li>
<li><p>Tracker windows and queries to find and show email files.</p></li>
<li><p>The <span class="app">Mail</span> application to view email files and create new messages relying on system-wide contact management by the <span class="app">People</span> app.</p></li>
</ul>
<p>Especially using Tracker and queries to manage emails is a powerful idea. The experience you gain can be transferred to any other problem that is dealing with files. Be it images, music, video, contacts or any other documents, using Tracker is at the core of all file managing.<br />
Also, improvements in any of these system areas benefit not just emailing, but all applications that make use of them.</p>
<h2>
<a href="#"><img src="../images/up.png" style="border:none;float:right" alt="index" /></a>
<a id="status" name="status">自定义状态</a></h2>
<p>在您检查自己的新邮件时,您可能希望之后在仔细的进行阅读。您可以使用电子邮件菜单的<span class="menu">关闭且保留为新邮件</span> ,让它们仍然保留在您的 “<i>新邮件</i>” 查询中,以这种方式让任务保留起来。</p>
<p>当然另一种方式是撰写回复并保存为草稿。但是如果您不希望编写回复,而只是留待以后再次阅读,这样就不大方便。</p>
<img src="images/workshop-email-images/status.png" alt="status.png" />
<p>Better use <span class="menu">Close and | Set to...</span> to create a new status and use that to categorize your mail. For example, you could call the status "<i>Later</i>", and then query for that when you find more time.<br />
Or you use different statuses for specific projects. For example, I created a status "<i>HUG</i>" (for "Haiku user guide") under which I collect every mail that may influence the contents of the user guide, like commit messages about code changes that alter or introduce some feature or anything else I feel could improve the user guide.<br />
In any case, try to keep the status name short. That way it always fits in a normally wide "Status" column in Tracker.</p>
<p>You don't have to open an email with the <span class="app">Mail</span> application to set its status. With the Tracker add-ons <span class="app">Mark as Read </span> and <span class="app">Mark as...</span> you can select some email files and set their status in one go.</p>
<h2>
<a href="#"><img src="../images/up.png" style="border:none;float:right" alt="index" /></a>
<a id="queries" name="queries">使用查询</a></h2>
<p>Sure, you specify a folder to store all your email, you can open it et voilà, there's all you mail. But over time the folder becomes crowded and showing all will take longer and longer as thousands of files and their attributes have to be parsed and sorted. Also, most of the time you don't really care about two year old emails of Nigerian princes and their inheritory trouble ...</p>
<div class="box-info">A lot of time when populating a folder is spent on putting files read from disk into the correct sorting order and displaying that in the window. If you do have to open a folder with a huge number of files, you can shorten the wait by making the Tracker window "invisible", i.e. either minimize it or change to another workspace. Watch <a href="applications/processcontroller.html">ProcessController</a> to see how it affects CPU usage.</div>
<p><a href="queries.html">Queries</a>, to the rescue!</p>
<p>By using queries, you can narrow down the view of your mails. Actually, the mailbox icon in the Deskbar uses queries.</p>
<img src="images/workshop-email-images/daemon-in-deskbar.png" alt="daemon-in-deskbar.png" />
<p>The <span class="menu">Open Draft</span> submenu does a query for the status "<i>Draft</i>", which is set by <span class="app">Mail</span> when you save a message.</p>
<p><span class="menu">Open Inbox Folder</span> and <span class="menu">Open Mail Folder</span> are just links to regular folders (and not very useful in my opinion).</p>
<p>The <span class="menu"># new messages</span> submenu is populated by a query for email with the status "<i>New</i>" (that same query is used to change the mailbox icon to show some letters in it, by the way).</p>
<p>You can add your own queries (or folders, applications, scripts etc.) to that context menu too, by putting them or links to them into <span class="path">~/config/settings/Mail/Menu Links</span>.</p>
<div class="box-info">The query <span class="path">~/config/settings/Mail/mailbox</span> is a special case: It is executed when left-clicking the mailbox icon in the Deskbar. If you want to change that behavior, you can replace it with any other file (or link to a file), just name it "<i>mailbox</i>". It doesn't have to be a query, a link to a folder of queries or a script or application works just as well.</div>
<h3>
<a href="#"><img src="../images/up.png" style="border:none;float:right" alt="index" /></a>
<a id="query-examples" name="query-examples">查询实例</a></h3>
<p>下面是几个有用的查询实例:</p>
<table summary="layout" border="0" cellspacing="0" cellpadding="10">
<tr align="center"><td><img src="images/workshop-email-images/query-1.png" alt="query-1.png" /><br />
查询具有自定义状态 "<i>Later</i> " 的所有邮件。</td>
<td><img src="images/workshop-email-images/query-2.png" alt="query-2.png" /><br />
查询过去两天的所有邮件。</td></tr>
<tr align="center"><td><img src="images/workshop-email-images/query-3.png" alt="query-3.png" /><br />
查询两周内 Ingo Weinhold 发送的所有邮件。</td>
<td><img src="images/workshop-email-images/query-4.png" alt="query-4.png" /><br />
查询 12 个月内 Haiku commit list 上的所有内容。</td></tr>
</table>
<h2>
<a href="#"><img src="../images/up.png" style="border:none;float:right" alt="index" /></a>
<a id="tips" name="tips">更多帮助</a></h2>
<ul>
<li><p>If you don't save a query as "<i>Query</i>" but as "<i>Query template</i>", invoking it won't show the result window, but the Find... window instead. That way you can easily exchange the search string for the subject or sender, for example, or change a "<i>2 days</i>" time limit to "<i>3 days</i>".</p></li>
<li><p>Activating "type-ahead filtering" in <a href="tracker.html#tracker-preferences">Tracker's preferences</a> allows you to very quickly filter a query result even further. Often it's enough to query for all mails of the last 3 days and go with type-ahead filtering from there. The big advantage is, that you don't have to exactly specify which attribute to search for, as all displayed are considered when filtering.</p></li>
<li><p><a href="http://haikuware.com/directory/view-details/utilities/desktop-accessories/relatedmail">RelatedMail</a> is a nifty little application that will query for all mails with the same subject/sender/time-frame etc. of a dropped email. Kind of what the <span class="menu">Queries</span> menu in the <span class="app">Mail</span> app is supposed to do.</p></li>
</ul>
</div>
</div>
<div class="nav">
<div class="inner"><span>
« <a href="queries.html">查询</a>
:: <a href="contents.html" class="uplink">内容</a>
:: <a href="applications.html">应用程序</a> »
</span></div>
</div>
</body>
</html>