Nội dung Text: 19.5. Reading Email p2

Tip: Use the Return key to create blank lines in the original message. Using this method,
you can splice your own comments into the paragraphs of the original message, replying
point by point. The brackets preceding each line of the original message help your
correspondent keep straight what's yours and what's hers.
When you're finished, click Send. (If you click Reply All in the message window now,
your message goes to everyone who received the original note, even if you began the
reply process by clicking Reply. Mac OS X, in other words, gives you a second chance to
address your reply to everyone.)
19.5.6. Forwarding Messages
Instead of replying to the person who sent you a message, you may sometimes want to
pass the note on to a third person.
To do so, click the Forward toolbar button (or choose Message Forward, or press
Shift- -F). A new message opens, looking a lot like the one that appears when you
reply. You may wish to precede the original message with a comment of your own, along
the lines of: "Frank: I thought you'd be interested in this joke about your mom."
Finally, address it as you would any outgoing piece of mail.
19.5.7. Redirecting Messages
A redirected message is similar to a forwarded message, with one useful difference:
When you forward a message, your recipient sees that it came from you. When you
redirect it, your recipient sees the original writer's name as the sender. In other words, a
redirected message uses you as a low-profile relay station between two other people.
Treasure this feature. Plenty of email programs, including Outlook and Outlook Express
for Windows, don't offer a Redirect command at all. You can use it to transfer messages
from one of your own accounts to another, or to pass along a message that came to you
by mistake.
To redirect a message, choose Message Redirect, or press Shift- -E. You get an
outgoing copy of the message—this time without any quoting marks. (You can edit
redirected messages before you send them, too, which is perfect for April Fools' Day
pranks.)

19.5.8. Printing Messages
Sometimes there's no substitute for a printout. Choose File Print, or press -P to
summon the Print dialog box.
19.5.9. Filing Messages
Mail lets you create new mailboxes in the Mailboxes pane. You might create one for
important messages, another for order confirmations from Web shopping, still another for
friends and family, and so on. You can even create mailboxes inside these mailboxes, a
feature beloved by the hopelessly organized.
Mail in Leopard even offers smart mailboxes—self-updating folders that show you all
your mail from your boss, for example, or every message with "mortgage" in its subject.
It's the same idea as smart folders in the Finder or smart playlists in iTunes: folders
whose contents are based around criteria that you specify (Figure 19-13).
Figure 19-13. Mail lets you create self-populating folders. In this example, the "New
Mail from Steve" smart mailbox will automatically display all messages from Steve
Jobs at Apple that you've received in the past week.
The commands you need are all in the Mailbox menu. For example, to create a new
mailbox folder, choose Mailbox New Mailbox, or click the + button at the bottom of
the Mailboxes column. To create a smart mailbox, choose Mailbox New Smart
Mailbox.
Mail asks you to name the new mailbox. If you have more than one email account, you
can specify which one will contain the new folder. (Smart mailboxes, however, always sit
outside your other mailboxes.)
Tip: If you want to create a folder-inside-a-folder, use slashes in the name of your new
mailbox. (If you use the name Cephalopods/Squid, for example, Mail creates a folder
called Cephalopods, with a subfolder called Squid.) You can also drag the mailbox icons
up and down in the drawer to place one inside another.None of those tricks work for
smart mailboxes, however. The only way to organize smart mailboxes is to put them

inside a smart mailbox folder, which you create using Mailbox New Smart Mailbox.
You might do that if you have several smart mailboxes for mail from your co-workers
("From Jim," "From Anne," and so on) and want to put them together in one collapsible
group to save screen space.
When you click OK, a new icon appears in the mailbox column, ready for use.
You can move a message (or group of messages) into a mailbox folder in any of three
ways:
• Drag it out of the main list onto the mailbox icon (Figure 19-14).
• In the list pane, highlight one or more messages, and then choose from the
Message Move To submenu, which lists all your mailboxes.
• Control-click (or right-click) a message, or one of several that you've highlighted.
From the resulting shortcut menu, choose Move To, and then, from the submenu,
choose the mailbox you want.
Of course, the only way to change the contents of a smart mailbox is to change the
criteria that it uses to populate itself. To do so, double-click the smart mailbox icon and
use the dialog box that appears.
Figure 19-14. You can use any part of a message's "row" in the list as a handle; the
envelope cursor tells you that Mail knows what's happening. You can also drag
messages en masse onto a folder. If you Option-drag a message into a folder, you
make a copy, leaving the original message where it is.
19.5.10. Flagging Messages
Sometimes you'll receive email that prompts you to some sort of action, but you may not
have the time (or the fortitude) to face the task at the moment. ("Hi there… it's me, your
accountant. Would you mind rounding up your expenses for 1997 through 2007 and
sending me a list by email?")
That's why Mail lets you flag a message, summoning a little flag icon in a new column
next to a message's name. These indicators can mean anything you like—they simply call

attention to certain messages. You can sort your mail list so that all your flagged
messages are listed first; click the flag at the top of the column heading. (If you really
want to get serious about following up on the contents of a message, you can also create a
To Do item, as explained on Section 19.9.)
To flag a message in this way, select the message (or several messages) and then choose
Message Mark As Flagged, or press Option- -L, or Control-click the
message's name in the list and, from the shortcut menu, choose Mark As Flagged. (To
clear the flags, repeat the procedure, but use the Mark As Unflagged command
instead.)
Tip: This whole flagging business has another useful side effect. When Mail finds
messages that it thinks are spam, it marks them with little trash-bag icons in the flag
column. If you sort your mail by flag, then, all your spam gets grouped together—which
is great if you want to do one big spam-cleaning by dragging it all to the Trash.
19.5.11. Finding Messages
When you deal with masses of email, you may come to rely on Mail's dedicated
searching tools. They're fast and convenient, and when you're done with them, you can go
right back to browsing your Message list as it was.
19.5.11.1. Finding messages within a mailbox
The box in the upper-right corner of the main mail window is Mail's own private
Spotlight. You can use it to hide all but certain messages, as shown in Figure 19-15.
Tip: You can also set up Mail to show you only certain messages that you've manually
selected, hiding all others in the list. To do so, highlight the messages you want, using the
usual selection techniques (Section 2.3). Then choose View Display Selected
Messages Only. (To see all of them again, choose View Display All Messages.)
Figure 19-15. You can jump to the search box by clicking or by pressing Option
-F. As you type, Mail shrinks the list of messages. You can fine-tune your results

using the buttons just above the list. To return to the full message list, click the tiny
at the right side of the search box.
In Leopard, this search field is more powerful than ever. For example:
• You have the power of Spotlight charging up your search rankings; the most
relevant messages for your search appear high on the list. And Notes and To Do
items show up in the search results now, too.
• When you're searching, a thin row of buttons appears underneath the toolbar. You
can use these buttons to narrow your results to only messages with your search
term in their subject, for example, or to only those messages in the currently
selected mailbox.
• When you select a message in the search view, the Preview pane pops up from the
bottom of the window. If you click Show in Mailbox, on the other hand, you exit
the search view and jump straight to the message in whatever mailbox it came
from. That's perfect if the message is part of a thread, since jumping to the
message also displays all the other messages from its thread.
• If you think you'll want to perform the current search again sometime, click Save
in the upper-right corner of the window. Mail displays a dialog box with your
search term and criteria filled in; all you have to do is give it a name and click OK
to transform your search into a smart mailbox that you can open any time.
19.5.11.2. Finding text within an open message
You can also search for certain text within an open message. Choose Edit Find
Find (or press -F) to bring up the Find dialog box (Figure 19-16).
Figure 19-16. The Find box works just as it does in a word processor, except that the
Replace function works only on messages that you've written yourself—Mail doesn't
let you change the words of mail you've received. (Lawyers would have a field day
with that one.)

19.5.12. Deleting Messages
Sometimes it's junk mail. Sometimes you're just done with it. Either way, it's a snap to
delete a selected message, several selected messages, or a message that's currently before
you on the screen. You can press the Delete key, click the Delete button on the toolbar,
choose Edit Delete, or drag messages out of the list window and into your Trash
mailbox—or even onto the Dock's Trash icon.
Tip: If you delete a message by accident, the Undo command (Edit Undo or -Z)
restores it.
All of these commands move the messages to the Trash folder. If you like, you can then
click its icon to view a list of the messages you've deleted. You can even rescue messages
by dragging them back into another mailbox (back to the Inbox, for example).
POWER USERS' CLINIC
Secrets of the Mbox Files
Mail keeps your messages in a series of mailbox database files in your Home
Library Mail folder, inside folders named for your accounts (Outbox,
Deleted Messages, and so on).
Knowing this permits you to perform a number of interesting tricks. First of all,
now you know what files to back up for safekeeping.
Second, now you know which files to copy to your laptop to maintain email
continuity when you travel.
And finally, if you have messages on an old Mac that you'd like to copy to your
new one, you know where they're stored.
19.5.12.1. Method 1: Emptying the Trash folder
Mail doesn't vaporize messages in the Trash folder until you "empty the trash," just like
in the Finder. You can empty the Trash folder in any of several ways:

• Click a message (or several) within the Trash folder list, and then click the Delete
icon on the toolbar (or press the Delete key). Now those messages are really gone.
• Choose Mailbox Erase Deleted Messages ( -K). (If you have multiple
accounts, choose Erase Deleted Messages In All Accounts.)
• Control-click (or right-click) the Trash mailbox icon, and then choose Erase
Deleted Messages from the shortcut menu. Or choose the same command from the
pop-up menu at the bottom of the window.
• Wait. Mail will permanently delete these messages automatically after a week.
If a week is too long (or not long enough), you can change this interval. Choose
Mail Preferences, click Accounts, and select the account name from the list at
left. Then click Mailbox Behaviors, and change the "Erase deleted messages
when" pop-up menu. If you choose Quitting Mail from the pop-up menu, Mail will
take out the trash every time you quit the program.
19.5.12.2. Method 2: Deleted mail turns invisible
Mail offers a second—and very unusual—method of deleting messages that doesn't
involve the Trash folder at all. Using this method, pressing the Delete key (or clicking the
Delete toolbar button) simply hides the selected message in the list. Hidden messages
remain hidden, but don't go away for good until you use the Rebuild Mailbox command
described in the box on Section 19.6.1.
If this arrangement sounds useful, choose Mail Preferences; click Accounts and select
the account from the list on the left; click Mailbox Behaviors; and then turn off the
checkbox called "Move deleted messages to a separate folder" or "Move deleted
messages to the Trash mailbox." (The checkbox's wording depends on what kind of
account you have.) From now on, messages you delete vanish from the list.
They're not really gone, however. You can bring them back, at least in ghostly form, by
choosing View Show Deleted Messages (or pressing -L). Figure 19-17 shows the
idea.
Figure 19-17. To resurrect a deleted message (indicated in light gray type), Control-
click it and choose Undelete from the shortcut menu.

Using this system, in other words, you never truly delete messages; you just hide them.
At first, you might be concerned about the disk space and database size involved in
keeping your old messages around forever like this. Truth is that Mac OS X is perfectly
capable of maintaining many thousands of messages in its mailbox databases—and with
the sizes of hard drives nowadays, a few thousand messages aren't likely to make much
of a dent.
Meanwhile, there's a huge benefit to this arrangement. At some point, almost everyone
wishes they could resurrect a deleted message—maybe months later, maybe years later.
Using the hidden-deleted-message system, your old messages are always around for
reference. (The downside to this system, of course, is that SEC investigators can use it to
find incriminating mail that you thought you'd deleted.)
When you do want to purge these messages for good, you can always return to the
Special Mailboxes dialog box and turn the "Move deleted mail to a separate folder"
checkbox back on.
19.5.13. Archiving Mailboxes
Time Machine (Chapter 6) keeps a watchful eye on your Mac and backs up its data
regularly—including your email. If you ever delete a message by accident or otherwise
make a mess of your email stash, you can duck into Time Machine right from within
Mail, as described on Section 6.4.4.1.
But not everybody wants to use Time Machine, for personal reasons—lack of a second
hard drive, aversion to software named after H. G. Wells novels, whatever.
Yet having a backup of your email is critically important. Think of all the precious mail
you'd hate to lose: business correspondence, electronic receipts, baby's first message.
Fortunately, there's a second good way to back up your email—archive it, like this:
1. In the Mailboxes column, choose which mailbox or mailboxes you wish to
archive.
If you have multiple mailboxes in mind, Control-click (or right-click) each one
until you've selected all the ones you want.
2. At the bottom of the Mail window, open the pop-up menu and choose Archive
Mailbox(es).

This step is shown in Figure 19-18. (You can also get to this command by
choosing Mailbox Archive.)
3. In the box that appears, navigate to the place you want to stash this archive of
valuable mail, like a server, flash drive, or folder. Click Choose.
Your archived mailboxes are saved to the location you've chosen. You can now go
back to work writing new messages.
Later, if you need to pull one of those archives back into duty, choose File
Import Mailboxes. Choose the "Mail for Mac OS X" option and navigate back to
the place you stored your archived mailboxes.
Note: If you archive mailboxes on a regular basis, don't worry about changing the name
of the .mbox file to prevent it from overwriting a previous archive. Mail is smart enough
to stick a number at the end of the new file name for you.
Figure 19-18. If you don't use Time Machine (Section 6.4) to back up your Mac,
archiving your mailboxes on a regular basis can save you hours of grief and bad
language if something unfortunate happens to Mail or your Mac in general. All you
need to do is select which mailbox you want to archive, and then choose Archive
Mailbox from the menu. A dialog box pops up, asking you where to save your
archived mail, and Mail takes care of the rest.
19.5.14. Message Rules
Once you know how to create folders, the next step in managing your email is to set up a
series of message rules (filters) that file, answer, or delete incoming messages
automatically based on their contents (such as their subject, address, and/or size).
Message rules require you to think like the distant relative of a programmer, but the
mental effort can reward you many times over. Message rules turn Mail into a
surprisingly smart and efficient secretary.
19.5.14.1. Setting up message rules

Here's how to set up a message rule:
1. Choose Mail Preferences. Click the Rules icon.
The Rules pane appears, as shown at top in Figure 19-19.
2. Click Add Rule.
Now the dialog box shown at bottom in Figure 19-19 appears.
3. Use the criteria options (at the top) to specify how Mail should select messages to
process.
For example, if you'd like the program to watch out for messages from a particular
person, you would set up the first two pop-up menus to say "From" and
"Contains," respectively.
To flag messages containing loan,$$$$,XXXX,!!!!, and so on, set the pop-up
menus to say "Subject" and "Contains."
You can set up multiple criteria here, so you flag messages whose subjects contain
any one of those common spam triggers. (If you change the "any" pop-up menu to
say "all," then all of the criteria must be true for the rule to kick in.)
4. Specify which words or people you want the message rule to watch for.
In the text box to the right of the two pop-up menus, type the word, address, name,
or phrase you want Mail to watch for—a person's name, or $$$$, in the previous
examples.
Figure 19-19. Top: Mail rules can screen out junk mail, serve as an email
answering machine, or call important messages to your attention. All mail
message rules you've created appear in this list. (The color shading for each
rule is a reflection of the colorizing options you set up, if any.)
Bottom: Double-click a rule to open the Edit Rule dialog box, where you can
specify what should set off the rule and what it should do in response.
5. In the lower half of the box, specify what you want to happen to messages that
match the criteria.

If, in Steps 1 and 2, you've told your rule to watch for junk mail containing $$$$
in the Subject line, here's where you can tell Mail to delete it or move it into, say, a
Junk folder.
With a little imagination, you'll see how the options in this pop-up menu can do
absolutely amazing things with your incoming email. Mail can colorize, delete,
move, redirect, or forward messages—or even play a sound when you get a certain
message.
By setting up the controls as shown in Figure 19-19, for example, you'll have
specified that whenever your mother (mom@mcmail.com) sends something to
your Gmail account, you'll hear a specific alert noise as the email is redirected to a
different email account, chickadee745@hotmail.com.
6. In the very top box, name your mail rule. Click OK.
Now you're back to the Rules pane (Figure 19-19, top). Here you can choose a
sequence for the rules you've created by dragging them up and down. Here, too,
you can turn off the ones you won't be needing at the moment, but may use again
one day.
Tip: Mail applies rules as they appear, from top to bottom, in the list. If a rule
doesn't seem to be working properly, it may be that an earlier rule is intercepting
and processing some messages before the "broken" rule even sees them. To fix
this, try dragging the rule (or the interfering rule) up or down in the list.
GEM IN THE ROUGH
The Email Answering Machine
If you're going on vacation, you can turn Mail into an email answering machine
that sends a canned "I'm away until the 15th" message to everyone who writes
you.
To do so, set the first set of pop-up menus in the Rules dialog box so that they
say Account and the name of your account. In the bottom half of the dialog box,
select Reply to Message from the pop-up menu. Click "Reply message text,"
and then type your boilerplate reply in the resulting box.
Keep in mind, though, that mail rules only work when Mail is open and

connected to the Internet. If your computer is set to turn off after a certain
period of time, therefore, make sure to disable that feature before you go on
vacation.
Also: If you subscribe to mailing lists, set up another mail rule that intercepts
and files them before your answering-machine rule kicks in. Otherwise, you'll
incur the wrath of other Internet citizens by littering their email discussion
groups with copies of your auto-reply message.