Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Sampadan

macrumors newbie
Original poster
May 23, 2008
15
0
London
I've been trying to figure a way to send annoying spam to the trash folder by using automator.

I've written a script and created a service that "bounces" unwanted emails, from a prewritten script I found on a search.

However, what I'm really looking to do, is to be able to let mail delete emails containing specific content.

I receive 3 spam emails per day (shock horror) and they always contain the exact same message, I thought I could probably write a script that looks for this sentence, then deletes the email.

Can anyone help me with this!?

Thanks
 
I've been trying to figure a way to send annoying spam to the trash folder by using automator.

I've written a script and created a service that "bounces" unwanted emails, from a prewritten script I found on a search.

However, what I'm really looking to do, is to be able to let mail delete emails containing specific content.

I receive 3 spam emails per day (shock horror) and they always contain the exact same message, I thought I could probably write a script that looks for this sentence, then deletes the email.

Can anyone help me with this!?

Thanks

A Mail rule like this would do exactly what you want.

screenshot20130318at841.png
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.