Making the most of Apple Mail

From CATUG wiki
Revision as of 21:51, 16 April 2011 by N Reid (talk | contribs) (→‎Junk mail filter: add advice given on Mac-Min)
Jump to navigation Jump to search

This page contain various suggestions to help you make the most of Apple Mail, the default email program on Macintosh computers.

Filtering your emails

It is useful to filter incoming emails from busy mailing lists such as Mac-Min into their own separate folders. This means that your inbox will only contain personal and sundry messages, and that you can catch up on your mailing lists when you have time.

To set up a rule, choose the menu command Mail > Preferences, then click on the Rules icon.

A simple rule for subject lines containing [Mac-Min] works for this list. However, this would mix off-list replies sent to you into the list traffic.

A more specific way to filter Mac-Min messages is to filter by Mailman's list-id header. All messages sent through Mac-Min will have a list-id header that contains mac-min_catug.org.catug.org

In Apple Mail, if List-id is not in the list of fields that you can use in Rules, then select Edit Header List.
Mail Rules: Where to find "Edit Header List"


This brings up the Message Headers window; click on the + tool at the lower left, and add List-id.
Message Headers window


After this, you will be able to use List-id in the same way that you could already filter on From, To, Subject etc.
Mail rule for Mac-Min.png

Junk mail filter

Mail has a pretty good junk filter. You can train it to be even better by using the "Junk" button on the toolbar to toggle the junk flag on individual messages.

If you make a mistake using this, e.g. you label a good message as junk or switch off the junk setting on a bad message, this confuses Mail's rules. It doesn't seem to ignore the mistake even if you correct yourself straight away. The only way out of this is to press the reset button in Mail's Preferences: Junk tab. After this you will have to start again with training Mail's junk filter.

Previous recipients

Mail helpfully builds an archive of previous recipients. However, this sometimes needs weeding. If you start typing a name or email address in the To: field, and Mail prompts you with some that are obsolete or were wrong to begin with, you can remove these quite easily.

In Mail, choose the menu command Window > Previous Recipients. From this window, you will be able to remove those with whom you no longer correspond.

Default text encoding

Mail automatically handles text encoding for scripts which have special characters not found in English. However, people who regularly exchange messages in such languages, or including other special characters, it may be helpful to change the default text encoding to Unicode (UTF-8).

On the command line in Terminal, type:

defaults write com.apple.mail NSPreferredMailCharset "UTF-8"

It seems that Mail will always default to the simplest encoding it can, so when you're setting the "default" encoding, all you're overriding is what choice it makes when it has to deviate from its preferred encoding. For a message in plain English, Mail will use US-ASCII which is a simple encoding; but if special characters are present, Mail will use UTF-8 if the above preference has been set.

To check the encoding of a message, use the menu command View > Message > Raw Source, then find the key word "charset".

Sending HTML emails

The easy part

Assuming that you already know the difficult bit i.e. how to create an HTML file, and just want to send it as an HTML-formatted email rather than an attachment, this is easy on a Mac. Open the html document in Safari, then use the menu command File > Mail Contents of This Page, and Mail will create an html formatted email.

If you need to send it with an email program other than Mail for some reason, just use Mail to email it to yourself and pick it up with the other email application, then re-send it using that app.

The hard part

Doing HTML emails isn't an easy thing to do. If this is for a non-profit 501(c)3 organization in the US, Christi recommends a free account with Vertical Response. It takes the headache out of HTML emails, and keeps track of your newsletter email list.

If you still want to forge forward in designing HTML emails yourself, this tutorial article might help, but it isn't for the faint in heart.

An alternative

These days, most people's computers have software for reading PDF files, and Macs can print to PDF. Consider whether sending your message as a PDF file would be adequate for your needs.

Just adding links

It is easy to simply add links into an email. If the links you want to send are already on a website, just start a new email, then select the text including links on the web page, and drag it into the new email message window. (This always works with simple web pages e.g. on a wiki, but others might be protected from copying like this.)

Alternatively, to manually add a link to some text in your message, first select the text, then right-click and choose Link > Add Link… from the popup menu, and paste (or type) the link. Mail will fill in http:// at the beginning if your link does not start with this or another specific protocol.

Credits

Contributed by various members of CATUG, up to February 2011. Thanks to David Burke and Eric for investigating text encodings, and Christi for her advice on learning HTML.

See also