Results 1 to 4 of 4

Thread: zimbra, url for caldav

  1. #1
    Join Date
    May 2012
    Posts
    2
    Rep Power
    3

    Default zimbra, url for caldav

    Hey ( sorry for my english )

    I use zimbra, which has caldav implementations caldav. I try create new event in calendar for my simple client ( which use caldav python library ). I dont now what type of url for save new event in caldav library python.

    ( sorry for my english )

  2. #2
    Join Date
    Dec 2009
    Location
    Michigan
    Posts
    454
    Rep Power
    5

    Default

    My server is drdos.info, this is the url:

    https://mydomain.com/dav/email_address

    Doug
    Last edited by lytledd; 03-26-2013 at 04:38 PM. Reason: Modified domain, getting spam from forums
    Ben Franklin quote:

    "Those who would give up Essential Liberty to purchase a little Temporary Safety, deserve neither Liberty nor Safety."

  3. #3
    Join Date
    Apr 2009
    Posts
    304
    Rep Power
    6

    Default

    I'm using this URL:
    myzimbra.domain.com/principals/users/user@domain.com/

  4. #4
    Join Date
    May 2012
    Posts
    2
    Rep Power
    3

    Default

    correct url for caldav ( zimbra ) is,

    https://<username>:<passwd>@example.com/dav/<username>/<CalendarName>

    I search event, rename calendar name in this url but i cant save new event. I use Python and caldav library ( caldav 0.1.12 : Python Package Index ).

    My example code,
    Code:
    # -*- coding: utf-8 -*-
    
    from datetime import datetime
    from caldav import DAVClient, Calendar, Event
    
    
    calendar_url = "https://<username>:<passwd>@example.com/dav/<username>/<CalendarName>"
    data = """BEGIN:VCALENDAR
    VERSION:2.0
    PRODID:-//Example Corp.//CalDAV Client//EN
    BEGIN:VEVENT
    UID:20010712T182145Z-123401@example.com
    DTSTART:20120508T180000Z
    DTEND:20120509T20000Z
    SUMMARY: test
    END:VEVENT
    END:VCALENDAR
    """
    
    client = DAVClient(calendar_url)
    calendar = Calendar(client, calendar_url)
    
    
    print '\n\n\n\n\n\n\n\n'
    event = Event(client, data=data, parent=calendar)
    event.save()
    print event
    print '\n\n\n\n\n\n\n\n'
    In SOGO i can create event. When i save new event in zimbra, caldav return error
    Code:
    caldav.lib.error.PutError
    My english is not good, sorry.

Similar Threads

  1. [SOLVED] Clamav problem ? What's happening ?
    By aNt1X in forum Installation
    Replies: 23
    Last Post: 02-14-2008, 05:43 AM
  2. Major Issue - 5.0RC2 NE to 5.0GA NE failed
    By DougWare in forum Installation
    Replies: 7
    Last Post: 01-06-2008, 09:56 PM
  3. Replies: 22
    Last Post: 12-02-2007, 05:05 PM
  4. Can't start Zimbra!
    By zibra in forum Administrators
    Replies: 5
    Last Post: 03-22-2007, 12:34 PM
  5. 4.5 Upgrade failure
    By brained in forum Installation
    Replies: 9
    Last Post: 03-03-2007, 03:30 PM

Tags for this Thread

Posting Permissions

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