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


Click here to return to the 'Create a redirect-only Mail account' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Create a redirect-only Mail account
Authored by: TigerKR on Nov 27, '06 10:40:45PM

Here is my applescript for Mail.app.

It automatically copies all of the email, including the header, and then it sends the spam to the Federal Trade Commission Spam harvesting account, and my spamcop account.

tell application "Mail"
	set theMessages to the selection
	repeat with thisMessage in theMessages
		set newMessage to make new outgoing message at end of outgoing messages
		tell newMessage
			set content to thisMessage's source
			set subject to thisMessage's subject
			make new to recipient with properties {address:"spam@uce.gov, submit.[your.spamcop.account]@spam.spamcop.net"}
		end tell
		send newMessage
		set read status of thisMessage to true
	end repeat
end tell

I have enabled the script menu and the script resides in ~/Library/Scripts/Applications/Mail/

That way I can access it from the menu-bar in Mail.

I believe that people should be reactive to spam by 1. not buying from spam (if there was no money in it, there would be no spam), and 2. reporting spam to both the authorities and the hive mind so that they can develop methods for blocking it.

[ Reply to This | # ]