December 9th in Tips & Tricks by .

Force Mail in 10.6 to only copy e-mail addresses

In Mail OS X 10.6 one of the changes is how an email address is copied to the clip board. By default in 10.6 when you copy and paste an e-mail address you get the output in “Name ” . Before the release of 10.6 you could just copy an email address in Mail and when you pasted it you would just get “name@example.com.”

If use use Mail.app like I do and use the copy feature to move e-mail addresses around, and are frustrated by this new format then I have a fix for you.
The developers of 10.6 build in a terminal fix to get the paste back to the way it was before. The fix is a real simple one. All you need to do is open the Terminal and paste the code from below. ** Make sure you close Mail.app before you do this.

defaults write com.apple.mail AddressesIncludeNameOnPasteboard -bool NO

Restart Mail, and Copy Address will once again do just what it says, which is the preferred behavior for my use of Mail. If you try this and decided you prefer the default version, quit Mail and run this command in Terminal:

defaults delete com.apple.mail AddressesIncludeNameOnPasteboard

Open Mail.app again and you should have the paste function of 10.5 back. If for some reason you want to undo this then you can use the code below to undo the hack.

5 Comments

  • Leopold
    February 25, 2010
  • Susie Lawson
    March 7, 2010
  • Trisha Cupra
    November 11, 2010
  • lexie Longstreet
    May 24, 2011
  • GnarleySpoke
    October 12, 2011

Leave A Comment.