Bug with rules in Apple Mail

There is a bug when it comes to rules in Mail in 10.6.4 and 10.6.5 (and possibly earlier versions of Mail as well).
Here are the steps to reproduce the bug:
1. Make sure you have an IMAP account in Mail.
2. In your IMAP account's Mailbox Behaviors, UNCHECK the box that says "Store draft messages on server". This ensures that your draft messages will be saved locally on your Mac instead of on your IMAP server.
3. Create one new rule that would ALWAYS be true of ANY new message that you would be creating in mail, such as:
"From contains (your email address)"
OR
"Sender is a member of group (name of a group that your own card is a part of)"
Don't create both of those rules... just choose one.
4. The action that the rule should perform is:
"Set Color of text (choose a color)"
Make sure that you're NOT setting a BACKGROUND color, but rather that you're setting a TEXT color.
5. Save the rule.
6. Now, create a new message and start typing.
7. Save the message as a draft once.
8. Notice that the message shows up in your Drafts folder with the text color applied that you set in #4 above. This actually is a small bug right there, because rules shouldn't apply to messages in your drafts folder, but this first bug is not a big deal.
9. Continue editing the message.
10. Save the message as a draft for a 2nd time.
11. This is where the major bug takes place. Look in your Drafts folder. Now, your message has shown up in your Drafts folder with the BACKGROUND COLOR of the message changed to the TEXT COLOR that you set in #4, which makes the message unreadable if you had chosen a dark text color. Even though you specified a TEXT color, Mail incorrectly applied a BACKGROUND color to the message.

Hey, thanks to pputnam, I just figured out a workaround to this bug!!
Because pputnam figured out that the rule "Message Type Is Mail" DOESN'T trigger the bug, I just added that as a criteria to my rule and now the problem doesn't happen!
So now the criteria for my rule looks like this:
If "ALL" the following conditions are met:
"From contains (my email address)"
"Message Type is Mail"
That is the official workaround for this bug!
Thank you pputnam for indirectly figuring out this problem.

Similar Messages

  • A specific bug in Smart Mailbox Rules in Apple Mail on OS X Yosemite

    Steps to reproduce:
    - Define a Smart Mail Box rule as shown below in screenshot.
    - Change the value 7 to 2. So it will be 2 months.
    - Close the dialog box.
    - Right click on Smart Mailbox and select Edit Smart Mailbox. The dialog still says 7. The 2 never Saves.
    Looks like a bug in Apple Mail.

    It's already a known bug.

  • Is there a way to create a rule for Apple Mail that when a certain person is a recipient, make the email plain text?

    My boss has a blackberry and when I send pdf attachments and copy him, he cannot see the attachments.  I forget to make the email plain text before sending it to him.  I can use Thunderbird as my client and it works fine but it is not linked to the other apps on my mac like Apple Mail.  Can I make a rule or something for Mail so that when his email address is a recipient of the email, it will send as plain text to him?

    I don't think so. Not without setting up an AppleScript and I am not proficient with those.
    You can, however, set the follolwing in Mail > Preferences > Composing
    Responding: Use the same message format as the original message.
    But that would only be for responding to messages sent from his Blackberry.

  • Can't edit rules in Apple Mail.

    Hello there:
    For some strange reason if I try to add a new e-mail address editing a rule, well, everything seems to be ok, until I click "Apply" and nothing happens.
    Any help will be welcome.
    Best wishes, as always,
    Federico (aka euskir)

    Hello terriergal:
    So far, in my case, no need to delete old rules, just to wait the new ones to be effective, and the two added were working ok.
    Sometimes an interesting action before delete rules is to check if something change deleting Apple Mail preferences, or if you prefer just putting the preferences aside for a while.
    Best wishes, as always,
    Federico (aka euskir)

  • Why do my rules in Apple mail keep disappearing?

    Hello,
    I am using 10.6.8 OS and using Apple Mail.
    I am using the rules function to allow emails from certain addresses to be automatically put into folders.
    Recently, the rules have started to disappear when I start up mail and I have to set up the rules once again.
    Here is a screenshot.
    Does anyone know why this keeps happening and what I can do to stop it?
    Thanks in advance!

    First of all, you cannot control how the recipient may see the attached images that in Mail are Viewed in Place -- this is a function of the recipient's email client, and not anything you do. Some email clients refer to this as Inline View.
    Embedding images is a term that really only applies to HTML documents. Mail does not support composing in HTML, but will accept to paste one in if composed in an Editor for HTML.
    As to what you may be seeing as you compose, what is the setting on the Image Size button at the bottom right?
    Ernie

  • Is there an "Unread Mail" solution for the iPhone that would allow me to see all new Unread mail?  I have ove 100 subfolders with rules that redirect mail.

    Is there an "Unread Mail" solution for the iPhone that would allow me to see all new Unread mail in one location?
    I have an iPhone 4 (not 4S). I use the Outlook client with an Exchange Server on my Desk. 
    In order to keep email organized, I have many subfolders (over 100) under my Inbox with rules that automatically redirect the bulk of new unread email to the subfolders.
    In the Outlook client on the desktop, there is an "Unread Mail" Folder that lets me see ll unread mail in one location whether it be in the main inbox or in one of the subfolders of the inbox. 
    I would like to see all unread email in one location without me having to change my rules and work flow that I have been using for 7+ years?
    It is much more work for me (so far) to see new email on the iPhone.  You have to scan each subfolder in order to tell where the new mail is that just arrived.

    Is there an "Unread Mail" solution for the iPhone that would allow me to see all new Unread mail in one location?
    I have an iPhone 4 (not 4S). I use the Outlook client with an Exchange Server on my Desk. 
    In order to keep email organized, I have many subfolders (over 100) under my Inbox with rules that automatically redirect the bulk of new unread email to the subfolders.
    In the Outlook client on the desktop, there is an "Unread Mail" Folder that lets me see ll unread mail in one location whether it be in the main inbox or in one of the subfolders of the inbox. 
    I would like to see all unread email in one location without me having to change my rules and work flow that I have been using for 7+ years?
    It is much more work for me (so far) to see new email on the iPhone.  You have to scan each subfolder in order to tell where the new mail is that just arrived.

  • Unusual Problem with Yahoo and Apple Mail

    I hope it doesn't turn out that the user is the thing that is "unusual." 
    Background:
    Devices: MBP, iPad, iPhone, iMac
    Mail accounts: Gmail, mobileme, Yahoo
    MBP settings: uses "default ports", SSL, and user name and password - Advanced Tab: Port 993 and SSL
    iPad/iPhone settings: SMTP server settings - grayed-out - with SSL checked and Port 465
    As of last night, I found four messages that were stuck in my Sent box, with the spinning gear that would not stop.  This only happens when using my Yahoo account, and it only happens when sent from my MPB.  It is also only related to outbound messages. 
    Now for the part that has me perplexed.  My password for Yahoo (web), is the same as the password on my MBP (Apple Mail).  The passwords that I have on the iPhone and iPad, are the same for both, but they're different than the password for the previous two that I mentioned.  When I changed the password on my MBP to match the one that's on my mobile devices, it came up with an error for an incorrect username or password.  
    How can I have different passwords and still have mail working?  What am I missing?  Also - more to the point of my issue, can anyone offer some suggestions as to why the outbound side of Apple Mail, is not working for Yahoo?
    Thank you.

    Sorry...it's too bad you can't delete questions...  Problem solved - port number needed to be changed, and the password was deleted for some reason.  I still don't know why I see two different passwords for the same account....  Thanks for looking.

  • Blank Emails with Attachments from Apple Mail if received into Gmail IMAP.

    Hi
    I have noticed that if I receive an email with an attachment from someone using Apple Mail to my Gmail IMAP account (in Apple Mail) the body of the text is blank. I get the attachment but the only way to read the body of the email is to show the Raw Source. Has anyone else had the same problem and does anyone have a solution?

    Not me and I use gmail's IMAP service with Apple Mail frequently. You're probably better off posting this question on google's gmail forum which you can get to via the help section on the gmail.com web site.

  • Gmail on iPhone4 not syncing with Gmail on apple Mail

    Hi. iPhone newb here.
    I have a gmail account that I access through apple mail. I just got a new iPhone4 and set up my gmail account on it. My problem is that the two don't seem to sync up. When I read or delete an email on apple mail on my home computer, it doesn't get marked as read or deleted on my iPhone.
    Is there a way to resolve this? It's annoying to have to manually keep them both consistent.
    Much thanks in advance,
    Steve

    You need to change your Gmail settings from POP to IMAP (on the Gmail website). AFTER you have made this change, delete the Gmail account from your iPhone and then re-add it. You will need to do the same delete/re-add on your laptop.
    After doing these steps, your iPhone, laptop, and webmail should all be in sync with each other.
    Refer to this article for info and how-tos:
    http://mail.google.com/support/bin/answer.py?hl=en&answer=75725

  • Simulate gmail archive behavior with iCloud and apple mail (lion)

    does anyone know of a way to configure an iCloud mail account in apple mail (lion) such that the delete button actually archives email?  i'd like to simulate the behavior of a gmail account in apple mail, which does just that, i.e. delete sends messages to the "All Mail" folder.  in this case, i'd like it to send emails to the "Archive" folder.  as i have one gmail account and one iCloud account, it would be great if there was one consistent means of archiving mail, versus using the ctrl-cmd-A shortcut for iCloud mail.
    iOS 5 actually has such a setting to do just that: "Archive Messages" under the iCloud mail settings.  so it seems strange to me that apple mail would not.
    thanks!

    Actually, Apple has always supported using custom folders in iMap for Deleted Messages, Drafts, Sent, & Junk. But I agree that with the release of 10.7.2 and iCloud with their new Archive feature, they haven't made it easy!
    I run my Mac in Swedish, so forgive me if I don't remember or get the exact wording of each option 100% correct, but I'm sure you'll figure it:
    In Mail Settings under your iCloud account, and in the middle tab (Mail Box Functions?), under the trash option at the bottom, make sure that:
    Move deleted mail to the trash can is Checked!
    Save deleted mail on on the server is Checked!
    Delete trashed (?) mail permanently is set to NEVER!
    Then go back to the main mail window and display the folders for your iCloud account on the LH side
    Select your achive folder.
    Go to the Mail Box menu in the menubar, Select "Use this mailbox for..." and then Select trash.
    You will not notice that your archive folder now appears under the trash can in Apple Lion Mail (and the deleted items folder that is no longer the trash will appear under the folders).
    This works a treat, and in fact I use this for Gmail as well. If you're interested, I have so much mail in all mail, but I want to have everything in Apple Mail. I also get to have a private backup on my Mac (and Time Machine).
    So, in Gmail, I have an "Apple Trash" folder which I link to deleted items as above, and which every six months or so I relabel (in the gmail app) to another folder. That way I don't have 50,000 mails in my trash. I don't activate All Mail in Gmail's IMAP because everything I have is always in at least one other folder / lable which syncs to my mac!

  • Help setting auto response rules in Apple Mail

    Hi,
    I am trying to setup an auto response for my Apple Mail. I need to configure my mail account to automatically respond to someone when they email me. However, if that individual were to email me again, they would not receive a response because one was already sent. I know this may be slight confusing so I included a step-by-step outline below:
    1. I receive an email from a client
    2. An auto response replies, "Thank you blah, blah"
    3. The same individual sends me another email
    4. No automated response because one has already been sent to this sender.
    Thanks again for anyones help and or direction!

    Mail does not have such a feature. I'm not even sure there's a third-party solution for you, but check at VersionTracker or MacUpdate.

  • Can my iMac share Internet with access for Apple Mail client?

    I'm sharing my internet connection from my iMac over the Airport card to my MacBook. The iMac is connected via ethernet to my cable modem. Everything works great, except my MacBook cannot access my .mac mail from Apple Mail (Safari web access works great). Are there additional services I need to open on my iMac for this to work?
    Thanks for any assistance!

    In the Sharing pane of System Preferences, open ports 25 and 110 for outbound and inbound mail access respectively. If it still doesn't work, open port 443 as well. To open a port, click on the Firewall tab, followed by the New button. Choose Other from the drop-down menu at the top, enter the numbers 25 and 110 in the TCP port text field, and click OK.
    (12640)

  • My Yosemite POP account with Gmail and Apple Mail is gone

    I just noticed in the last few days that my Apple Mail Gmail account has changed from POP to iMap without my intervention.  It no longer has the drop-down box to choose one or the other.  I want to keep my Apple Mail as a POP account, but I can no longer change it.  Is this possible?  If so, what do I do.  FYI, on my iOS devices I use iMap accounts for my gmail mail. Thanks!

    You can try reconfiguring the account as POP. Delete the account, then add it back. After filling in the 1st screen, hold down the option/alt key while clicking Continue. Fill in the necessary information, then click continue until all screens are filled in.

  • What happens with rules in the mail?

    My rules are not working correctly....What happens?

    in mail, you can set it to do certain things if it meets the criteria
    The first rule, which comes preset makes any emails from apple appear slightly blue in your list, you can disable this with the checkbox or just Remove it altogether.
    Add Rule settings
    Use the Add Rule pane to create the conditions a message must meet for the rule to apply and the actions to take when the rule is applied.
    Option
    Description
    Description
    Enter a description of the rule, which appears in the list of rules. For example, “book club.”
    If “any” or “all” of the following conditions are met
    Specify when the rule applies to a message by choosing “any” or “all” from the pop-up menu. The rule can be applied when a message meets any (even just one) of the listed conditions, or only when it meets all of the conditions.
    Conditions list
    Using the pop-up menus and the text field, create one or more conditions.
    For example, choose Subject from the first pop-up menu, choose Contains from the second pop-up menu, and type “book club” in the text field. Click Add to create another condition, or Remove to delete one.
    To add message headers to the pop-up menu, choose Edit Header List from the pop-up menu, click Add (+), enter a header name, and then click OK.
    Actions list
    Using the pop-up menus, specify actions to take when a message meets the required conditions.
    For example, choose Move Message from the first pop-up menu and then choose a mailbox named “my book club” from the second pop-up menu. Click Add to specify another action or Remove to delete one.
    If you have multiple rules, it’s recommended that you create an action using “Stop Evaluating Mail Rules.”
    As for rules not working, make sure everything is correctly set

  • I am having trouble with rules in mac mail. The first rule window shows but i cannot open a second filter rule!!

    Hi
    I am trying to create rules that would copy the incoming email to a cloud folder ( depending on sender ) and move the actual email from the inbox to a local folder on my laptop.
    The problem i seem to be having is the first rule ( regardless of whether it is copy or move ) shows ok but when i press the + button it does not bring up a new filter window as it used to.
    Totally confused on this one, can anyone help?
    Thanks
    Oh, latest versions of everything!!!!

    I'm having difficulty visualizing what is wrong but try some basic steps first:
    Launch Safari while holding a Shift key - this will start Safari with just your Home page
    If you can see Reset Safari from the Safari menu, try that.
    In addition to downloading and installing Safari again, try reapplying just the Snow Leopard Combo Update: http://support.apple.com/kb/DL1399 There is no need to uninstall Safari first.
    Lastly try deleting Safari's Preferences file: ~/Library/Preferences/com.apple.Safari.plist

Maybe you are looking for