Posted by on 01 August 2012 12:46 PM
Sometimes you will want to allow users to login to your own portal and you want to allow him/her to view WebMail without any additional logging. You can do that by simply passing the logging credentials in the URL.
The link you can use should look something like this:
Substitute yourIP by the IP address or hostname on which you are running Icewarp Mail Server, port by the Control port (on which the WebMail is running), user and pass by the actual username and password of user.
Below is a sample of the HTML source code of a form which can pass the login & username to the login.html page too. You can place it on your own page and edit it according to your need in any way.
<form name="login" method="post" action="login.html">
<div id="loginimg">Form to logon to IceWarp WebMail</div>
<div class="pad10"><div class="centered"></div>
<span class="longspan">User Name </span>
<INPUT id="log1" TYPE="text" NAME="username" VALUE="" >
<span class="longspan">Password </span>
<INPUT id="log2" TYPE="password" NAME="password" VALUE="">
<div class="centered"><INPUT TYPE="submit" NAME="Login_x" VALUE="Login"
The form was designed as the login.html file and would be in the same folder as the file with this form. Otherwise, you will have to change the path.