>Subject: Tagging attachments
>Date Sent: 21 February 2003 12:03 PM
>From: Rick Lecoat <[EMAIL PROTECTED]>
>To: PowerMail Discussions <[EMAIL PROTECTED]>
>From: PowerMail discussions <[EMAIL PROTECTED]>
>
>Morning all;
>
>After spending quite some time last night trying to remember from whom a
>certain attachment had come from (in case it was a spammy virus) I
>decided to prevent the problem in the future by using the Tag Attachments
>script on the PM script page, which puts info about the sender into the
>Comments info box of any attached files. However, I'm finding that if a
>message has no attachments at all then the alert box saying "the file has
>been moved" still comes up, and must be dismissed before PM will continue
>to do anything.
>
>Is it possible to have the script ONLY try and perform its tagging
>functions if a message actually has an attached file or files? I tried
>setting a filter to run the Tag attachments script if the Content-type
>field is Multipart/mixed, but somebody just sent me an email with a
>multipart/mixed header but no attachment, so the scripted got stalled at
>the dialogue box again, waiting for me to dismiss it.
>
>Any of you script gurus out here have an idea?
>

Rick:

I have modified the script to add a true false statement on whether an
attachment exists in the message. If there isn't an attachment, the
script doesn't try to process the attachment. You will still get the
error about the file being moved if the file really has been moved, so it
basically works as it was intended to work now.

Wayne

--
"Nature can survive without man--in fact, that may be its salvation--but
man cannot survive without nature."

- Homero Aridjis

Live DAT & Music Page: http://homepage.mac.com/wayneb/
PowerMail AppleScript Archives: http://homepage.mac.com/wayneb/powermail.html

Music Currently playing: Skydiggers "It's Sunday Pouring Down Rain" : Restless


Reply via email to