Results 1 to 3 of 3

Thread: [SOLVED] How to get some detail from contact

  1. #1
    ohm_g7 is offline Senior Member
    Join Date
    Oct 2008
    Location
    Thailand
    Posts
    65
    Rep Power
    6

    Default [SOLVED] How to get some detail from contact

    I want to get phone number from contact
    when I know email account how I get it.
    I want to use command line like this

    #zmmailbox -a [admin@domain.com] -p [password] -m [user@yourdomain.com] s -t contact "in:Contact AND from:name"

    I don't know way I used in and from command than not found anything.
    But If I just used from:name ,it 's work.
    Anyway the out put not show phone number.

    Please tell me I can get this by command line,If I can't how I do for get phone number.
    Thank you for reply.

  2. #2
    ohm_g7 is offline Senior Member
    Join Date
    Oct 2008
    Location
    Thailand
    Posts
    65
    Rep Power
    6

    Default

    I got the solution.

    If I want to find number of user@domain.yourdomain.com
    - Use this command for get contact ID.

    #zmmailbox -a admin@domain.yourdomain.com.com -p password -m user@domain.yourdomain.com s -t contact 'in:"Contacts"' | grep sws@domain

    Note: you need use '" "' if you have space in search.

    you got out put like this

    3. 2fa6c7f0-2047-4e9d-807f-c35f0322c67e:423 cont sws@domain.yourdomain à¸„à¸¸à¸“à ¸¨à¸´à¸§&# 224;¸±à¸’นà&# 185;Œ ศิà¸&# 167;ะบà¸&#1 67;ร 01/01/70 07:00


    This is contact ID --> 2fa6c7f0-2047-4e9d-807f-c35f0322c67e:423
    you need to cut only contact ID and send this to next command

    - use this command for get phone number

    #zmmailbox -a admin@domain.yourdomain.com.com -p password -m user@domain.yourdomain.com getContacts 2fa6c7f0-2047-4e9d-807f-c35f0322c67e:423

    out put is all detail in this contact.
    you need grep command for get only line you want

    Example :
    #zmmailbox -a admin@domain.yourdomain.com.com -p password -m user@domain.yourdomain.com getContacts 2fa6c7f0-2047-4e9d-807f-c35f0322c67e:423 | grep assistantPhone

    out put is :
    assistantPhone: 08-1803-2410

  3. #3
    uxbod's Avatar
    uxbod is offline Moderator
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    24

    Default

    Excellent Thank you for posting your solution.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 12
    Last Post: 06-13-2013, 08:55 AM
  2. Problem with sync Contact groups in Mac Address Book
    By Tomas7799 in forum CalDAV / CardDAV / iSync
    Replies: 3
    Last Post: 11-11-2009, 08:36 AM
  3. Displaying attached messages inline
    By jbwiv in forum Users
    Replies: 2
    Last Post: 10-31-2008, 12:51 AM
  4. Replies: 3
    Last Post: 08-11-2007, 12:40 PM
  5. Outlook Migration Wizard + Contact Groups
    By thegeekiator in forum Migration
    Replies: 4
    Last Post: 07-13-2007, 03:00 PM

Posting Permissions

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