Here is the procedure I followed for getting this module to work. I decided to share immediately this infos with a community that I really like!
The "WebMail" module is a pop3/IMAP client, based on "Mailbox" by Sivaprasad R.L - http://netlogger.net - and "eMailBox" by Don Grabowski - http://ecomjunk.com - which has been written by Jochen Gererstorfer - http://gererstorfer.net - and released, in its most recent version, on November 21st 2002.
The "WebMail" module lets administors and users manage multiple pop3/IMAP based e-mail accounts, sending and receiving messages, managing contacts with an address book, etc...
FIXING THE MODULE
If you download the module "as is", install it and try to get it work you'll be disappointed: the module doesn't work.
This is due to some minor errors in the php code which could be easily fixed. In this early stage, I fixed the ones
related to main functionalities of the module. There are still some to fix, which appears to be minor.
Here is a step-by-step procedure to fix the module:
1.Download the original module from here:
2.Extract the WebMail2.zip file: you should get a "tree like this":
3.Let's start fixing things:
a)There's a first problem which can be fixed by changing line 40 of admin/index.php to:
b)There is a second problem which seems to appear when using the module in the "Single Account Mode". It is solved by
editing line 146 in /settings.php to:
<form method=post action='settings.php' name=formpost>
c)There is a third problem related to SQL table structure in sql/mysql.sql. According to the original file, passwordhash
is deserved a 20 characters long field. By using rc4encryption, this 20 characters field will allow only 6 characters
passwords. Just change the value from 20 to 30, for example. Here it's your choice, according to you preferences. As example,
my line looks like this:
passwd varchar(30) default NULL,
4.Save all modified files and upload the whole "WebMail" directory in your server.
a)CHMOD 775 /modules/WebMail
b)CHMOD 777 /modules/WebMail/attachments
c)CHMOD 777 /modules/WebMail/cache
d)CHMOD 777 /modules/WebMail/tmp
b)CHMOD 777 /modules/WebMail/cache/config.php
6.Install the module via the Xooops "Admin Menu" and enjoy.