Mail 10.6 “Copy Address” fix

I stumbled on a welcoming Mail fix this morning which restores Leopard's (Mac OS 10.5) “Copy Address” behaviour.
In Snow Leopard (Mac OS 10.6), Mail's “Copy Address” contextual menu command copies the name and enclosed the address in angle brackets. As in “John Doe <john.doe@nowhere.com>”, which turns out to be annoying as most of the time I have to edit the pasted text in order to remove the brakets and/or name.
Mac Daddy World (Ecamm Network developer blog) discovered a Mail preference setting which restores Mail 10.5 behaviour (copy only the address):
AddressesIncludeNameOnPasteboard
Quit Mail, and open Terminal (Application > Utilities) and type the following command (all on the same line):
defaults write com.apple.mail AddressesIncludeNameOnPasteboard -bool NO
and next time you use the “Copy Address” contextual menu command, it will only place the e-mail address on your clipboard. Bliss.
Thanks Ken, this fix is most welcome.
Ø permalink: http://www.davidroessli.com/logs/2009/10/mail_106_copy_address_fix/
TrackBack URL for this entry:
http://www.davidroessli.com/cgi-bin/mt-tb.cgi/163.
Short URL for this entry: http://ro.ess.li/mail_106_copy_address_fix/
Previous: How to fix a Nik Software plug-in crash in Snow Leopard


Reponses to “Mail 10.6 “Copy Address” fix”
#1 by Alexander MacDougall
00:19 on 19 November 2009
When I do this I get a message that says "command not found". Suggestions?
#2 by David Roessli
08:41 on 19 November 2009
@Alexander MacDougall: did you copy the whole command?
defaults write com.apple.mail AddressesIncludeNameOnPasteboard -bool NO
The file is located in /usr/bin/defaults which should be in your path. Try,
/usr/bin/defaults write com.apple.mail AddressesIncludeNameOnPasteboard -bool NO
(all on the same line)