login script for webmail help


I have successfully made a script for siteworx
to provide login without having to go to siteworx
itself. I’m so stumped on the webmail- chris/paul help?

This is what i have so far:

<form action=“https://www.goldendayspa.com:2443/horde/login.php” method=“post”>
Email: <input type=“text” name=“email”>
Password: <input type=“password” name=“password”>
<input type=“submit” name=“submit” value=“Login”>

Thank You


You can also just append “/webmail” to any domain hosted on the box, i.e.:


will redirect you to the webmail login page.


I made the changes and tried it and it doesn’t work. Any ideas? Please help!

<form action=“http://www.goldendayspa.com/webmail” method=“post”>
Email: <input type=“text” name=“email”>
Password: <input type=“password” name=“password”>
<input type=“submit” name=“submit” value=“Login”>

Webmail login


We are not sure what exactly you are trying to do. If you can explain, we may be able to assist you better. The webmail login is otherwise at:


Above, replace your-domain.com with your domain name, and you should be able to see the login screen to login into your e-mail account without having to login into SiteWorx.

Let us know if you have any questions.

Bojan- I dont think you are reading my posts correctly but maybe there is a possibility that the error is mine. I know where/and how to log onto siteworx
and I stated earlier that i have made a script to logon to siteworx without having to go to www.yourdomain.com/siteworx----do you understand me from here? If you do, please read on…

Now i’m trying to mimic the same by making a logon script for webmail ie found www.yourdomain.com/webmail else where on another page. Understood from here??? I’m having trouble getting it to work- thats all i’m asking. If you could look at the script and tell me what i’m doing wrong… I would appreciate it. I’ll include two links, one for siteworx that works and one for email which doesn’t work:


Any solutions why mail.htm wont work?

Looking at the Horde form, you need all of this in yours:

Form action and name:

<form action="/horde/imp/redirect.php" method="post" name="implogin">

Plenty of values needed, only 2 of which you have:

<input type="hidden" name="actionID" value="105" />
<input type="hidden" name="url" value="https://goldendayspa.com:2443/horde/login.php" />
<input type="hidden" name="mailbox" value="INBOX" />
<input type="text" tabindex="1" name="imapuser" value="" />
<input type="password" tabindex="2" name="pass" />
<input type="hidden" name="server" value="localhost" />
<input type="hidden" name="port" value="143" />
<input type="hidden" name="namespace" value="" />
<input type="hidden" name="maildomain" value="" />
<input type="hidden" name="protocol" value="imap/notls" />
<input type="hidden" name="realm" value="" />
<input type="hidden" name="folders" value="INBOX." />
<input type="submit" class="button" name="button" tabindex="4" value="Log in"/>

So is there a way around this? A how-to please???:slight_smile:

Webmail login form


I was not sure what you were trying to do initially. The problem is that you are not posting all of the necessary parameters to Horde to be able to login using your form. As suggested by CMI, try to include those variables in your form and then give it a try. Not sure what you mean “a way around this” or why would you do that.

I think he’s trying to make it so users can log into both (sw and horde) directly from his website without having to go through your login pages at all so they all appear integrated and he can make them look like his site.


The pages can look like anything or be anywhere, so long as all of the necessary parameters are passed. That’s all that matters.

So why not just take the originals and edit them?

Yeah did it already but didn’t work…

Did you edit the paths so that they point to the correct scripts?

yeah i did but to no avail

Hi, this is a bump of an older thread, but I believe I have what you’re look for as well as SiteWorx login forms working fine on the main page of FreeWebsiteHost.net. Feel free to view source and use them for yourself; it’s all HTML and javascript - and note that I seperated the meat of the Horde stuff into a file called hordescripts.js.