How do I make a Mail Rule action bounce a message

Is there a way to have a Mail Rule action bounce a message?
Thank you in advance.
Jeff

paste the following into Applescript Editor and save it as a script
<pre style="
font-family: Monaco, 'Courier New', Courier, monospace;
font-size: 10px;
margin: 0px;
padding: 5px;
border: 1px solid #000000;
width: 720px;
color: #000000;
background-color: #ADD8E6;
overflow: auto;"
title="this text can be pasted into the Script Editor">
using terms from application "Mail"
on perform mail action with messages selectedMsgs
repeat with msg in selectedMsgs
tell application "Mail"
bounce msg
end tell
end repeat
end perform mail action with messages
end using terms from</pre>
then have your Mail rule execute this script.

Similar Messages

  • How can I make compound mail rules in iCloud?

    I love the control that rules give you in Apple Mail, or any mail client for that matter.  I use them for everything to sort nearly every piece of email that comes in on a daily basis.  From daily advertisements to receipts they all have their place.  I used to run my rules directly on my iMac or MacBook, but they didn't seem to translate to my mobile devices.  I was told that I needed to manage my rules in iCloud directly.  I've been doing so and they work well for the most part, but I've recently encountered two limits that I can't get around without a combination of iCloud rules and local/mac based rules:
    A.  iCloud limits you to 99 rules.
         Now I know this number is a lot and maybe I'm just too type A because I've hit that limit and have needed to delete old rules to make room for new ones.
    2.  iCloud rules only allow for one criteria.  For example, the iTunes store sends me emails for weekly alerts and then sends me receipts for my purchases.  I'd like to filter receipts to one folder and all other iTunes emails to another folder, but since they both come from the same email address I cannot do so.  If I choose to filter by "has subject containing" and type in "Your receipt" I'll obviously grab receipts from ANY vendor, not just iTunes.  I could go the other way and filter by the subject containing "My Alerts" and the others, but then I would have to make multiple rules for each individual subject coming from iTunes, hence using up more than one rule of my 99 rule limit.
    I know this sounds picky and granular, but it's just frustrating when the rules are SO detailed on the local machine, but so basic in iCloud.  Any plans to update the rules or make them more robust?
    Philip

    I'm afraid that whether or not there are any plans about this, Apple don't tell us. If they do decide to increase the facilities we will only know when they implement it. (And by the Terms of Us of these Discussions we are not allowed to speculate.)

  • How can I set up a rule to delete all messages older than 6 months left in Apple Mail's main inbox?

    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
    thokitts

    Thanks, 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

  • How do i make email mailing lists in Mail or in My Address Book?

    How do i make email mailing lists in Mail or in My Address Book?

    Try a reset: hold down the home button along with the power button until you see the Apple, then let go.

  • Acrobat X Standard Bookmarks - How do I make the Zoom Level action default to "Fit Page" when combining to one pdf?

    Acrobat X Standard Bookmarks - How do I make the Zoom Level action default to "Fit Page"?
    When I combine multiple pdf files into a single binder, Acrobat creates a bookmark for each file.  In the properties for each bookmark, there is an action created to go to the page in the document and has the zoom level at "fit width".  Question is, how do I change this apparent default zoom level to "fit page" when Acrobat creates the bookmarks when combining the pdf files?

    Is there a way to do it in one step instead of individually on each bookmark?  This gets VERY cumbersome when I have upwards of a hundred bookmarks to change.

  • How i can make in the same action 2 condition (check the exemple down)

    how i can make in the same action 2 condition (check the exemple down)
    this is an example and I really thank you for helping me(any body plz)
    http://www.2shared.com/file/DPpdgC_a/Exemple_Edge.html

    1. make each rectangle a symbol  (Symbol_1 and Symbol_2) and uncheck autoplay()
    2. Delete your code on the click event and put the following code in compostion ready:
    var toggle=true;
    function btnPlay(){
              if (toggle){
                        toggle=false;
                        sym.getSymbol('Symbol_1').play();
              else{
                        toggle=true;
                        sym.getSymbol('Symbol_2').play();
    sym.$('Ellipse').click(function(){
              btnPlay();

  • How can I copy the Mail "rules" I have already setup on my old MacBook over to the new machine?

    Setting up my new MacBook Pro. How can I copy the Mail "rules" I have already setup on my old MacBook over to the new machine?
    Is there a file I can copy & paste?

    Thanks Barry & all,
    Is it enough to just copy the rule-related files ??
    i.e.
    Library/Mail/V2/MailData/RulesActiveState.plist
    Library/Mail/V2/MailData/SyncedRules.plist
    Library/Mail/V2/MailData/UnsyncedRules.plist
    What you suggest copies the local mailbox content + all the settings ...
    while what I need is much less... and I'd like to be able to sync rules also in the future
    by copying something light and simple ... not the entire Library/Mail folder
    Many thanks,
    Stefania

  • How can I make Yahoo Mail the default in Safari?

    How can I make Yahoo Mail the default in Safari. I contacted Yahoo and they said to contact Safari.

    Yahoo Mail is not an application. If you wish to use Yahoo Mail just create a bookmark to its web page.

  • How can i make apple mail dislay message body to the left not below the mes

    How can i make apple mail display message body to the left not below the messages
    headers pane ? something like outlook

    There is a plugin to do this in Leopard but currently its not compatible with SL however you might like to try the beta release which has preliminary support for 10.6:
    http://www.macupdate.com/info.php/id/21899

  • How can i make it so when i send a message on my laptop that it come from my email and when i send a message on my phone is sends as my phone number. i want them seperate

    how can i make it so when i send a message on my laptop that it come from my email and when i send a message on my phone is sends as my phone number. i want them seperate

    Hey mims1212,
    Thanks for the question. You can configure what address you start new conversations from on both devices:
    iOS and OS X: Link your phone number and Apple ID for use with FaceTime and iMessage
    http://support.apple.com/kb/HT5538
    Please note that this will only work for new conversations, and will also be affected if another iMessage user starts a conversation with you (ex. if a friend sent you a message to your phone number, you will still receive that on your Mac, and you will be replying from your phone number).
    Thanks,
    Matt M.

  • So every text that I recieve on my iphone, my sister also recives on her iMessage app on her iTouch. We are registered under the same account, but how do I make it so she stops getting my messages?

    So every text that I recieve on my iphone, my sister also recives on her iMessage app on her iTouch. We are registered under the same account, but how do I make it so she stops getting my messages?

    Start here:
    http://www.apple.com/support/appleid/
    I imagine you should go to "Manage Account" first.

  • How do I set a mail rule to select msgs on which i am BCCd?

    Went to set up a rule for a particular address as 'Any Recipient' but this does not work if the sent mail had me in the BCC list.  How do I filter on this?
    (sender also using mavericks mail).
    tnx - jt

    Yes.  I understand this.  I want to set up a rule to move the message to a different folder.
    There's a header field X-Envelope-to: and the mechanism to edit header list - select Delivered-To lets me do this.  Previously I had tried to select Header, and that did not work:-(  I solved my own problem!

  • How do I restore my mail rules from Time Machine?

    There's a thread here with a somewhat complex process for restoring rules after an update to Mt Lion.
    HOWEVER, this is a case where MT lion has been working nicely for months, and allovasudden all the rules just disappeared.
    I'm not sure what I should look for and tweak to fix this.
    I'm not afraid of using the terminal.

    The mail rules are stored in your ~/Library/Mobile Documents/com~apple~mail/Data.MailData folder, in a plist called SyncedRules.plist.
    If you're signed into iCloud D&D, that's where you'll find it.
    If you're *not* signed into iCloud, then you probably have a folder called something like ~/Library/Mobile Documents.####### where the # signs are actual numbers.  Digging into that folder, you'll fild the SyncedRules.plist file.
    Thing is, I don't know how Mail uses rules without iCloud; if there's a "local" rules location.  There probably is, but someone else who's not using iCloud may have to help you there...

  • How do I make JHeadstart confirm delete action

    Hi gurus
    How do I make my JHeadstart application confirm my action when I try to delete one or more rows? I have not seen any attribute to specify this... can it be done?
    Claus

    You can do this by modifying the doEvent javascript function in form.js as follows:
    // doEvent submit routerForm
    function doEvent(event, eventValue, checkForChanges, rowKeyStr ,doRollback)
    // reset hidden fields for IE
    resetValues(routerFormName);
    var form = getRouterForm();
    if (form.action == "" || form.action == null)
    form.action = document.forms[dataFormName].action;
    var confirmedDelete = true;
    if (event == "Delete" )
    var confirmedDelete = false;
    // hardcoded message, you could use confirm(getMessage("messagekey")) instead
    confirmedDelete = confirm("Are you sure you want to delete this record");
    if(checkForChanges == null)
    checkForChanges = true;
    var changed = false;
    var confirmed;
    if (!ignoreChanges && checkForChanges && confirmedDelete)
    changed = hasChanges();
    if (changed)
    confirmed = confirm(getMessage("hasChanged"));
    if ((!changed || confirmed) && confirmedDelete)
    form.event.value = event;
    form.rowKeyStr.value = rowKeyStr;
    form.eventValue.value = eventValue;
    if(doRollback == null)
    doRollback = 'true';
    form.event_Rollback.value = doRollback;
    form.submit()
    Steven Davelaar,
    JHeadstart Team.

  • How do I apply a Mail rule to only a certain mailbox?

    I want to put certain messages into a mailbox and have them "expire" (be deleted) in 30 days.
    For example, I want to put all my "email receipts" in a folder after I complete the transaction and have Mail automatically delete them after 30 days. That way, if I ever need them (for returns or whatever [which I would do in 30 days]) I have them, but after a point (when I don't need them) Mail would delete them for me.
    As a side note, is it possible to create a rule that meets ALL of some criteria and ANY of other criteria?
    Thanks.

    Yes.  I understand this.  I want to set up a rule to move the message to a different folder.
    There's a header field X-Envelope-to: and the mechanism to edit header list - select Delivered-To lets me do this.  Previously I had tried to select Header, and that did not work:-(  I solved my own problem!

Maybe you are looking for

  • Jabber and Lync

    As Jabber may be using some IPC modules...I would like to know if someone has seen this issue with Jabber: Coexistence between Lync and Jabber. (This is due to the current conflict of USB audio resources between Lync and Cisco IP Communicator). Issue

  • JDBC driver is not working in JAR file

    Hello Java is new for me. In my project JDBC is working fine for MSSQL Server 2000. It is developed in Netbeans. Now When I am going to rin JAR file of project, Driver for MSSQL is not found. Can anyone tell me that What I have to do to work with MSS

  • Need explanation about Oracle documentation (DBMS_LOB.LOADCLOBFROMFILE)

    Hello World, I try to understand Oracle documentation about DBMS_LOB.LOADCLOBFROMFILE function. I am not shure the explanation is written in a very good english, but i can't understand a word !!! Is anybody could explain me in more simple sentences ?

  • File History not working at all

    File History does not work at all. I've tried to access it through Search, Control Panel, etc and it just doesn't work. When I click on it, it does nothing. I've tried everything. I have never set it up to select the drive to back up because it has n

  • HT201365 mohamed

    i have problem in my mobile iphone 5s my mbile nomber is ******* and i have abox activition lock ( icloud ) and i dont remimber user name and password and walahe this my mobile <Edited by Host>