Re: Account Mail Question
Re: Account Mail Question
- Subject: Re: Account Mail Question
- From: Luther Fuller <email@hidden>
- Date: Sat, 29 Dec 2007 16:04:18 -0600
On Dec 29, 2007, at 3:42 PM, m wrote:
I guess I would ask you and others who are more knowledgeable than
I, if , because every message in the Mail App has a uniqueID ( and
I mean the mail ID,not the message-ID), does it not know which
account it is in?
No, a message does not know which account it is in. A message DOES
know which mailbox it is in. SOME, but not all, mailboxes do belong
to an account. (That's the reason for the try block.) Mailboxes
created by the user "On My Mac" do not belong to any account. You can
create a mailbox belonging to an imap account. You cannot create a
mailbox belonging to a pop account. (Try it!)
Mail's dictionary does not know what a "mail ID" is. (I looked.)
My advice on message id numbers ... avoid using them. The only
necessary use I've found (so far) is to construct the file name of
the file that is the message. As in ...
set msgName to ((id of msg) as text) & ".emlx" -- needed for file alias
_______________________________________________
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