Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 21st January 2011, 14:15
cusaro cusaro is offline
Junior Member
 
Join Date: Dec 2010
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default change email password with remote interface

hello,

how can i change the password from a mailbox with the remote interface?

i try:

$params = array('password' => 'test1234');
$mailuser_id = id of the mailbox
$client_id = id of the client

$client->mail_user_update($session_id, $client_id, $mailuser_id , $params);

and nothing happens, no error, no password change.


everything else works fine with the remote interface.


thank you
cusaro
Reply With Quote
Sponsored Links
  #2  
Old 21st January 2011, 14:24
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,011
Thanks: 826
Thanked 5,379 Times in 4,226 Posts
Default

Please provide all parameters in the $params array and not just the password. The best way is to use the mail_user_get function to get the current settings, then change the password in the array and pass the $params array back to the update function.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 23rd January 2011, 12:09
cusaro cusaro is offline
Junior Member
 
Join Date: Dec 2010
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

Thanks working fine now.

cusaro
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Issues with Change SQL Password plugin for Squirrel Mail on Centos 5.4 and ISPConfig3 centosarus Installation/Configuration 6 4th May 2010 15:59
MYSQL- Password change and now error in ispconfig happz Installation/Configuration 1 17th April 2010 01:47
IPtables rule to let PPTP access LAN brianwebb01 Installation/Configuration 0 1st May 2008 21:23
How to change ISPCONFIG email address mnzava General 1 23rd January 2008 15:00
How to install BFD (Brute Force Detection) domino Tips/Tricks/Mods 9 31st March 2006 22:40


All times are GMT +2. The time now is 14:11.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.