• 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: Recycling Email Drafts in Mail
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Recycling Email Drafts in Mail


  • Subject: Re: Recycling Email Drafts in Mail
  • From: "email@hidden" <email@hidden>
  • Date: Fri, 27 Mar 2009 09:14:54 -0700


On Mar 27, 2009, at 8:13 AM, James Cook wrote:

Thanks to all who've responded but I'm still after the script as originally described.


Something like this might get you started:

tell application "Mail"
tell account 1
set myMailbox to mailbox "Drafts"
tell myMailbox
set myMessage to message 1 whose id is 63060
--or
-- set myMessage to message 1 whose subject is "foo"

end tell
duplicate myMessage to myMailbox
open last message of myMailbox
end tell
end tell

From this point you should be able to manipulate the open message as you would any other.

HTH,

ES
 _______________________________________________
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: Recycling Email Drafts in Mail
      • From: Michelle Steiner <email@hidden>
References: 
 >Recycling Email Drafts in Mail (From: James Cook <email@hidden>)
 >Re: Recycling Email Drafts in Mail (From: Bill Briggs <email@hidden>)
 >Re: Recycling Email Drafts in Mail (From: James Cook <email@hidden>)

  • Prev by Date: Re: Applescript newbie trying to do something easy
  • Next by Date: Re: Applescript newbie trying to do something easy
  • Previous by thread: Re: Recycling Email Drafts in Mail
  • Next by thread: Re: Recycling Email Drafts in Mail
  • Index(es):
    • Date
    • Thread