Re: Recycling Email Drafts in Mail
Re: Recycling Email Drafts in Mail
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