Re: Help with mail please
Re: Help with mail please
- Subject: Re: Help with mail please
- From: Michelle Steiner <email@hidden>
- Date: Thu, 20 Dec 2007 18:56:49 -0700
On Dec 20, 2007, at 4:59 PM, m wrote: Problem. Given an e-mail ( eg 416.emlx), I want to extract the name of the mailBox that it is contained within.
tell application "Mail" set mymsg to message {id, 425} - - Error..Mail cannot get message end tell
Try this:
tell application "Mail" tell message viewer 1 first message whose id is 778223 end tell end tell
So the entire script to get the name of the mailbox of the message is
tell application "Mail" tell message viewer 1 set mailbox_name to the name of mailbox of the first message whose id is 778223 end tell end tell
-- A great Idea! That's what we need--a great idea. --Pesudolous, (A Funny Thing Happened on the way to the forum)
|
_______________________________________________
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