AppleScript for applying Rules to messages in "Sent" box?

Can anyone direct me to an AppleScript that will apply my Rules to the messages in my "Sent" box? I know that I can manually go to the "Sent" box, select all, and apply rules -- but it would be nice if I could do it all in one click.
Thanks,
DM

Take a look at MailActOn1.3.2 - VersionTracker or MacUpdate - which may help you.
If you Google search for "applescript" you will find links to several sites that publish Applescripts. You may find one that suits your needs.

Similar Messages

  • Mail won't automatically apply rules to messages in "sent" folder

    The title says it all. Is this a bug? Mail lets you set rules for items in the "sent" folder, but apple won't automatically apply the rules like it will for all other mail. You must highlight your "sent" messages and click "apply rules." This is quite annoying. Am I missing something.
    Thanks,
    Jake

    Once you send an e-mail it gets time stamped, from what I know this timestamp can't be modified. I too have received e-mails with the wrong timestamp. In some mail clients such as Yahoo Mail and Gmail what will happen is that you will get a new message notification but the email won't be at the top of the inbox but rather somewhere down the list. This happens as e-mails are sorted by their timestamps when they arrive to your inbox.
    Hope this helps!

  • Can't apply rules to messages?

    I have made some rules but I can't manualy apply them to my messages nor do they comply to the rules when I receive new e-mails. Could someone please help.
    I remeber a screen that used to opo up and say if I would like to apply rules but it does not anymore and I just reinstalled Mac OSX.
    Thanks.
    Dorian

    The pop-up apply rules window only appears when you change rules. To apply rules manually, select one or several messages and use menu Message/Apply Rules (or keyboard alt-command-L).
    If you give an example of a rule that appears not to work, maybe someone can help you to fix it. But do test it thoroughly yourself first - and remember that a message will be passed through all rules, which can cause a later rule to undo the effect of an earlier one. To avoid this make the last action in a rule "stop evaluating rules"
    AK

  • BPM Message Split in Block par for Each: Just last message is sent n-times

    Hello everybody,
    we got BPM with a message split. In a par-for-each block the message is send.
    Asuming I have 3 lines in the multiline container element, I can see in SXMB_MONI that that message is send 3 times.
    The error is, that 3 times the last message is send.
    <u>Sample Error:</u>
    Message incoming in BPM:
    <root>
      <mymessage>M1</mymessage>
      <mymessage>M2</mymessage>
      <mymessage>M3</mymessage>
    </root>
    Messages outgoing:
    <root>
      <mymessage><b>M3</b></mymessage>
    </root>
    <root>
      <mymessage><b>M3</b></mymessage>
    </root>
    <root>
      <mymessage><b>M3</b></mymessage>
    </root>
    --> As you can see, just the last message M3 is send 3 times!
    What can I do?
    Regards Mario

    If I take the payload from SXMB_MONI an try to test, I get an syntax error when I copy&paste the data into the message mapping.
    This is very strange, because
    a) the message mapping is done on basis of imported IDOCs!
    b) the BPM works without throwing a mapping error
    So what should I do?

  • Export mail message as PDF Applescript for mail rules

    I have looked everywhere for this and found nothing. I don't have 40 hours to learn applescript myself but from the little I do know this should be possible. Probably easy.
    I want to created an applescript to run as a mail rule. I want the script to export the message as a PDF and move that PDF to a specified folder. Hazel can take it from there.
    for instance:
    Fedex sends me a email message that my shipment has been delivered.
    mail rule kicks in and runs the script
    script creates a PDF of the message
    message is moved to "fedex delivered" folder

    I found a workaround, though there must be something neater.
    I added this before my script
    tell application "System Events"
              tell process "Mail"
                        tell menu bar 1
                                  tell menu bar item "View"
                                            tell menu "View"
                                                      tell menu item "Sort By"
                                                                tell menu "Sort By"
                                                                          click menu item "Subject"
                                                                end tell
                                                      end tell
                                            end tell
                                  end tell
                        end tell
              end tell
    end tell
    then the same except "Date" instead of "Subject".
    My script does what i want now.

  • Applescript for mail rule

    I found this on Mactech. All I did was add the line "make new outgoing........", well, it does NOT work. What do you have to do to make Mail trigger an applescript. All I want to do is when I an email reminder, to just make a new email message with Happy Birthday in the Subject. I'll click the stationary and add a birthday background. Any help would be appreciated.
    using terms from application "Mail"
    on perform mail action with messages theSelectedMessages for rule theRule
    repeat with a from 1 to count theSelectedMessages
    make new outgoing message with properties {visible:true, subject:"Happy Birthday", content:"Happy Birthday "}
    end repeat
    end perform mail action with messages
    end using terms from

    sorry but your suggestion did NOT work. Here is what I wrote and it did NOT make a difference the script will NOT generate an outgoing message.
    using terms from application "Mail"
    on perform mail action with messages newMessages
    repeat with newMessage in newMessages
    tell application "Mail"
    set senderName to (extract name from sender of newMessage)
    say "You've just received an email from " & senderName
    say (subject of newMessage) as string
    if (subject of newMessage) contains "birthday" then
    tell application "Mail"
    activate
    make new outgoing message with properties {visible:true, subject:"Happy Birthday", content:"Happy Birthday "}
    end tell
    end if
    end tell
    end repeat
    What I was able to do was embed a line of code to call another script that does successfully create an out going message. Here is the successful script.
    using terms from application "Mail"
    on perform mail action with messages newMessages
    repeat with newMessage in newMessages
    tell application "Mail"
    set senderName to (extract name from sender of newMessage)
    say "You've just received an email from " & senderName
    say (subject of newMessage) as string
    end tell
    end repeat
    tell application "Finder"
    open "Macintosh HD:Users:Shawn:Documents:Applescripts:Mail scripts:make outgoing email happy birthday5.app"
    end tell
    end perform mail action with messages
    end using terms from
    here is the make birthday5 app
    tell application "Mail"
    activate
    make new outgoing message with properties {visible:true, subject:"Happy Birthday", content:"Happy Birthday "}
    end tell
    Now when I get my birthday reminder, according to the "Rule" set up in preferences, if the subject contains "birthday" the script will read the name and subject and generate an outgoing message with Happy Birthday in the Subject and Body.....all I have to do is add some birthday stationary, type in a sappy line and viola, done. See why I love Macs so much.

  • How can I get thunderbird to download messages from SENT box in my talktalk pop3 server

    I am occasionally away from my laptop (i.e. thunderbird) and need to send messages by logging directly into my talktalk mail......... but I want to see them downloaded the same as incoming messages when I open thunderbird on my laptop.

    You get talk talk to implement the IMAP mail protocol instead of POP. You other choice is to copy the messages to the inbox to be downloaded. Messy, but it works.

  • Two sent messages in Sent box

    Every time I send someone an email, there are two of the same message in the Send box. Why? I only send one, but I see two. Have tried to remove Thunderbird, cleared all appdata, still same. Tried pretty much everything... What have I done wrong?

    https://support.mozilla.org/en-US/questions/1056919

  • How do I "Apply Rules" to a list of messages via Applescript?

    I am attempting to write an Applescript. It needs to enable a particular rule (got that figured out), then re-apply all rules (all of them) for all of the messages in the Inbox and the Sent box. I figured out how to get the list of messages in to a variable but I do not see anything in the Mail dictionary to apply the rules -- (or evaluate the rules or nothing).
    I suppose I could use the GUI style "System Event" form of scripting but that is always really hard for me to figure out how to do.

    Amann says about this script:
    Note: this script is somewhat ugly and slower than Mail's internal apply rules command - things would be so much easier if Mail would allow rules to be applied to sent messages or at least supply an AppleScript command "apply rules to selection".
    If you examine it, it does pretty much what I suggested regarding grabbing the conditions for each rule & testing for them within the script (in the "matchConditions" loop). As his notes make clear, certain conditions are excluded & the script only performs "move" actions, so you would have to do something similar for any other rule conditions & actions you want the script to perform, as well as targeting the mailbox you want.
    I suspect it would be faster & easier in a lot of cases just to implement the rules as AppleScripts in the first place & call them with a simple "Every Message" Mail rule.

  • Sent messages not in Sent Box

    Yesterday my sent mail appeared in my sent box.
    Today three messages sent, I know they arrived, have not appeared in my sent box.
    Any ideas?
    Thanks

    Hi AK
    I must admit to being new to Macs but have in the past few weeks taken delivery of a MacBook Pro 2.0....exciting times.
    With this in mind I have not played around with any settings, all is as standard, as far as I know.
    I sent a message on Saturday and it is still in my sent box, as it was straight away. Four messages have been sent since, one was a repeat of the first, sent because of the missing message in the Sent Box. The other two were tests. The two tests arrived immediately and later I got a reply from the person I had originally emailed. But still no message in Sent Box other than saturday's
    Hope this helps

  • Applying rules manually doesn't work for multiple messages

    I've been using Mail for some time now and love rules. Love 'em. A few months ago I started having touble and have not been able to figure it out.
    The rules get applied to new incoming messages properly, as they should. However, I used to be able to select all the messages in my inbox (Command + A) and then 'Apply Rules' (Option + Command + L). That command no longer works. It still works if I go and select a bunch of eBay-related e-mails, for example, and then Apply Rules. Those message are moved accordingly. But if I select all message and Apply Rules, those same 4 or 5 messages remain put in the inbox even though there's a perfectly functioning rule for them that should be applied.
    NOTE: NONE of my rules work when I select all and Apply Rules.
    Any suggestions?

    The reason there are messages in my inbox to which rules haven't been applied is because when I'm at work I check my mail via the web (I use FastMail.fm). At home, using Mail, I access my mail via IMAP. When I receive and read new messages via the web and then go home and open Mail, all the messages in my inbox are no longer new, incoming messages so Mail doesn't process them as such. But just because they're not new incoming messages doesn't mean they belong in my inbox.
    Does that make sense?
    Most of the rules are to Move messages to folders based on categories (Shopping, Forums, Hosting, etc.).

  • How do I create a rule in mail that only applies to flagged messages?

    I would like to create a rule in mail that would delete messages of a certain age, but I need to keep some messages safe. I would like to be able to flag these or put them in a mailbox and have a rule making messages with those flags or mailboxes safe from being deleted. Is that something I can do? Thanks!

    You can create a local mailbox and move the messages you want to keep there. I don't see any kind to rule you can make to move a flagged message, so you would probably have to do it manually, unless you can use other criteria to identify messages you wish to keep.
    If you're using the server settings in mail to determine the age before deletion, the local mailboxes would be safe from that deletion. You can set to store messages on server for up to 30 days before deletion. This will work for IMAP accounts, but don't apply to the inbox. Just to the other main mailboxes such as Sent, Trash, etc.
    If you create a rule to delete messages after a certain age (outside of what the servers would do automatically), I think it would only work on the inbox if at all, but not sure. If it were applied through all, it would delete them from the local folders also.
    You can create a smart mailbox and input certain criteria such as flagged, age. You could exclude any mailbox that you don't want to include, such as local folders, by adding that to part of the criteria. You would have to delete the messages manually as they accumulate. This would be useful when you save a lot of mail, but say you only want to keep messages less than a year old. This would help you instantly see messages that meet your deletion criteria without having to manually check messages for age.

  • Hi, for Iphone tips page "see when a message was sent " , then how do I know that the message has been read?

    Hi,
    for Iphone tips page "see when a message was sent " , then how do I know that the message has been read? Thanks  

    Hi Bhavesh,
    Please see my replies inline:
    > 1. If i remember your ealier thread correct also, I
    > would suggest that you drill down in Where Did the
    > Error Occur. Instead of no restriction, select
    > Adapter Engine and also your Corresponding Adapter
    > and then trigger the error message and check if the
    > alert is triggered.
    When I click on "Where did the error occur" -> "Adapter Engine", I do not have a choice of errors from the dropdown. I only see one option "*".
    Is this right?
    > 2. ><i>When I click on "Alert Inbox" ->
    > "Subscription", I get a message "The table does not
    > contain any entries". Is this correct?</i>
    >
    > Yes this is correct. You have defined in your alerts
    > as the option as FIED RECIPIENTS. You also have
    > options like Reciepients via User Role and
    > Subscription Authorization in ALRTCADTDEF.
    >
    I see.
    I've also managed to overcome this problem by selecting "Subscription Authorization" in the Alert Category Definition page, and entering SAP_XI_MONITOR as one of the roles.
    After that, I am able to see a the alert category defined. By default it's already subscribed, because I'm using the same user - PISUPER.
    I saw in another post that the option "Suppress Multiple Alerts of this Rule" should be left unchecked. I tried that, but I still do not see any alerts raised in ALRTDISP.
    What did I miss?
    Please help.
    Thanks.
    Ron

  • I can no longer see my inbox for texting, only those messages I've sent. How do I get my inbox back?

    I can no longer see my inbox for texting, only those messages I've sent. How do I get my inbox back?

    Tap the Messages button at the top left.

  • HT4863 I sent an email from my iPhone 3GS (via iCloud account) with around 16GB of attachment. It slowed down the phone for a few seconds, then appeared to be sent. However, the message is now not in the sent box, and I can't see an outbox at all. Any ide

    I sent an email from my iPhone 3GS (via iCloud account) with around 16GB of attachment. It slowed down the phone for a few seconds, then appeared to be sent. However, the message is now not in the sent box, and I can't see an outbox at all. Any ideas?

    That changes things a little bit , login to icloud.com and see if you can find it in your sent folder.
    If it is there you did send, just need to wait until you phone syncs "sent folder" perhaps on wifi.
    If it is not, then I would say it is lost and you may have to send again. They have 20 megs limit, so make sure that message plus attachment is under that limit.

Maybe you are looking for

  • Upgrade from IAS 10.1.2 to 10.1.3

    Hi, Is it possible to upgrade Oracle app server R2 middle tier to R3? I want to use my existing Oracle HOME (R2) to upgrade to R3. I found a note in Metlink that say it is not possible to directly go to 10.1.3. It appears that I have to install 10.1.

  • Rounding qty based on UOM.

    Hi, This is regarding the Rounding logic at the time of creating orders (particualrly at the time of confirmation) Material X is defined with sale unit as "CASE", but basic UOM is "Pieces". Material master data UOM conversion is defined as 1 CASE = 8

  • Programming HR reports in Discoverer

    Which tables in Oracle hold the information for employee gross wage and tax data. Does Oracle store the information for the FHI,FICA, FIT, FUTA, SIT, and SUTA taxes?

  • Custom ALV

    Hi all, I'm new to WDA and I'm trying to use ALV (SALV_WD_TABLE). I have a few questions regarding customizing the display: 1. How do I show only part of the node attributes?      (The node has 5 attributes and I only want to show 3) 2. How do I chan

  • Setup through ethernet? HELP!

    i have a HP LASERJET P2055DN; I have always had the printer setup to my desktop via USB cable, but the USB cable port has broken off the inside of the printer. I went to staples to figure out if theres any other way i could hook my computer and print