Results 1 to 2 of 2

Thread: working on a new zimlet

  1. #1
    Join Date
    Mar 2010
    Posts
    28
    Rep Power
    5

    Default working on a new zimlet

    any pointers...I have written this to work with squirrelmail and thunderbird a long time ago, and now undertaking doing the same with zimbra. Basically, company wants to archive specific emails to mysql database. Zimlet will request a list of items from db and then id of item will be chosen and posted back with details of email. I am assuming I will be using Ajxrpc...but just looking for pointers from those more experienced before actually doing it, espcially maybe the interface in javascript for the item selection from the zimlet.

    Here is the info from the RESTful archive service on db side

    Code:
    /*
    php web service for filing emails to mysql
    
    two modes
    	get_props
    	file_mail
    
    Arguments are passed via PUT and parsed into $incoming
    
    mode get_props
            user (required:this is the full username like user@domain.com)
    	pass (required:the users password, passed via HTTPS PUT request so should be OK)
    	mode (required:must be get_props)
    	
    	returns an xml array 'properties' with elements 'property' with elements 'address' and 'id' like:
    	
    	<properties>
    	<property>
    	<idproperty>2194</idproperty>
    	<address>0 Benton Rd</address>
    	</property>
    	<property>
    	.....
    	</properties>
    
    	
    	
    mode file_mail
    	user (required:this is the full username like user@domain.com)
    	pass (required:the users password, passed via HTTPS PUT request so should be OK))
    	mode (required:must be file_mail)
    	mailbox(required:this is the mailbox folder in the imap namespace, usually INBOX, but can be anything as long as it is valid)
    	passed_id(required:this is the imap message uid for the mailbox, must be usable by imap_msgno()
    	idproperty(required:this is the id number of the property to save with the email, selected from the list from the get_props mode)
       this mode returns OK on success or ERROR if not
    
    
    TODO 
    add more descriptive return codes in xml format for mode file_mail   
    
    */
    if anyone wants to take on this zimlet sub-$500, I am game...I plan to have users drag message to zimlet and/or click button, present item list to file it to in zimbra interface, click ok and PUT email details to service. That's it

  2. #2
    Join Date
    Mar 2010
    Posts
    28
    Rep Power
    5

    Default

    this looks like exactly what I need

    Zimbra to PHP - Zimbra :: Wiki

    but the link in the wiki goes nowhere, and I have googled, but can't seem to find that article.

    Anybody have a good link to this article/blog post that is referenced?? TIA

Similar Threads

  1. [SOLVED] WebEx Zimlet stopped working after upgrade
    By markosulake in forum Zimlets
    Replies: 6
    Last Post: 06-25-2012, 08:34 AM
  2. Replies: 21
    Last Post: 02-04-2010, 09:06 AM
  3. Bugzilla Zimlet Configuration Not Working
    By Mercer in forum Zimlets
    Replies: 6
    Last Post: 09-20-2007, 03:30 PM
  4. Post instsallation problems
    By Assaf in forum Installation
    Replies: 14
    Last Post: 01-29-2007, 10:38 AM
  5. Restricting Zimlet Accss to COS Is Not working
    By rcubedtech in forum Administrators
    Replies: 2
    Last Post: 11-15-2006, 07:31 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
  •