API mail_user_update and problem with $client_id

Discussion in 'General' started by mikolaj_koziej, May 21, 2018.

  1. mikolaj_koziej

    mikolaj_koziej New Member

    I have a problem with the API
    I would like to change one field for all mailboxes.
    In the loop, I get the mailbox using mail_user_get, change one field and use the mail_user_update method.

    I have a problem because method mail_user_update needs:
    ($session_id, $client_id, $primary_id, $params)

    Where should I get $client_id? The mail_user_get method does not return this value. Is it necessary to update? Can I set 0 for this variable?
    Thanks for the help
     

Share This Page