Apple Mail rules
Hi falks,
I traing to create rule with sub conditions which will do following:
If all of the following conditions are met:
If any of
from: email@address-A
from: email@address-B
from: email@address-C
from: email@address-D
Date Received is Greater then 7 days
Performe follwoing action
Set color of background
Move Message to mail mailbox Archive/Inbox
I am running OS X Lion 10.7.3 (11D50) Mail.app Version 5.2 (1257)
I cannot create sub conditions. If anyone have idea how to create ub conditions, please let me know.
It's not directly possible there are no nested rules in Mail, but you could try to express your "any" sub rules by defining a group in AddressBook:
Replace
If any of
from: email@address-A
from: email@address-B
from: email@address-C
from: email@address-D
by "Sender is member of group", if it is possible to separate the email addresses you want in a group.
To define your group, use Address Book: New -> Group and drag the contacts to the new group.
Regards
Léonie
Similar Messages
-
Apple Mail Rules dont apply when mail is READ on other devices!
Hi,
I use IMAP settings on Apple Mail (v4.5) and also check my emails on the iPhone (iPhone also set up with IMAP). However if i have read an email on the iPhone then when i switch my computer on the incoming Apple Mail Rule that applies to that sender does not seem to work. It keeps the mail within my Inbox and does not transfer the mail/message to the desired folder.
However, if the same sender sends me an email which i do not read on the iPhone and then switch my Apple Mail ON, then the mail is automatically transferred to the desired folder.
It looks like the problem is only with READ mail and not UNREAD mail.
Is there a fix for this? There seems to be a lot of people having the same issue and was wondering if there is any work around on this?
Would really appreciate any help from anyone on this.
Regards,
Jay
PS: I recently moved from Outlook 2011 on MAC to Apple Mail as i heard is a far superior mail application and works smoothly. So far everything about Apple Mail has been correct, it is a fantastic app, however this Rule problem is pretty basic and surprised that Apple still has not fixed this.Hi Glenn,
Many thanks for this. Unfortunately i dont have this facility on the server as we are using a simple opensource mail delivery and storage service, so the rules would have to be set up on the computer.
I was using Outlook 2011 and prior that was using Entourage 2008 and both worked well with the IMAP rules. Nothing was ommitted and everything READ or UNREAD was imported and the rules applied. It's only in Apple Mail that these rules dont seem to work.
Is there no other work around? No Apple Mail Add-Ins? I see quite a number of people complaining about the same problem and i'm surprise that Apple has not found a solution for this.
Anyway, thank you soo much for your reply. Much appreciated.
Regards,
Jay -
Please help with troubleshooting Applescript invoked by Apple Mail rule
I set up an account with Boxcar to get push notification of incoming email on my iPhone. I did this because I passworded my iPhone and cannot see incoming messages without entering the password. Now all I need to do is glance at the screen to see whether it's worth it or not to look at the email. In order to use the Boxcar service, I needed to set up a rule to redirect all incoming mail to my private address on Boxcar. The issues that I have are two-fold. First, I do not like blindly forwarding email content to Boxcar regardless of their stated claim that they strip out the sender and subject of a message and discard the rest. Second, if I get a large incoming email, then My method will have to send the large content out again - a waste of resources. To get around this, I tried to write an Applescript for Apple Mail that is invoked by a rule applicable to all messages. The script redirects all messages to my private Boxcar email address and strips out the content of the message. The script follows:
using terms from application "Mail"
on perform mail action with messages selectedMessages
set AppleScript's text item delimiters to ""
repeat with theMessage in selectedMessages
set boxcarMessage to redirect theMessage
tell boxcarMessage
make new to recipient at beginning of to recipients with properties {address:"[email protected]"}
set content to " "
set subject to theMessage's subject
end tell
send boxcarMessage
end repeat
end perform mail action with messages
end using terms from
The problem with this script is that it still sends out the content even though I thought I was setting it to a single space. Other than that, it does just what I need it to do. Any suggestions on corrections, an easier Applescript, or another way to approach the whole issue? One drawback to this approach is that I need to have a Mac running at home that processes the rule for the incoming messages - probably there is no way around this?
Thanks!That makes sense, but then that gets back to your original comment:
"redirecting the message will send the entire message, as-is."
I tried to eliminate the attachments by adding the line:
delete boxcarMessage's attachments
but it did not work - the attachments were redirected also. So here is the script as it stands now:
using terms from application "Mail"
on perform mail action with messages selectedMessages
set AppleScript's text item delimiters to ""
repeat with theMessage in selectedMessages
set boxcarMessage to redirect theMessage
delete boxcarMessage's attachments
tell boxcarMessage
make new to recipient at beginning of to recipients with properties {address:"[email protected]"}
end tell
delay 3
send boxcarMessage
end repeat
end perform mail action with messages
end using terms from
I appreciate the input. Intuitively it seems like this is doable, but the solution escapes me. -
Apple Mail Rules no longer seeing Contact Groups
I am running 10.8.3 and have many rules set up in Apple Mail, most of which label and organize my incoming e-mail, but something has happened and the rules stopped applying. I went in and checked my rules and the problem is that Mail is no longer seeing my groups in contacts. The drop down menu when I set Sender is member of Group now is grayed out and says no groups in Contacts. This is not the case, I have many groups set up on Contacts.
Anyone have any idea what is going on or how I can fix this. I have run permissions and run Disk Warrior on my drop, but neither seemed to do anything.Try booting into the Safe Mode. Shut down the computer and then power it back up. Immediately after hearing the startup chime, hold down the shift key and continue to hold it until the gray Apple icon and a progress bar appear. The boot up is significantly slower than normal. This will reset some caches, forces a directory check, and disables all startup and login items, among other things. If the system operates normally, there may be 3rd party applications which are causing a problem. Try deleting/disabling the third party applications after a restart by using the application unistaller. For each disable/delete, you will need to restart if you don't do them all at once.
Safe Mode
Safe Mode - About -
Apple Mail rules keep reappearing after I deleted them!
I created some rules in Apple Mail to play a bit around but after I deactivated and finally deleted them, they keep appearing and formatting all my mails.
So now I have no rules defined under preferences but they are still somehow active.
How can I remove them completely?I have this exact same problem. I created a rule for Mail to move e-mails, with some given keywords in them, into the junk folder. Then I removed the rule completely, deleted it. But all incoming e-mail are still moved to the folder. Although I have NO rules left.
-
Flag color sync in Apple Mail with Gmail and Yahoo?
It appears that colored flags sync through iCloud for your @me.com email address. Is there a way to get the colored flags to sync across computers for a Yahoo or Google account? For example, if I flag an email in my Gmail account with a Green Flag on my Apple desktop computer in Apple Mail, is there a way to get the flag to show up as Green on my laptop in Apple Mail? Currently, the fact that the email is flagged syncs across computers and accounts, but not the particular color of the flag. Also, highlighting an email a certain color does not appear to sync, even for my @me.com account. And lastly, now that Apple has switched from Mobile Me to iCloud, they have given up Mail Rule syncing... is there a way to get my Apple Mail Rules to sync between computers? Thanks!
Upon further investigation, I have determined that flag colors applied in Apple's Mail program DO sync through your iCloud @me.com email address AND through a Google gmail account. However, flag colors DO NOT sync through Yahoo. Email highlight colors DO NOT appear to sync through iCloud, Gmail, or Yahoo. If anyone figures out a way to enable any of these features that at the moment do not sync (flag color in Yahoo, highlight color, mail rules), please respond!
-
AppleScript to auto BCC emails from Apple Mail
I recently moved the email out of Entourage and into Apple Mail for a company I do business for. I created a rule for them which does not run automatically, see my other post <a href="https://discussions.apple.com/thread/3300257">here</a>. Having experimented with variations on the rule and searched for answers on the web I have come to the conclusion that I may not be able to get the rule to run automatically. I found various suggestions on the web for using Terminal to automatically BCC sent emails but the downside is that it appears that you then can't send BCC emails to anyone else without using Terminal to disable this, which is not an option.
The best alternative would appear to be an AppleScript but I can't find anything suitable. Can anyone suggest a script that can be added to an Apple Mail rule so that all emails sent from '[email protected]' are automatically forwarded to '[email protected]'Look, if I were going to do what you're trying to do, I would stop fiddling with rules and set up a launch agent that would periodically (once a day, once an hour, whatever your needs are) forward all unforwarded emails to the people they need to be forwarded to. That requires two components: a launchd plist (which goes in ~/Library/LaunchAgents or /Library/LaunchAgents) and a script file (which can go anywhere, but /Library/Scripts would be conventional). the launchd plist looks soemthing like this (save it as user.mail.forward.plist):
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>user.mail.forward</string>
<key>ProgramArguments</key>
<array>
<string>osascript</string>
<string>/Path/to/scriptfile.scpt</string>
</array>
<key>StartCalendarInterval</key>
<dict>
<key>Hour</key>
<integer>18</integer>
<key>Minute</key>
<integer>0</integer>
</dict>
</dict>
</plist>
That runs the script once a day at 6:00 pm. the script itself would look something like this:
property lastForwardingDate : (current date)
property bccRecipientAddresses : {"[email protected]", "[email protected]"}
tell application "Mail"
set unforwardedMessages to messages of mailbox "Sent" of account "gmail" whose date sent > lastForwardingDate
repeat with thisMessage in unforwardedMessages
set messageToForward to redirect thisMessage with opening window
tell messageToForward
repeat with thisRecipient in bccRecipientAddresses
make new bcc recipient at end of bcc recipients with properties {address:thisRecipient}
end repeat
set lastForwardingDate to date sent of messageToForward
-- send
end tell
end repeat
end tell
This is a testing version, where the email pops up so you can see what it looks like before it gets sent. in the final version you'll want to delete the 'with opening window' phrase (so that the emails are generated invisibly in the background) and uncomment the 'send' line (so that the emails are sent automatically).
You'll can try replacing 'forward' with 'redirect': redirect sends the email to the new recipient exactly like the old; forward sends a quoted version. not sure which you prefer.
warn people that they should expect to see extra email activity periodically, and that they may see emails appear in their drafts mailbox (which will happen if they are offline when the script runs - they'll get sent later). Also, you should probably set permissions so people can't edit the script file - if it gets saved again it recompiles, which will reset lastForwardingDate to the date it recompiles, and may cause some emails not to get forwarded. -
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. -
How can I set up a rule to delete all messages older than 6 months left in Apple Mail's main inbox?
I have created other rules to move some of my daily messages into specific folders and I don't wish to auto-delete those.
Just the general stuff that keeps piling up in my me.com main email box. Mail such as FB announcements and other low priority stuff I want to look at before deleting but don't want to keep longer than a week or month.
TIA
thokittsThanks, but I am looking for a more automated solution than hand marking emails as junk. I might as well move them to the trash myself.
Again, these are emails I want to receive and quickly read, but not keep longer than a week or month or so. By setting a rule to toss any older than 30 days back then my Mail program (and thus my hard drive) won't be wasting so much space. For example, currently I have over 6000 read messages, with their attachments, in my main email box. I'd rather not have to physically attend to sorting the one I don't want out.
The one I do keep for other reasons get moved into other folders.
It seems this should be possible.
thokitts -
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) -
How to deactivate rules sync in apple mail?
Hi,
unfortunately, rules in apple mail are synced via iCloud when "Documents & Data" is activated in iCloud settings. I would have thought that deactivating the "Mail" checkbox should do that, but this one seems to be related to iCloud email adresses only.
My problem is, that I need the "Document & Data" sync for other apps, but I cannot turn it on because then, mail rules will be synced too. This leads to a horrible mess as I have different rules on my private mac and on my business mac.
How can I deactivate the "Documents & Data" sync just for a single app (in this case Apple Mail) and leave it on for the others? Did I miss something, or can I just turn it on and off for all apps?
Thanks in advance,
TimoI don't have a second computer to test, but you could use DropBox, OneDrive, Box.com or other cloud service to sync your documents and data.
-
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.
-
HT1277 Can you use Apple Mail program Rules and Gmail filters together?
Can you use Apple Mail program Rules and Gmail filters together? Does the gmail filtering override the Mail Rules?
Mail > Window > Previous Recipients
-
Using rules to automatically save attachments in Apple Mail...
Every time I get an attachment of a certain type from a certain person, I need to automatically save the attachment and run a script on it. Using Apple Mail, I've got the script part worked out, but I still need to automate the saving part... any ideas?
If it is going to be called from Mail rules, it would need to be wrapped properly. Here is the script it came from. You would'nt need the on run handler.
AK
click here to open this script in your editor<pre style="font-family: 'Monaco', 'Courier New', Courier, monospace; overflow:auto; color: #222; background: #DDD; padding: 0.2em; font-size: 10px; width:400px">using terms from application "Mail"
on perform mail action with messages theMsges
set theAttachmentPath to (path to desktop) as text
tell application "Mail"
repeat with ThisMessage in theMsges
set Attached to mail attachments of ThisMessage
repeat with ThisAttach in Attached
set FileName to name of ThisAttach
save ThisAttach in theAttachmentPath & (FileName)
end repeat
end repeat
end tell
end perform mail action with messages
end using terms from
using terms from application "Mail"
on run
tell application "Mail" to set sel to selection
tell me to perform mail action with messages (sel)
end run
end using terms from
</pre> -
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
Maybe you are looking for
-
i have a serious (and bizarre!) issue with my novation impulse (Although i've tried it with two other keyboards and i still have the same problem) and its compatibility with mainstage 3. the problem is best explained on the following one - page threa
-
Why Verizon blocks acess to US channels outside of USA ?
Why I am unable to watch the US channels while out of USA eventhough I log into my Verizon account and pay my monthly bill ? This is completely unfair and ridiculous. Since I am still paying my bill I should be able to watch the channels anywhere in
-
Date Format For Importing Invoices
Hi All, I am using the DTW and importing invoices however I am having a problem with the date. In the docdate, and docduedate field I have entered my dates however once I import them the date for the invoices I have imported are todays date. Have I
-
Error during the retrieval of the logon data stored in secure storage
Hi guys, Can anyone help us with this webservice Datasource Transport error.We have already done some Webservice datasources before and successfully transported but never had this error before. Error during the retrieval of the logon data stored in s
-
Very simple question, how do you configure windows 8.1 to use a SD card / external drive as the default install location for software applications? Primarily interested in apps installed from the windows store. This should be available in the setting