Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'I do it from the terminal!' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
I do it from the terminal!
Authored by: iMMersE on Sep 04, '02 03:11:11PM
Why run an applescript when you can get your hands dirty in Terminal? :)

Here are the commands you need to know to play with this feature

defaults read com.apple.mail UserHeaders

This will return "The domain/default pair of (com.apple.mail, UserHeaders) does not exist" if you have none set)

defaults write com.apple.mail UserHeaders '{"Reply-To" = "theemail@goes.here"; }'

or

defaults write com.apple.mail UserHeaders '{"Reply-To" = "theemail@goes.here"; "Bcc" = "another@address.here"; }'

You can add as many headers as you like in this format. And finally,

defaults delete com.apple.mail UserHeaders

To get back to the default. Note that this doesn't give you an input box in Mail.app - Should it do?

[ Reply to This | # ]
I do it from the terminal!
Authored by: alajuela on Sep 04, '02 03:57:23PM

The term commands are great, but in fact, what I want is the boxes in which to input email addresses manually. I'm gonna take a look at the script.



[ Reply to This | # ]
I do it from the terminal!
Authored by: alajuela on Sep 04, '02 04:27:38PM

That script doesn't do it either. There's got to be a way to permanently have those fields available.



[ Reply to This | # ]
I do it from the terminal!
Authored by: wlbentley on Apr 18, '10 12:17:13PM
It's important to note that (as of Mail.app 4.2), adding a BCC UserHeader in this way overwrites any other BCCs you may have added manually to your email, and applies this to all accounts. I'm still looking for a better way to automatically BCC an email address on a per-account basis.

[ Reply to This | # ]