*This message was transferred with a trial version of CommuniGate(tm) Pro*
On Thu, Jul 31, 2003, Marcus Jarrett said:

>You just need the plural (it's looking for a list of attachments, I guess):
>
>if exists (attachments of msg) then-- etc.

Marcus,

You da man! Thanks, really. It's those small little errors that drive you
nuts.

The result of my queries was to improve upon a script that I'd written to
automatically delete certain types of attachments from messages. My list
is short but includes anything that contains {"Enclosure", "winmail.dat",
".exe", "signature.asc", "IMSTP"}. For anything that gets filtered by
SpamSieve and ends up in the "Spam" folder I also want to strip any .gif
or .jpg files as I don't think these are scanned anyway.

The script is fully customizable and if anyone wants it let me know and
I'll send a copy and I'll give Wayne a copy for the PowerMail Script Page.

-- 
Andy Fragen
TiBook 400/384 RAM - OS X 10.2.6 - PowerMail v4.2a7
PowerMail AppleScript Archives: http://homepage.mac.com/wayneb/powermail.html


Reply via email to