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 9th September 2009, 23:07
Skprorok Skprorok is offline
Member
 
Join Date: Jun 2009
Posts: 56
Thanks: 8
Thanked 0 Times in 0 Posts
Smile How to use API for create Mail users

Can someone tell me step by step how to create mail users throught PHP script?

Thank you
Reply With Quote
Sponsored Links
  #2  
Old 13th September 2009, 13:01
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,974
Thanks: 825
Thanked 5,367 Times in 4,214 Posts
Default

The example files for the remoting client are in the subdirectory remoting_client/examples/ of the ispconfig 3 installer tar.gz file.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
The Following User Says Thank You to till For This Useful Post:
Skprorok (14th September 2009)
  #3  
Old 13th September 2009, 16:12
Skprorok Skprorok is offline
Member
 
Join Date: Jun 2009
Posts: 56
Thanks: 8
Thanked 0 Times in 0 Posts
Default Errors

Quote:
Originally Posted by till View Post
The example files for the remoting client are in the subdirectory remoting_client/examples/ of the ispconfig 3 installer tar.gz file.
When i try to open index.php in /remote/ directory in browser, I get errors
Warning: require_once(../../lib/config.inc.php) [function.require-once]: failed to open stream: No such file or directory in ....

Fatal error: require_once() [function.require]: Failed opening required '../../lib/config.inc.php' (include_path='.:/usr/share/php:/usr/share/pear') in
Reply With Quote
  #4  
Old 13th September 2009, 16:13
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,974
Thanks: 825
Thanked 5,367 Times in 4,214 Posts
Default

The files are in the examples subdirectory.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #5  
Old 13th September 2009, 16:49
Skprorok Skprorok is offline
Member
 
Join Date: Jun 2009
Posts: 56
Thanks: 8
Thanked 0 Times in 0 Posts
Default

i made some changes in remote/index.php and now it is working.

I have another question:
in file /remoting_client/example.php there are lines:
//* Login credentials
$username = 'test';
$password = 'test';



I need to write there login data to my ISPConfig control panel?

Because when I replace "test" with my login data i get error: "SOAP Error: The login failed. Username or password wrong."

in example.php
Reply With Quote
  #6  
Old 14th September 2009, 02:36
bajodel bajodel is offline
Member
 
Join Date: Jul 2007
Location: Italy
Posts: 63
Thanks: 26
Thanked 12 Times in 11 Posts
 
Default

- Log into ISPConfig3 control panel
- Go to System tab
- Look at the bottom -> menu 'Remote Users'


Bye..

bajodel.
Reply With Quote
The Following User Says Thank You to bajodel For This Useful Post:
Skprorok (14th September 2009)
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
Postfix problem and few questions Gimly Installation/Configuration 12 7th July 2009 16:27
Problem with Clamav + samba configuration wammy28 HOWTO-Related Questions 8 31st January 2009 19:12
Virtual Users And Domains With Postfix, Courier And MySQL Radukn HOWTO-Related Questions 14 12th October 2008 17:10
Virtual Users And Domains With Postfix, Courier And MySQL (+ SMTP-AUTH, Quota, SpamAs ebbay Installation/Configuration 9 4th March 2006 11:47


All times are GMT +2. The time now is 13:53.


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