• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Updating Mail 1.2 database
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Updating Mail 1.2 database


  • Subject: Re: Updating Mail 1.2 database
  • From: "Marc K. Myers" <email@hidden>
  • Date: Thu, 26 Sep 2002 00:37:25 -0400

From: cricket <email@hidden>
Date: Wed Sep 25, 2002 7:58:54 PM America/Detroit
To: "Marc K. Myers" <email@hidden>
Cc: email@hidden
Subject: Re: Updating Mail 1.2 database

You could verify that 'is deleted' is set to false. Right now, asking a mailbox for all its messages includes deleted messages that have not yet been purged. We consider this a bug to be fixed.

- cricket

On Wednesday, September 25, 2002, at 01:54 PM, Marc K. Myers wrote:

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?

I don't think that addresses the problem, as there are no unpurged deleted messages in the mailbox and I'm not setting the "is deleted" flag of the messages flagged as "is junk mail". I'm changing their mailbox properties to move them to a different mailbox. Earlier experimentation showed that you can't move messages from mailbox to mailbox with the "move" command but it is possible by setting the mailbox property. The problem seems to be that Mail doesn't recognize the move until at least 30 seconds after the mailbox property is set. Is there a way to force Mail to recognize the move as soon as the property is set for a different mailbox?

Marc K. Myers <email@hidden>
http://AppleScriptsToGo.com
4020 W.220th St.
Fairview Park, OH 44126
(440) 331-1074

[9/26/02 12:36:12 AM]
_______________________________________________
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.

  • Follow-Ups:
    • Re: Updating Mail 1.2 database
      • From: cricket <email@hidden>
References: 
 >Re: Updating Mail 1.2 database (From: cricket <email@hidden>)

  • Prev by Date: Disabling keboard and Mouse
  • Next by Date: Re: Disabling keboard and Mouse
  • Previous by thread: Re: Updating Mail 1.2 database
  • Next by thread: Re: Updating Mail 1.2 database
  • Index(es):
    • Date
    • Thread