Jump to content

Recommended Posts

Posted

it's great that both neomail and horde are offered, but i would like to use only neomail. is there a way i can set this as a default so that my webmail users don't have to continually select neomail when they access webmail?

Posted

Before settling on NeoMail, take a look at SquirrelMail, which has recently been added to all TCH servers and websites. Simply point your browser to www.yoursite.com/sqmail

 

Click here to learn more about SuirrelMail and TCH, and even how to provide an embedded login prompt from within your web page.

 

Also, take a look here for some ideas about a direct link to Horde or NeoMail

 

Also, take a look here for a sample Javascript to interface directly to Horde. Perhaps you could modify it to do something similar to NeoMail.

 

-kw

Posted

Here's another possibility. Several months ago HG put together a little script to automate the log-on to webmail and KW did a little editting on it as well. It was designed to log into Horde. I put it up on a site I help with to make webmail a little easier for the staff and editted it further to make it match the website's look.

 

I played with the basic script tonight and changed it to log into NeoMail instead of Horde. One nice feature is that if kim@****** has an account she can log in using kim for the username and not kim@******. The script adds the @yourdomain for you. Note that this means you can't use the script to log into the main account, just the ones you create, but that should be no problem. I put it into a subdomain called webmail so they can access it by typing webmail.******.

 

All you really have to edit in the script is ******. KW has a link on the Help Pages under Webmail to an example of how he customized the old script to give you an idea of how it could work.

 

<script language="javascript">

function Login(form) {

var username = form.username.value

var password = form.password.value

var server = form.server.value

if (username && password && server) {

var neomail = "http://" + username +"+"+server+ ":" + password + "@" + server + ":2095/" + "neomail/neomail.pl"

window.status='WebMail'

window.location = neomail

 

}

else {

alert("Please fill the username and the password")

}

}

</script>

 

<form name=login>

<table border=0 cellpadding=1 align="center" width="430">

 

<tr><td align=center>

<font color="#000000" face="Verdana, Arial, Helvetica, sans-serif">

<h1><b>WebMail Login</b></h1>

 

<!-- Replace the ****** in the next line with, well, you know. -->

 

<input type="hidden" value="******" name="server" maxlength="30" size="15">

</font></td></tr>

 

<tr><td align=center>

<h2>User:  

<input type=text name=username size=15 maxlength="30">

</h2></td></tr>

 

<tr><td align=center>

<h2>Password:  

<input type=password name=password size=20>

</h2></td></tr>

 

<tr><td align=center>

<input type=button value="Login" onClick="Login(this.form)" name="button">

</td></tr>

 

</table>

</form>

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...