Home » Mac, Reviews, how to, Software

How to: Bring back bounce in OS X Mail

23 August 2011 4,894 views 13 Comments

Apple called it Bounce. I prefer to refer to it as “jerk be gone.” Whatever nom de guerre you choose, it is gone in the latest version of Mail and one of OS X Lion’s most lamented missing features.

Way back in March and April, I bemoaned the fact that Bounce had been cut from OS X Lion’s bundled Mail 5. Well, I’m not moaning anymore, because I’ve got it back and so can you.

Here’s how to do it

1. Open Automator (Applications folder)

2. Select “Service” and click “Choose”

3. From “Service receives,” select “no input” in “Mail”

4. Drag “Get Selected Mail Messages” into the workflow

5. Drag “Run AppleScript” into the workflow

6. Then copy and paste the following script into “Run AppleScript”

Apple Online Storeon run {input, parameters}

tell application “Mail”

repeat with eachMessage in input

bounce eachMessage

end repeat

end tell

end run

7. Click the hammer in the Apple Script window if text goes blue in some parts of the code and black in others it worked
— If you get an error, replacing any smart quotes with straight quotes
— SAVE your new Automator Service as “Bounce”

8. In Mail, pick a message to Bounce and then under the “Mail” menu, look for Service > Bounce and click it — that email (person) is gone, never to come back

That was pretty easy and brings back a much missed feature to Mail 5.

Have an OS X Lion tip or trick? Share it and a link in the comments below…

via Technominer

The new iMac. The ultimate all-in-one goes all out

13 Comments »

  • spydie said:

    It only works if I send mail to myself. It does not bounce mail back to anyone else. What’s wrong?

  • Alan said:

    I did this, and didn’t get any errors…but when I try to test it by bouncing a message that I send to myself…nothing happens. I don’t ever receive a bounce e-mail.

  • Wigglesworth said:

    Works like a charm! Thanks! ;)

  • Christoffer said:

    Is it meant to delete the message from Mail?
    Mine didn’t delete so I’m not sure if it worked

  • Upgrade to Lion | Colin Charles Agenda said:

    [...] ability to bounce a message has disappeared. There is a guide on how to bring bounce back, using Automator and AppleScript. I think I’ve got to edit that script to ensure that after a [...]

  • Jeff said:

    Thanks…

    It works fine.

    Add:

    delete eachmessage

    after the line

    bounce eachMessage

    to delete each message after it is bounced.

  • SilentCat said:

    The straight quotation marks did it for me. And I canNOT thank you enough for restoring this function, along with getting my temper under control again. ;-) All the best!

  • bob said:

    I keep getting ” Syntec Error Expected expression, property or key form, etc. but found unknown token.

    Using this script

    on run (input, parameters)

    tell application “Mail”

    repeat with eachMessage in input

    bounce eachMessage

    end repeat

    end tell

    end run

  • Joat said:

    Bob: You may need to change the quote marks if you have used copy/paste, from the curly open and close quotes to the plain double-quote mark.

  • Bill said:

    This worked for me – first time i have used Automator – so just to help any other newbies –

    1. To get to “Get Selected Mail Messages” you need to select “Get Selected Mail Items” in the Library (or if you go down the Library List you can click on Mail and then “Get Selected Mail Items”).

    2. I typed the script but was not sure whether to type it inside the brackets (* type……*) – i just omitted the brackets and asterisks and typed it exactly as in the article with a space between each line.

    3. I added the instruction “delete eachMessage” as Jeff said.

    So I am really pleased to have Bounce back thank you.

  • Jason said:

    There is an app available for bouncing email. Called BounceMyX on iTunes store

  • HBT said:

    I noticed that AFTER using Bounce, if you are using [in my case] IMAP (.me) emil addresses, it eventually RE-DOWNLOADS the bounced and deleted email. Is there a way to keep this from happening.

  • phil said:

    the only problem with it is if you use the script the mail gets bounce with a header created and not the original header.
    for example. I get most of my spam to my .Mac address, but my main email address that I use now is .me , as configured in mail. This bounce will return the mail to sender as if it was sent to my .me address. defeating to point.

Leave your response!

Add your comment below, or trackback from your own site. You can also subscribe to these comments via RSS.

Be nice. Keep it clean. Stay on topic. No spam.