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


Click here to return to the 'An AppleScript to forward spam to the FTC via Mail' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
An AppleScript to forward spam to the FTC via Mail
Authored by: pkazmercyk on Aug 13, '09 10:01:49AM

I'm using a modified version of this script to forward spam to KNUJON. However, I'm wondering if there's a line of AppleScript code I can add to the script to remove my email signatures before the SPAM is forwarded, as some of my signatures contain URL links and I don't want them added to the mix. I'm good at a lot of things. AppleScript is not one of them, so any help will be greatly appreciated. Thanks!



[ Reply to This | # ]
An AppleScript to forward spam to the FTC via Mail
Authored by: tedw on Aug 13, '09 12:12:36PM
I haven't played with this script at all, but (theoretically) the way you would do this would be to add a line in the 'tell newMessage' block that says something like 'set message signature to false'. you'll have to play with the correct value: false might work, or 0, or none, or you may have to create a blank signature and set the message signature to that.

or if that proves to irritating, you can go the long way and create a new mail account just to send junkmail. set it up with the same email address as your main account, but so that it never checks for mail itself and never uses signatures. then in the script tell newMessage to use that account when it sends the email.

[ Reply to This | # ]