Neomail / Horde / Squirrelmail - Webmail script


May 18, 2004

I found a script that let us login to Neomail, Horde or Squirrelmail in any domain we want to. The question is that the URL format works in browsers like Opera but it doesn't with Internet Explorer.
Format example for Neomail login: (https://USERNAME+DOMAIN.COM:[email protected]:2096/neomail/

Do you know what is wrong with it, for not allowing login with IE ?

Here is the script i'm talking about:

<SCRIPT language=javascript>
<!-- Begin
function Login(form) {
var username = form.username.value;
var password = form.password.value;
var server = form.server.value;
var type = form.type.value;
if (username && password && server) {
var httpurl = "https://" + username+ "+" + server + ":" + password + "@" + server + ":2096/" + type;
window.location = httpurl;
else {
alert("Please enter the correct password.\n the username is before the @ in your email address");

<TABLE align=center>
<FORM name=login>
<TABLE cellSpacing=0 cellPadding=3 width="100%" align=center border=0>
<TD align=middle colSpan=2><div align="center" class="main"></div></TD>
<TD align=right>Email:</TD>
<TD><INPUT name=username class="w" maxLength=26> @ <INPUT
name=server> </TD>
<TD align=right>Password:</TD>
<TD><INPUT name=password type=password class="w">
&nbsp;&nbsp; <SELECT
name=type id=type>
<OPTION value=neomail/
selected>NeoMail</OPTION> <OPTION
value=horde/index.php>Horde</OPTION> <OPTION
<TD align=right colSpan=2>
<DIV align=center><INPUT name=button type=button onclick=Login(this.form) value=Login window="new">
<INPUT name=Reset type=reset value=Reset>
Thank you all!

- rodolfo