Re: bug with mail
Re: bug with mail
- Subject: Re: bug with mail
- From: cricket <email@hidden>
- Date: Tue, 1 Jan 2002 15:36:02 -0800
On Monday, December 31, 2001, at 05:43 PM, applescript-users-
email@hidden wrote:
Mail (OS X app) has been particularly buggy to script.
I'll try to post all the problems I've found out at a later time, right
now, I found one that beats all the other bugs.
tell app "Mail" to set l to email addresses of every account
l
---> {{application "Mail", {"address 1"}, {"address 2"}, {"address
3"},..., { last address }}}
What is app Mail doing there?
according to the dictionary " email addresses list [r/o] -- The list
of email addresses configured for an account"
It'll return 'current application' when there is no value returned, so for
any of your accounts that don't have an email address associated with it
will return 'application "Mail"', including Personal Mailboxes, which Mail
considers an account.
This is a bug, obviously.
- cricket
----->
Software Entomologist/Mail for Mac OS X email@hidden
---------->
The Power to Be Your Best