• 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: Account Mail Question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Account Mail Question


  • Subject: Re: Account Mail Question
  • From: Michelle Steiner <email@hidden>
  • Date: Sat, 29 Dec 2007 15:36:51 -0700

On Dec 29, 2007, at 3:26 PM, m wrote:

However, the same script will not move an e-mail from an "INBOX" to the same destination without the addition of the account, as in 

set theMsgs to every message of mailbox "INBOX"  of account "BAR" whose id is 10000

Once again, if you know the ID of the message, you do not need to specify where it is when moving it.

tell application "Mail"
tell message viewer 1
set theMSG to first item of (messages whose id is 781984)
end tell
move theMSG to mailbox "Read mail"
end tell

-- Michelle

-- 
Are you better off today than you were on Jan 20th, 2001?

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

  • Follow-Ups:
    • Re: Account Mail Question
      • From: m <email@hidden>
References: 
 >Account Mail Question (From: m <email@hidden>)
 >Re: Account Mail Question (From: Luther Fuller <email@hidden>)
 >Re: Account Mail Question (From: m <email@hidden>)
 >Re: Account Mail Question (From: Luther Fuller <email@hidden>)
 >Re: Account Mail Question (From: m <email@hidden>)

  • Prev by Date: Re: Account Mail Question
  • Next by Date: Re: Account Mail Question
  • Previous by thread: Re: Account Mail Question
  • Next by thread: Re: Account Mail Question
  • Index(es):
    • Date
    • Thread