Re: Getting Existing Outgoing Message in Mail.app
Re: Getting Existing Outgoing Message in Mail.app
- Subject: Re: Getting Existing Outgoing Message in Mail.app
- From: Michelle Steiner <email@hidden>
- Date: Fri, 21 Dec 2007 12:30:30 -0700
On Dec 21, 2007, at 11:37 AM, Jeff Cooper wrote: What’s interesting is when I try getting Outgoing Message 1, I get “Mail got an error: Can’t get content of outgoing message id 423222320.” which to me means it DOES know what message I’m talking about (it spits back a message ID) but for some reason can get any elements or properties of it unless is created within the script.
It appears to be a bug. As you said, it can't get any properties of the message; it can't even return its own ID.
tell application "Mail" id of outgoing message end tell
--> "Mail got an error: Can’t get id of outgoing message 1."
I tried this:
tell application "Mail" outgoing message 1 end tell
--> outgoing message id 279235136
Then I tried this:
tell application "Mail" id of outgoing message id 279235136 end tell
--> "Mail got an error: Can’t get id of outgoing message id 279235136."
-- Michelle
-- If you don't hit any bumps in the road, you're not moving.
|
_______________________________________________
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