| Author |  | 
      
        | lourens Newbie
 
  
  
 Joined: 06 February 2016
 Location: South Africa
 Online Status: Offline
 Posts: 2
 | 
          
           | Posted: 09 February 2016 at 12:29am | IP Logged |   |  
           | 
 |  It seems like I am missing something for the new user registration.
 
 Do I only set the setting to On in the settings.xml
 
 <AllowNewUsersRegister>On</AllowNewUsersRegister>
 
 or is there another settings that I miss.
 
 Thank you
 | 
       
        | Back to Top |     | 
       
       
        |  | 
        | Igor AfterLogic Support
 
  
 
 Joined: 24 June 2008
 Location: United States
 Online Status: Offline
 Posts: 6168
 | 
          That's actually the only option in WebMail Lite which allows for creating new accounts. It's important to understand that this is only about setting up account in WebMail, as the email account has to exist on mail server already. So as long as you enter correct email and password, and that option is set to On, user account will automatically be created in WebMail on first login.
           | Posted: 09 February 2016 at 2:03am | IP Logged |   |  
           | 
 |  
 --
 Regards,
 Igor, AfterLogic Support
 | 
       
        | Back to Top |     | 
       
       
        |  | 
        | lourens Newbie
 
  
  
 Joined: 06 February 2016
 Location: South Africa
 Online Status: Offline
 Posts: 2
 | 
          @Igor
           | Posted: 11 February 2016 at 11:54am | IP Logged |   |  
           | 
 |  
 Thank you for the reply.
 
 @All
 
 Is there anyone that can give me some direction in how to use the existing script to register a user.
 
 I will activate the Register link - see image
 
 
   
 when the user click the Register link the user see this form
 
 
   
 When a new user complete the form and submit it, the info is used to verify that the email and user name is not yet in use and that it is a valid account, then create the cPanel email account and then log the user into the newly create account.
 
 
 I have a basic idea what I need to do, I just would like to know how/where to add my code to the existing script to accomplish this task.
 
 Below is an example that I already use to register a user cpanel
 
 
 $f = fopen ("http://$cuser:$cpass@$cdomain:2082/frontend/$cskin/mail/doaddpop.html?email=$uname&domain=$cdomain&password=$epass"a=$cquota", "r");
 if (!$f) {
 ?>
 // Will have verification here
 <?php
 break;
 }
 
 if(mysql_query("INSERT INTO users(user_name,user_email,user_pass,user_status) VALUES('$uname','$email','$upass','0')"))
 {
 
 //header("Location: .........log the user into new account");
 
 }
 else
 {
 ?>
 // Will catch exceptions here
 <?php
 }
 }
 else{
 ?>
 // Notify if user or email exist
 <?php
 }
 
 | 
       
        | Back to Top |     | 
       
       
        |  | 
        | Igor AfterLogic Support
 
  
 
 Joined: 24 June 2008
 Location: United States
 Online Status: Offline
 Posts: 6168
 | 
          If you might be interested in requesting assistance from our developers, that can be arranged in terms of Professional Services contract, please let us know.
           | Posted: 12 February 2016 at 2:12am | IP Logged |   |  
           | 
 |  
 --
 Regards,
 Igor, AfterLogic Support
 | 
       
        | Back to Top |     | 
       
       
        |  | 
        | hackman Newbie
 
  
  
 Joined: 22 October 2015
 Online Status: Offline
 Posts: 4
 | 
          i have been using Afterlogic Webmail Lite for some time now, done several installations successfully but today i see something different after install.  When i launch the webmail Lite, i get this error,
           | Posted: 16 February 2016 at 9:24am | IP Logged |   |  
           | 
 |  
 " Forbidden
 
 You don't have permission to access /w/index.php on this server.
 
 Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. "
 
 "w" is the folder where i have installed.
 
 Advise what could be the problem please, i have done it just like i do before. Infact i have a video from youtube, a very elaborate one.
 
 
 | 
       
        | Back to Top |     | 
       
       
        |  | 
        | Igor AfterLogic Support
 
  
 
 Joined: 24 June 2008
 Location: United States
 Online Status: Offline
 Posts: 6168
 | 
          That error is something caused by web server configuration, not by WebMail. We recommend checking Apache error logs.
           | Posted: 17 February 2016 at 2:12am | IP Logged |   |  
           | 
 |  
 --
 Regards,
 Igor, AfterLogic Support
 | 
       
        | Back to Top |     | 
       
       
        |  |