> > I also found that I wanted to have this functionality. Since I know
> > a bit about web stuff, I added a JavaScript function to the "mailbox
> > summary" page to switch to the main mailbox page when the user logs
> > on. It wasn't too difficult to do.
> Really.... How did you do that? Sounds like a cool function to me..
On the MENU.HTML (which you go to directly after the logon page), in the <SCRIPT>
section at the top of the page, I added:
if ( ( document.referrer.indexOf( "8383" ) == document.referrer.length - 5 ) ||
( document.referrer.indexOf( "8383/login." ) > -1 ) )
{
document.location.href =
'readmail.<!--IMAIL.Number-->.cgi?uid=<!--IMAIL.UserID-->&mbx=Main';
}
It looks at the page the user just came from (document.referrer) to see if they came
from the logon page; if so, it redirects them to the main mailbox. If you use a
different port, or do something other than have the user log on through the IMail
logon page, it may need to be changed a bit.
-Scott
Please visit http://www.ipswitch.com/support/mailing-lists.html
to be removed from this list.