Re: Scripting Mail.app
Re: Scripting Mail.app
- Subject: Re: Scripting Mail.app
- From: "J.B. Stewart" <email@hidden>
- Date: Mon, 21 Jan 2002 20:52:16 -0500
On 1/21/02 at 5:52 PM, Michael Turner <email@hidden> wrote:
>
This works for me:
>
>
tell application "Mail"
>
activate
>
get content of message 1 of mailbox 10 of account 1
>
end tell
>
>
This doesn't work, I don't know why:
>
>
tell application "Mail"
>
activate
>
get content of message 1 of mailbox of account 1 whose mailbox name
>
is "Mike"
>
end tell
>
>
/Michael
Yes that works here too but I wasn't trying to get the content, I was trying to
open the original email itself. The project is an email reader that finds and
opens unread email. This is the third project in a row that's gone belly up
because of poor implementation and lack of quality control, 2 in AppleScript
Studio and this one. It's frustrating.
John