Google - Imap - Mail Problem
Google - Imap - Mail Problem
- Subject: Google - Imap - Mail Problem
- From: Beatrix Willius <email@hidden>
- Date: Mon, 22 Sep 2008 17:28:36 +0200
Hello everybody,
got a problem in the combination of Google with Imap in Mail. A very
simple AppleScript
set theAccount to "chbt/amcs/xxx/yyy/zzz"
tell application "Mail" to return mailboxes of the account theAccount
returns the following
mailbox "[Google Mail]/All Mail" of account "chbt/amcs/xxx/yyy/zzz"
of application "Mail",
mailbox "[Google Mail]/Drafts" of account "chbt/amcs/xxx/yyy/zzz" of
application "Mail",
mailbox "[Google Mail]/Sent Mail" of account "chbt/amcs/xxx/yyy/zzz"
of application "Mail",
mailbox "[Google Mail]/Spam" of account "chbt/amcs/xxx/yyy/zzz" of
application "Mail",
mailbox "[Google Mail]/Starred" of account "chbt/amcs/xxx/yyy/zzz" of
application "Mail",
mailbox "[Google Mail]/Trash" of account "chbt/amcs/xxx/yyy/zzz" of
application "Mail",
mailbox "Deleted Messages" of account "chbt/amcs/xxx/yyy/zzz" of
application "Mail",
mailbox "Drafts" of account "chbt/amcs/xxx/yyy/zzz" of application
"Mail",
mailbox "Drafts (chbt/amcs/bigfoot/ch23/h.c)" of account "chbt/amcs/
xxx/yyy/zzz" of application "Mail", <-- problem here
mailbox "freecycle" of account "chbt/amcs/xxx/yyy/zzz" of application
"Mail",
mailbox "Junk E-mail" of account "chbt/amcs/xxx/yyy/zzz" of
application "Mail",
mailbox "Sent Items" of account "chbt/amcs/xxx/yyy/zzz" of
application "Mail",
mailbox "Sent Messages (gmail:chbt/amcs/bigfoot)" of account "chbt/
amcs/xxx/yyy/zzz" of application "Mail", <-- problem here
mailbox "Apple Mail To Do" of account "chbt/amcs/xxx/yyy/zzz" of
application "Mail",
mailbox "INBOX" of account "chbt/amcs/xxx/yyy/zzz" of application "Mail"
Then my code fishes out the mailboxes and changes this to path
information, where a slash is part of the mailbox name. The problem
is the second row with the drafts, same for the sent messages. There
the slash is part of the account name and not part of the mailbox name.
Has anyone seen this before?
Where does this come from? I don't see mailboxes like this for my
Imap Google account.
Should I simply do a regex with bracket + account name + bracket and
delete the mailbox in this case?
Mit freundlichen Grüßen/Regards
Trixi Willius
http://www.mothsoftware.com
Mail Archiver X: archive, clean and search email
http://www.beatrixwillius.de
Fractals, 3d landscapes etc.
_______________________________________________
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