Mail: mailboxes in folders
Mail: mailboxes in folders
- Subject: Mail: mailboxes in folders
- From: "David P. Baker" <email@hidden>
- Date: Sun, 6 Apr 2003 10:41:45 -0400
OK, I have a set of mailboxes in my IMAP account, some of which are
inside folders. That means their name is "Folder/Mailbox", or, for
example:
get mailbox "Archive/Job" of account 1
Fine and dandy. However, there is no property of that mailbox that
specifies the containing folder, as far as I can tell. So if I get the
name of the mailbox, I get just "Job" -- which will be wrong if I try
to get it by name if I have another mailbox named "Job":
set box to mailbox "Archive/Job" of account 1
-- mailbox "Archive/Job" of account "email@hidden"
set box_name to the name of box
-- "Job"
set new_box to mailbox named box of account 1
-- mailbox "Job" of account "email@hidden"
which is not the mailbox I wanted! I need some way of specifying the
correct mailbox other than a reference. (I'm storing the mailbox spec
in a data file.) Shouldn't there be a "path" property or something that
I could use that would give "Archive/Job"? Or at least an opaque id
field that I could store as a string (there isn't one).
Any ideas? Cricket?
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.