Homepage | Products | OX Knowledge Base | Support | Try Now | Contact | Company
OX Logo
Results 1 to 2 of 2
  1. #1
    dawilk Guest

    Default How to set to user more than one alias?

    Hi,

    when I call from PHP user change (http://software.open-xchange.com/OX6...Credentials%29) with this user data:

    Code:
    object(stdClass)#12 (2) {
      ["name"]=>
      string(17) "test1@example.com"
      ["aliases"]=>
      string(17) "test2@example.com"
    }
    there is no error, when I want to set more then one alias, user data:

    Code:
    object(stdClass)#12 (2) {
      ["name"]=>
      string(17) "test1@example.com"
      ["aliases"]=>
      array(2) {
        [0]=>
        string(17) "test1@example.com"
        [1]=>
        string(17) "test2@example.com"
      }
    }
    I receive SoapFault: Invalid email address. How can I set more then one alias? Other commands, which data attributes can by array also return error or set NULL (ex. change context with more than one value in array loginMappings, then it's set to string, works correct; mayby that's why we have special command guiPreferencesForSoap, but what with others?). So how can I send commands which data has array attrributes fom PHP?

    Best regards.
    David

  2. #2
    Join Date
    Feb 2007
    Posts
    41

    Default

    Download following APS package. Unpack and check the PHP scripts. They also had some problems with it and hacked some workaround in PHP.


    http://www.apsstandard.org/app/#pkg_...18.1&pkg_rel=2

Tags for this Thread

Bookmarks

Posting Permissions

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