I'd like to use Control Plane to change the default sending account in mail.app (preferences->composing->send new messages from) when I switch from a work to a home environment. Control Plane doesn't have an option to do this, and I can't find anything in the mail.app AppleScript dictionary that might work … except, perhaps, "default email account", but that is r/o. Any ideas on ways to do this? I know I can do this message by message, but I want to change the default.
Asked
Active
Viewed 627 times
2
-
Voting to migrate -- this seems more like a system administration question and not a programming Q&A question. Also, for anyone else who has never heard of [Control Plane, it's an app found here](http://www.controlplaneapp.com/). – Michael Dautermann Jul 29 '13 at 17:29
-
This is an AppleScript dictionary question, really … but it could be an AppleScript GUI question, too ... – mikejt Jul 30 '13 at 22:26
2 Answers
2
To set the default sending address, you can change the value of the Send new messages from: dropdown list in the Mail.app preferences window under the 'Composing' tab.
If you want to use AppleScript to change the sender once you're composing a message, that can be done using AppleScript as described in this question and answer.

Community
- 1
- 1

Matthew McVickar
- 92
- 2
- 11
0
In the Composing tab, you can choose to send new messages from the account of the selected mail box. You'll find out that this is sufficient in most cases. There is no way to automate this with AS afaik, except perhaps with GUI scripting.
(I agree that this question doesn't really belong on Stackoverflow).

Mark
- 2,380
- 11
- 29
- 49