Change the Sent Messages mailbox name in Mail

Apr 29, '05 08:20:00AM

Contributed by: lullabud

Different IMAP mail clients use different folder names to store sent messages. This has always irked me, since I sometimes use my employer's web-based interface, sometimes use Mail.app, and sometimes use Outlook, all of which use different folders to store the sent messages in. Today I'd had enough, so I decided to poke around and see what I could find. Sure enough, the "Sent Messages" folder is defined as a variable in the com.apple.mail.plist file, and even better, it's not global, but tied to the account.

You may want to quit Mail while doing this, as I'm not sure what might happen if you don't.

The ~/Library/Preferences/com.apple.mail.plist file is binary, so you have to use the Property List editor (installed with XCode) to open it. Once it's open, navigate to Root -> Mail Accounts. In there you will see numbers, each of which is an e-mail account within Mail. Inside each of those numbers should be a string value called SentMessagesMailboxName, which defines exactly what it says. Change it to whatever you like. I changed it to the default folder name that the web-interface uses, since that is not configurable and is handled on the server which is beyond my control.

Now, whenever I send mail, it gets saved into that folder. You could then move the contents of your "Sent Messages" folder into the current one, then delete that original empty folder, and you'd have one less place to dig through while searching for that lost message.

Comments (8)


Mac OS X Hints
http://hints.macworld.com/article.php?story=20050426125526728