Ask Different is a question and answer site for power users of Apple hardware and software. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'd like mail to be automatically be sent from an account based on domain the domain of the recipient.


I've set up multiple email accounts in, both personal and work. I find myself frequently annoyed, because I forget to set the "from" address, and thus email work from my personal account. What I'd like to have happen, is if the email recipient is, then use my account with, otherwise use, or something to that effect.

A related question, but in my case I'd like it to be dependent on the recipient.

MBP late 2011, OSX 10.7.4

share|improve this question
As an update, it looks like the answer is no. I've looked at applescript and it doesn't look like there is any sort of hook in that would work for this, someone please chime in if this is wrong. – derekv Oct 9 '12 at 14:47
Darn, I had literally the exact same question. Are there any email apps at all that can do this? – daGUY Dec 28 '12 at 16:30
up vote 3 down vote accepted

Unfortunately, there is no way to do this in Apple Mail. It only works for messages which you are replying to (they automatically use the same outgoing address which received the original message). There is no hook in AppleScript, nor an option in Automator by which to make this happen. If it were possible, as of right now, it would still require a third-party plugin, which I have not been able to find either. So unfortunately, the answer is now.

Note: Also, if you select the inbox of the account from which you want to send the message, then compose, Mail will automatically use that account's email address for sending, unless you change it. Not quite as helpful as what you were hoping for, but at least something worth considering.

Good luck and happy mailing!

share|improve this answer
Thanks for checking Automater (something I didn't know about) and confirming my suspicion. – derekv Oct 13 '12 at 1:08
You're quite welcome. – Corey Edwards Oct 13 '12 at 1:36

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.