Results 1 to 3 of 3

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

  1. #1
    Join Date
    Oct 2008
    Rep Power

    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 [] -p [password] -m [] 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
    Join Date
    Oct 2008
    Rep Power


    I got the solution.

    If I want to find number of
    - Use this command for get contact ID.

    #zmmailbox -a -p password -m 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 -p password -m 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 -p password -m getContacts 2fa6c7f0-2047-4e9d-807f-c35f0322c67e:423 | grep assistantPhone

    out put is :
    assistantPhone: 08-1803-2410

  3. #3
    Join Date
    Nov 2006
    Rep Power


    Excellent Thank you for posting your solution.

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, 07: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