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


Click here to return to the 'Permanently add Reply To headers in Mail.app' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Permanently add Reply To headers in Mail.app
Authored by: richard_k_smith on Dec 31, '07 04:00:50PM
And this hint works in Leopard, too.

I have decided to consolidate all my email in a gmail account, but still keep the "from" address my official - and well-known to my friends and colleagues - school address. Gmail itself provides a nice interface to this, when using the web version of gmail:

Settings/accounts and then "always send mail as" and set the default.

But how to do this in Mail.app when using it as an imap client to Gmail? I didn't want to "Activate" my school account (purposely I am pulling all the email into gmail) and even if I did it is a nuisance selecting that pull down "From" item.

So, I used the hint above, with a small variation. I did the first thing, set the "reply-to" (and was finally able to remove that field from my list of headers to view, and fill in), with this:

defaults write com.apple.mail UserHeaders '{"Reply-To" = "myid@myschool.ca"; }'

Then, I adapted that to set the "From" field:

defaults write com.apple.mail UserHeaders '{"From" = 'My Name' <myid@myschool.ca>"; }'

You can see that I used single quotes on My Name and pointy brackets around my address, the way that most email programs expect it.

A couple of test messages later, I was well pleased with the results. And my correspondents will no longer ask, "What is this ID I see?"

...r

[ Reply to This | # ]