Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Developers

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 02-15-2010, 03:47 AM
Junior Member
 
Posts: 5
Default zmObject.workEmail is missing

Hi ,

I am creating a zimlet to copy contacts from Zimbra to my local drive. As per instructions in zmObject I have successfully managed to get all properties of the contacts except workEmail.

Kindly help in acieving this I have used zmObject as mentioned but still even after using workObject.workEmail I am getting the error which says " work email id : undefined "

Regards,
Rohit
Reply With Quote
  #2 (permalink)  
Old 02-19-2010, 01:38 PM
Zimbra Employee
 
Posts: 105
Default

There are three contact properties for email: email, email2, email3

Checkout this zimlet example which has some code about retrieving contact properties (note: this is on ZCS 6.0.x)

ZCS 6.0:Zimlet Developers Guide:Examples:Panel Item Drag Source Details - Zimbra :: Wiki

Also, have you looked at using the REST API to get contacts from a mailbox? Checkout the Get Contacts command:

ZCS 6.0:Zimbra REST API Reference - Zimbra :: Wiki
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.