• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Mail.app script -- please test
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >Re: Mail.app script -- please test (From: Michelle Steiner <email@hidden>)
 >Re: Mail.app script -- please test (From: John Delacour <email@hidden>)
 >Re: Mail.app script -- please test (From: John W Baxter <email@hidden>)

  • Prev by Date: Re: Mail.app script -- please test
  • Next by Date: Looking for clarification on Applescript event handlers
  • Previous by thread: Re: Mail.app script -- please test
  • Next by thread: Re: Mail.app script -- please test
  • Index(es):
    • Date
    • Thread