| Author |  | 
      
        | fiberghost Newbie
 
  
  
 Joined: 21 December 2015
 Location: Ireland
 Online Status: Offline
 Posts: 1
 | 
          Hi,
           | Posted: 21 December 2015 at 3:38am | IP Logged |   |  
           | 
 |  
 I am using the latest version of afterlgoic webmail lite and it works amazingly, I can login, check emails and logout normally. However I want to use a custom login page to login into the webmail interface bypassing the default login page. I followed the example mentioned on this link: http://www.afterlogic.com/wiki/Logging_in_programmatically_(WebMail_Pro) but it didn't work, each time I login on the custom page, I get redirected to the default page again .. Can you help me with this ? if you need any logs or information let me know ..
 
 Thanks ..
 | 
       
        | Back to Top |     | 
       
       
        |  | 
        | Igor AfterLogic Support
 
  
 
 Joined: 24 June 2008
 Location: United States
 Online Status: Offline
 Posts: 6168
 | 
          First of all, make sure that your application you use the integration from, and WebMail itself, run within the same domain. In the integration code, recheck that correct $sEmail and $sPassword values are sent over.
           | Posted: 21 December 2015 at 3:49am | IP Logged |   |  
           | 
 |  
 Also, you need to verify that this line of code points to the correct starting URL of the installation:
 
 
 
 You can supply full installation URL or the relative one, it works with either way.
 
 There is one more option for sending login details from custom login page - that can be done via POST or GET:
 
 Sending login credentials via POST
 
 --
 Regards,
 Igor, AfterLogic Support
 | 
       
        | Back to Top |     | 
       
       
        |  |