• 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: Reference to a Mail message
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Reference to a Mail message


  • Subject: Re: Reference to a Mail message
  • From: Le Stang Jean-Baptiste <email@hidden>
  • Date: Wed, 7 Sep 2005 10:20:46 +0200

Are your mailboxes nested in an other mailbox, in which case you must provide the relative path of the mailbox :

move (message 1 of mailbox "Administratif/Inscriptions") to mailbox "Apple/iMS"

++ Jean-Baptiste LE STANG

Le 7 sept. 05 à 10:03, David Duncan a écrit :

I'm trying to use the move command to move a Mail email message from one mailbox to another, so:

move message 1 of mailbox "Arthur" to mailbox "Martha"

The Mail dictionary defines move as "move: Move message(s) to a new mailbox. move reference (-- the message(s) to move) to mailbox" which the above line of code seems to me to comply with.
However it does not compile in Debugger, highlighting the 1 and yielding this error: "Expected end of line, etc. but found number." I have tried replacing the "message 1" with several other likely looking properties like "id 166752" and "message id" etc but these do no better.


I imagine I'm missing something incredibly elementary, but I've run into a brick wall. Any help much appreciated.

Desperate (David Duncan)
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (Applescript- email@hidden)
Help/Unsubscribe/Update your Subscription:
40lestang.org


This email sent to email@hidden



_______________________________________________ Do not post admin requests to the list. They will be ignored. Applescript-users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >Reference to a Mail message (From: David Duncan <email@hidden>)

  • Prev by Date: Reference to a Mail message
  • Next by Date: Re: Creating a folder on the desktop
  • Previous by thread: Reference to a Mail message
  • Next by thread: Re: Reference to a Mail message
  • Index(es):
    • Date
    • Thread