Announcement

Collapse
No announcement yet.

How to set to user more than one alias?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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
    Download following APS package. Unpack and check the PHP scripts. They also had some problems with it and hacked some workaround in PHP.


    The leading platform to effortlessly scale and optimize your subscription business. Unlock new revenue streams and monetize with CloudBlue.

    Comment

    Working...
    X