Results 1 to 3 of 3

Thread: [SOLVED] Getting all calendars from an account

  1. #1
    Join Date
    Dec 2010
    Posts
    6
    Rep Power
    5

    Default [SOLVED] Getting all calendars from an account

    Hi guys, I'm currently getting all the account information through this:

    su - zimbra -c "zmmailbox -z -m example@domain.com getRestURL /?fmt=tgz" > /tmp/file.tgz

    The problem is when an account has more than one calendar. Is there a way to notice whether a file is calendar or not?. It will useful to me just to know the name of all calendars in the account. I'm executing this from a python script, so I can make any operation.

    Thanks in advanced!

  2. #2
    Join Date
    Jul 2007
    Location
    Baltimore
    Posts
    1,649
    Rep Power
    11

    Default

    zmmailbox getAllFolders for the account will show all the folders, and there is a type field you can use to identify which are calendar folders.

  3. #3
    Join Date
    Dec 2010
    Posts
    6
    Rep Power
    5

    Default Solved!

    Great, so all the "appo" items will be an appointment type.

    Thanks!

Similar Threads

  1. Replies: 0
    Last Post: 10-27-2010, 03:39 AM
  2. One account not receving email
    By EnglishDude in forum Administrators
    Replies: 12
    Last Post: 04-30-2010, 07:19 AM
  3. Restoring mails, folders and calendars
    By iain in forum Administrators
    Replies: 3
    Last Post: 03-17-2008, 11:14 AM
  4. Replies: 3
    Last Post: 09-18-2007, 07:55 AM
  5. Replies: 3
    Last Post: 02-09-2006, 10:19 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •