Author |
|
sandippixel Newbie
Joined: 30 September 2015 Location: India
Online Status: Offline Posts: 1
|
Posted: 30 September 2015 at 11:45pm | IP Logged
|
|
|
We are using Webmail Lite v. [7.6.2].
We have integrated Webmail Lite into our Joomla web application and we want to bypass login screen.
To solve this we tried Logging in programmaticall method explained on wiki documents.
But its not working. Kindly guide us.
P.S. We are not pro PHP developers, request you to explain solution in simple steps. :(
|
Back to Top |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6104
|
Posted: 01 October 2015 at 5:29am | IP Logged
|
|
|
First of all, make sure your application has the credentials which allow to log user in, that would be email adress and password of the user. Password needs to be unencrypted, exactly the one user would enter manually to log in. Depending on how your application works, credentials might be stored in PHP session, cookies, environment variables, submitted by GET or POST, etc.
WebMail Lite comes with the integration sample found in examples/login-to-account.php file. You would need to remove the exit line from it and include that file into your application code. Make sure $sEmail and $sPassword are assigned with actual values for the user you log in.
If you still encounter issues, we might be able to help if you provide detailed information as to what exactly is going wrong, what errors you're getting, and so on.
Also note that this isn't the only way to send user credentials in, you can send those via POST or GET requests. The approach is explained in detail here.
Hope this helps!
--
Regards,
Igor, AfterLogic Support
|
Back to Top |
|
|