You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

How can I configure Mail in Mountain Lion to default the "from" field to match the account indicated by the "to" field of the message being replied to?

I own my own domain, under which I have several email addresses configured that all wind up being forwarded to a single account. With Mail in Snow Leopard and Lion, when I would reply to a received e-mail, the "from" field would be set corresponding to the e-mail address the original message had been sent to, making it easy to ensure the correct address is used. But in Mountain Lion, it appears that when I reply to any message, the "from" field of the reply is now being set based on the account which received the message. As such, I must now remember to manually change the "from" field everytime I reply to a message, or it will be sent out using my single account e-mail ID, which I actually never want to use.


Does anyone know of a way to get Mail from Mountain Lion to default the "from" field in a reply based on the "to" field of the message being replied to, as older versions of Mail used to do?

Mail-OTHER, OS X Mountain Lion

Posted on Jul 26, 2012 7:51 PM

Reply
87 replies

Sep 12, 2012 11:07 AM in response to windermerelodge

I thought I might have found the answer - I filter my mail into a large number of malboxes and in each mailbox under account info there is an account listed - by default this is the first account listed in your account list. You can change the account associated with the mail box - but you can't save the change 😟


Don't tell me I'm going to have to revert to Outlook 2011 again :-(

Sep 19, 2012 7:17 PM in response to Monkiineko

Ok, This is how i got it to sort of work. IMAP. I configured everything to work with IMAP on my server. I created subfolders within each IMAP sub folder to allow me to sort. I use rules to sort into the folders. AS long as the folders are on the server then the From Address is correct. When I am using Mail app at home, I have smart mailboxes that grab the emaisl also and display them further up the Left side list of mailboxes.


On my iOS devices, I do not have hte rules of course, but I ususally leave my desktop machine running and when it is not in sleep mode it appleis the rules and the emails are sorted.


I dreaded trying IMAP since I had not liked it onder Snow Leopard, but under Mountain Lion it works well. I just have to remmeber that when I delete the emails on my iPhone that they are deleted (though the server does not empty the tash right away so I can find the email later).


Jeff

Oct 4, 2012 8:40 AM in response to Monkiineko

I just wanted to add little drop of water in the bucket with the hope that Apple might take notice. I have the same issue. Forwarding my work email through icloud worked perfectly in Lion. I use both my work email and my iCloud (mac.com) addresses. If somebody sent email to the iCloud address, it would reply to the iCloud address; and if somebody sent email to the work address, it would set the reply-to correctly. However, since upgrading to ML, whenever anyone sends email to my work address and I reply, the reply-to address is iCloud/mac.com.


Very inconvenient and frustrating.


I've tried everything above except the automation, and still no luck. Maybe the automation will work; but I switched to Mac so that I wouldn't have to hack at things like I used to in Windows, so I'm hoping we can get a fix for this soon rather than running a script every time I want to reply to an email.


I would also like to add that if your computer is out of warranty, like mine, don't bother calling Apple Support. I asked for an exception since the issue was related to my recent purchase and installation of ML, and the guy hung up on me! Everyone has a bad day from time to time; but maybe a little explanation would be helpful. And polite.

Dec 22, 2012 1:48 PM in response to Monkiineko

I am having the same problem and find it HORRIBLY time consuming and frustrating. I need a simple fix.

I have the following types of accounts in my mountain lion mail program:

icloud

gmail

cox.net

two with my business domain at bluehost.com


None of them are forwarded. All of them receive mail directly. All I want to do is reply directly as well without any adjustments.


APPLE why is this so difficult? It worked fine for me in Snow Leopard. I KNOW YOU DO IT! Come on! Fix this!


PLEASE!

Dec 22, 2012 2:06 PM in response to MoJoKs

@MoJoKs - Nice summary! I posted a long while ago hoping for some fix, but NOTHING from Apple and as you note, this is something that worked perfectly in Snow Leopard. Thanks for restating the issue perfectly. We don't need some convoluted hoops to jump through we just need Apple to FIX THE ISSUE PLEASE! How can you (Apple) miss such a glaring mistake?

Dec 23, 2012 10:27 AM in response to MoJoKs

The only thing that I got to work was to set my counts as IMAP not POP3. That way each account has its own inbox (but there is a unified inbox). The outgoing reply emails are correctly addressed. This works well on my iPad, iPhone, and iMac. I have gmail, and several emails from my own domain. I tried iMap amfew years ago, but found the Mail apps on iOs and OSX crappy, but now they work fine. No problems.

Dec 23, 2012 11:05 AM in response to jklinephd

@jklinephd - Try replying to an email in any other folder on your Mac, like a local folder of client email or any local folder. The reply to address is NOT the one from the original email as it USED TO BE IN Snow Leopard. When you hit "reply" to an email no matter WHERE it resides, the message should have the same address that the original email was addressed to and not some other address. Lion and Mountain Lion break this obvious functionality.

Dec 23, 2012 8:22 PM in response to Athtart

I know, that is why I use only folders on the server or Smart Mailboxes. For each iMap account i create several additional folders, the rules on my local iMac sort the emails into the folders, but the folders are still on the server under each IMAP account. Those folders show up on my iPad and iPhone. None of my folders are local.


The Negative is that the local imac only activates these rules when the machine is awake and when Mail is forefront. So when I am away from my desk I have to check the inbox to find some emails. THey get moved later when I am at home. I may set up an automator or applescript to run every 2 hours to bring Mail to the front and make it rune all of the rules.


The negative of having no local folders is that I cannot access email when I have no internet, though that has been rare in my case. There are easy ways to down load IMAP accounts and back them up. You could run POP versions of your accounts and just take them offline, or get a freeware email app that runs POP and have it download emails (but set to leave them on the server).


I agree that the change is stupid, which is why I posted originally and started following this thread. The IMAP works, but it drove me nuts for a few weeks. I was hesitant to switch to IMAP, but I have been happy with the results and problem is solved, I still want Apple to fix it, but until they do, IMAP works. There are also advantages to IMAP over POP. I can search my IPAD to find emails sent from home. Works nice for my business.

Mar 12, 2013 12:15 PM in response to malzbier

Building on the work at http://techpatio.com/2012/guides-how-to/mountain-lion-mail-default-from-field-se nder-bug I made an Applescript that solves (for me) two really annoying bugs that Apple introduced in Mail with Mountain Lion. Specifically, it achieves the following:


1. Reply or reply-to-all mails are sent from your account as found in the to field of the message you are replying to (as opposed to the default Mountain Lion Mail behavior where Mail uses the mailbox in which the replied-to-mail is stored to set the sending account, which is the issue described in this thread)


2. Reply-to-all mails don't contain your email in to or cc fields (as opposed to the default Mountain Lion Mail behavior where Mail often places your address in the cc or to field so you have to remove it manually, which is the issue described e.g. here: https://discussions.apple.com/thread/4162668?answerId=19113964022#19113964022)


It's probably not pretty or optimized in any way but it does the job for me. http://techpatio.com/2012/guides-how-to/mountain-lion-mail-default-from-field-se nder-bug includes instructions how to replace the default Mail key combinations for reply and reply-to-all with executions of this script.


Note that you will need to compile two versions of this script, one as below for the reply-to-all command replacement and another one for the reply command replacement in which you replace the line:

set theReply to reply selectedMessage with reply to all

by the line

set theReply to reply selectedMessage


Otherwise the two scripts are identical.


Here is the script for reply-to-all:


on run

tell application "Mail"

set theSelection to selection

if ((count of theSelection) > 0) then

set selectedMessage to item 1 of theSelection

set addresses to address of every recipient of selectedMessage

set theccRecipients to address of cc recipients of selectedMessage

set thetoRecipients to address of to recipients of selectedMessage

set theSender to sender of selectedMessage

set sentTo to ""

repeat with selectedAccount in accounts

set accountemails to email addresses of selectedAccount

repeat with accountemail in accountemails

if addresses contains accountemail then

set sentTo to full name of selectedAccount & " "

set senttoAddress to accountemail

exit repeat

end if

end repeat

end repeat

set theReply to reply selectedMessage with reply to all

tell theReply to set sender to sentTo

tell theReply to delete cc recipients

tell theReply to delete to recipients

repeat with a from 1 to count theccRecipients

set insertccRecipient to item a of theccRecipients

if insertccRecipient does not contain senttoAddress then

tell theReply to make new cc recipient with properties {address:insertccRecipient}

end if

end repeat

tell theReply to make new to recipient with properties {address:theSender}

repeat with a from 1 to count thetoRecipients

set inserttoRecipient to item a of thetoRecipients

if inserttoRecipient does not contain senttoAddress then

tell theReply to make new to recipient with properties {address:inserttoRecipient}

end if

end repeat

tell theReply to set visible to true

else

display dialog ("Select a message before running this script.")

end if

end tell

end run

Mar 12, 2013 3:12 PM in response to ohkami

I just realized that I made a mistake in my previous post. The script with which to replace the reply function in Mountain Lion Mail is a bit more different from the one for the reply-to-all function I posted.


Here is the script to use for the normal reply:


on run

tell application "Mail"

set theSelection to selection

if ((count of theSelection) > 0) then

set selectedMessage to item 1 of theSelection

set addresses to address of every recipient of selectedMessage

set sentTo to ""

repeat with selectedAccount in accounts

set accountemails to email addresses of selectedAccount

repeat with accountemail in accountemails

if addresses contains accountemail then

set sentTo to full name of selectedAccount & " "

exit repeat

end if

end repeat

end repeat

set theReply to reply selectedMessage

tell theReply to set sender to sentTo

tell theReply to set visible to true

else

display dialog ("Select a message before running this script.")

end if

end tell

end run

Mar 13, 2013 2:41 PM in response to ohkami

Just wanted to say thanks for posting these scripts. After refusing to spend the time to set up an applescript for this bug, and all the while hoping Apple would fix it themselves, I've finally thrown in the towel and installed these two scripts, which work beautifully and are already saving me time and mishaps. My only hiccup was putting a shortcut for reply-all, finally settling on control-option-command-R, which is a fistful, but only one fistful.

How can I configure Mail in Mountain Lion to default the "from" field to match the account indicated by the "to" field of the message being replied to?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.