Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

10.3: Add a Junk button to Mail's standalone message viewer Apps
Whenever I open a spam email message (in its own window via a double-click, not inline), I find I always instinctively go looking for the "Junk" button in the toolbar. Unfortunately the toolbar for the standalone window can't have a Junk button for some reason. Or can it...?

Quit Mail and choose 'Show Package Contents' by control-clicking on the Mail program. Use any text editor to edit the file at Mail -> Contents -> Resources -> TornOffViewer.toolbar. Add the following text after the deleteMessages: item in the toolbar array:


  {
    help = "TOOLTIP_JUNK"; 
    identifier = "markAsJunkMail:"; 
    image = junkmail; 
    tag = 0; 
    title = "TOOLBAR_JUNK";
    altTitle = "TOOLBAR_NOTJUNK";
  }, 

(Note the trailing comma at the end!)

Save the file and relaunch Mail. You should now be able to edit the toolbar for the standalone message viewer window to include a "Junk" button. (Yes, I know about Shift-Command-J to mark something as Junk, I just always seem to be looking to click the button, is all.)

One can use a similar technique to add a "Delete" button to the toolbar of the Compose window by adding the deleteMessages: toolbar item to the ComposeNewOrDraft.toolbar. Unfortunately, the button gets disabled since deleting an open outgoing message is not allowed for some reason. I've submitted both these items as feature requests to Apple.

    •    
  • Currently 1.71 / 5
  You rated: 5 / 5 (7 votes cast)
 
[9,420 views]  

10.3: Add a Junk button to Mail's standalone message viewer | 4 comments | Create New Account
Click here to return to the '10.3: Add a Junk button to Mail's standalone message viewer' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.3: Add a Junk button to Mail's standalone message viewer
Authored by: robdb on Jan 29, '04 02:57:20PM

This rocks, but along the same note... Does anyone know how to remove the dialog box that comes up each time I bounce an e-mail? When I click bounce, to bounce a piece of spam, I want it to go right then. I'm pretty sure I know when i want to bounce something!



[ Reply to This | # ]
10.3: Add a Junk button to Mail's standalone message viewer
Authored by: ChuckR on Jan 29, '04 06:22:18PM

Just a silly question... why do you even bother to Open and or Read SPAM? Whatever makes it thru the filter and shows up in the message window gets selected (I don't use the split viewer window either) and immediately sent to the Junk pile.



[ Reply to This | # ]
Bouncing spam considered harmful
Authored by: elemental on Jan 30, '04 09:58:04AM

You actually shouldn't do this at all. Spam is often sent with a forged Sender: address, which means your bounce does not go to the spammer, but to some innocent third party. Bouncing it back to them just adds to the problem, as they're already being inundated with real bounces, as well as angry e-mail and remove requests from the people who don't know better.



[ Reply to This | # ]
10.3: Add a Junk button to Mail's standalone message viewer
Authored by: nomaded on Feb 01, '04 02:40:03AM

You forgot to mention that you need to add "markAsJunkMail:" to the "default set" section of the TornOffViewer.toolbar file.



[ Reply to This | # ]