Jump to content

Recommended Posts

Posted

Hi,

 

Since my network blocked port 2095 I need to use SquirrelMail to check my mail.

 

I try the embedded login code on:

http://www.totalchoicehosting.com/help/id98.htm

 

But it's not working, can someone help tell me which part of that code need to be change and to what. Thanks.

 

Code:

<head>

<script language="JavaScript" type="text/javascript">

<!--

function squirrelmail_loginpage_onload() {

document.forms[0].js_autodetect_results.value = '1';

}

// -->

</script>

</head>

 

<form method="post" action="http://your.host.com/mail/src/redirect.php">

<input type="hidden" name="js_autodetect_results" value="0">

User: <input type="text" name="login_username" size="10">

Password: <input type="password" name="secretkey" size="10">

<input type="submit" value="Login">

</form>

Posted

Thansk for helping Robert

 

But it's still not working. I am putting the embedded login on one of my subdomain

 

http://webmail.subdomain.com

 

Should that be a problem?

 

Furthermore, I have notices that there is no "mail" directory under my "public_html" directory, which I think this link goes to:

 

http://www.totalchoicehosting.com/mail/src/redirect.php

 

The "mail" directory is at the same level with "public_html" directory, is it suppose to be like that?

Posted (edited)

Wow.. I wonder how mine works without the sq...

 

Maybe it does... I'l have to take a look.

 

{Edit}

 

Mine shows sqmail/

 

Maybe I messed it up.

Edited by TCH-Robert
Posted

Rather than making a new topic for this, I am going to just post it in here to save space.

 

I have my sqmail embedded into my site, but when I try to login the Login Box for like going to "http://****/webmail" pops up after I click login.

 

But when I login the script gives me this error:

 

ERROR

Unknown user or password incorrect.

Go to the login page

 

But when I click the "Go to the login page" it works fine, and when my friends go to their accounts using the script, they said it works fine for them.

 

My Script looks like this:

 

<form method="post" action="http://www.tinywizard.net:2095/3rdparty/squirrelmail/src/redirect.php">

 

<input type="hidden" name="js_autodetect_results" value="0">

 

User: <input type="text" name="login_username" size="10">

 

Password: <input type="password" name="secretkey" size="10">

 

<input type="submit" value="Login">

 

</form>

 

I have taken the Javascript coding off, and it still works without it. But it seems as though I am the only one getting this error.

 

Any suggestions as to what I am doing wrong, and how to fix it, would be a huge help.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...