Changing Mail’s Copy Address Behaviour 4

Tip

Changing Mail’s Copy Address Behaviour

Hey

This is a quick post about Mail. If you have ever copied an email address from any address field you will realise that if comes in the format of Name <email>. Although these two parts are quite useful in certain situations, it may be more useful to change the format so you just get the email address. This way you can copy and paste it anywhere without the need to do any special formatting.

To change Mail’s copy format, open up Terminal and copy and paste the following.

defaults write com.apple.mail AddressesIncludeNameOnPasteboard -bool NO

Restart Mail, and test to see if the command worked. Simply copy any address. Instead of being the name and email, only the email address will be present. I find this far more useful, especially when I need the address in certain situations.

To revert the process copy and paste the following into to Terminal.

defaults write com.apple.mail AddressesIncludeNameOnPasteboard -bool YES

Restart Mail again, and the format should be back to normal.

A simple tip, however I think it is very useful. If you have anything similar please leave a comment below.


If you want to keep up with the latests post from Mac Tricks And Tips I recommend you subscribe to the RSS Feed.

4 Responses to “Changing Mail’s Copy Address Behaviour”

  1. 1

    This is a good tip.

    This feature is also included in the “Secrets” preference pane, along with many other customization options, for those who prefer to not have to keep up with Terminal code.

    http://secrets.blacktree.com/

    Comment By DCJ001 on March 5th, at 6:18 pm

  2. 2

    Actually, now that I look at what’s offered in Secrets, I don’t see this option there.

    I may have been wrong when I recommended Secrets for this.

    Comment By DCJ001 on March 5th, at 11:39 pm

  3. 3

    Okay. Sorry to be going back and forth.

    But, now that I look further, what I said about this option being included in Secrets is true. There is a check box for “Include names when copying e-mail address.”

    Comment By DCJ001 on March 6th, at 11:11 pm

  4. 4

    an alternative method to copy an email address from any Mail address field, you can simple click and hold, and a submenu will pop up with the option “Copy Address”. this option will copy the email address (only, without the ) to your clipboard. now you can paste the email addy where ever you want.

    Comment By lucy on March 17th, at 3:00 pm

Leave a Reply

You can use: <a href> <h1 - h6> <acronym> <code> <em> <strike> <strong> <i> <b>