Updating Mail 1.2 database
Updating Mail 1.2 database
- Subject: Updating Mail 1.2 database
- From: "Marc K. Myers" <email@hidden>
- Date: Wed, 25 Sep 2002 16:54:22 -0400
I'm trying to write a script for Mail 1.2 that will move messages
flagged as "is junk mail" from the inbox to a special mailbox. In a
loop I go after the first message in the mailbox whose is junk mail is
true and set its mailbox property to the name of the destination
mailbox. The problem is that after this command is executed Mail still
thinks the message is in the original mailbox, not the new one. On the
next iteration it finds the same message as the first first piece of
junk mail. It continues to do so for about 30 seconds until Mail
catches up with itself and realizes that the message has been moved.
Is there any way to force Mail to recognize that the message has been
moved?
Marc K. Myers <email@hidden>
http://AppleScriptsToGo.com
4020 W.220th St.
Fairview Park, OH 44126
(440) 331-1074
[9/25/02 4:52:24 PM]
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.