Re: Mail.app script -- please test
Re: Mail.app script -- please test
- Subject: Re: Mail.app script -- please test
- From: John Delacour <email@hidden>
- Date: Sun, 10 Aug 2003 21:40:14 +0100
At 12:10 pm -0700 10/8/03, John W Baxter wrote:
Err...are some of you running Mail.app with only POP account(s) while
others run it with IMAP or a mix of IMAP and POP? If a mix, which kind is
the default account?
The behavior differences seem "startling". But the Deleted Items folder
and perhaps Drafts are IMAP-ish things.
Every account has a "deleted items" mailbox
tell application "Mail"
set p to name of mailboxes in first pop account
set i to name of mailboxes in first imap account
{p, return, i}
end tell
--> {{"INBOX", "Drafts", "Sent Messages", "Deleted Messages"}, "
", {"Junk", "Trash", "INBOX", "Deleted Messages"}}
The names of the mailboxes are based on the names of the files,
rather than the displayed names, which strikes me a plain potty, but
so it a lot about Mail.
set _mail to "" & (path to "cusr") & "library:mail"
tell application "Finder" to open item _mail
_______________________________________________
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.