Squirrel mail remote login How?

Nexxterra.com

Verified User
Joined
Apr 22, 2006
Messages
212
Location
Miami Beach
I have a client that wants to place a login box for squirrel mail on one of his pages, this should be simple and I can figure it out, but if someone has this already, I would love the HTML for it.
Email on same domain/same server
Thanks
Paul
 
Go to the squirrelmail page and view the source code. Copy the form information to the page he wants the login box to appear.
 
I guess this should do it:
Code:
<form action="http://www.domain.example/squirrelmail/src/redirect.php" method="post">
        Email: <input type="text" name="login_username" onblur="if (this.value.search(/[email protected]$/i) == -1) this.value=this.value+'@domain.example';" />
        Password: <input type="password" name="secretkey" />
        <input type="submit" value="Login" />
</form>

Just replace all three occurences of domain.example with the correct domain.
 
Worked great, Thanks

Thanks for your replies, Tillos code worked just fine.
I looked at the source fron the page but there was no clear url info, I think that it was somewhere on the page, I was just too lazy to play...or think!
 
Back
Top