Tip 42Copy Better in Mail

Here’s a simple solution to an irritating problem: if you copy an email address in Mail by right-clicking it and selecting Copy Address, you’ll probably find that not only do you get the email address, but you also copy the person’s name—hit Paste, and you’ll see something like Keir Thomas <keir@example.com>.

The solution for pasting just the email address (that is, simply keir@example.com) is to activate a secret setting, as follows, that will cause only the email address to be copied and pasted.

Quit Mail, open a Terminal window (open Finder, select the Applications list, and then in the list of applications double-click Terminal within the Utilities folder), and type the following:

 
defaults write com.apple.mail ...

Get Mac Kung Fu, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.