1
flyingtux
Getting the webmail module to work
  • 2004/9/21 17:43

  • flyingtux

  • Not too shy to talk

  • Posts: 146

  • Since: 2004/9/6 1


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!

GENERAL
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:

http://gererstorfer.net/modules/mydownloads/visit.php?lid=73

2.Extract the WebMail2.zip file: you should get a "tree like this":

Webmail
/xvpics
/admin
/attachments
/cache
/images
/language
/english
/german
/sql
/tmp

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:

redirect_header(XOOPS_URL."/admin.php",1,_AM_DBUPDATED);

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:



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.
5.Final touch:
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.

2
DobePhat
Re: Getting the webmail module to work
  • 2004/9/21 19:34

  • DobePhat

  • Friend of XOOPS

  • Posts: 656

  • Since: 2003/4/15


How does this module compare with even news? ie: why would it be better?

3
Kerjin
Re: Getting the webmail module to work
  • 2004/9/21 19:37

  • Kerjin

  • Just popping in

  • Posts: 48

  • Since: 2004/3/10


Quote:

DobePhat wrote:
How does this module compare with even news? ie: why would it be better?


Because this is a Web Interface into your email accounts, and evennnews is a newletter program. Worlds of difference.

I use the sqmail module and find that it works very nicely.

4
DobePhat
Re: Getting the webmail module to work
  • 2004/9/21 19:43

  • DobePhat

  • Friend of XOOPS

  • Posts: 656

  • Since: 2003/4/15


Ah...."doh!"

5
wcrwcr
Re: Getting the webmail module to work
  • 2004/9/21 20:57

  • wcrwcr

  • Home away from home

  • Posts: 1114

  • Since: 2003/12/12


hi

Good news!!

Dear flyingtux, could you send me your fixed version to test?
I never could access the author?s site

I?ll be very happy to test your fixed module and if it?s ok to you I?ll make the translation to my language(portuguese).

wilsoncortez at ig.com.br

Thanks in advance

6
flyingtux
Re: Getting the webmail module to work - Here's the file!
  • 2004/9/21 22:12

  • flyingtux

  • Not too shy to talk

  • Posts: 146

  • Since: 2004/9/6 1


Here is the page of my website where I stored the debugged package:

http://lnx.trashnight.org/modules/mydownloads/viewcat.php?cid=3

For lazy xoopers here is a direct link to the download:

http://lnx.trashnight.org/modules/mydownloads/visit.php?cid=3&lid=13

Have fun!
P.S.1: by using the module I noticed there's (probably) another "redirect bug" which appears when you try to edit an address that you stored in the address book. I'd love suggestions for fixing that.
P.S:2: I would like somebody to create a "real" XOOPS module icon for this module. I have no time yet. I'll probably try, but is somebody is faster than me and would submit it...
Bye!
ft

7
sbkiller
Re: Getting the webmail module to work - Here's the file!
  • 2004/9/21 22:15

  • sbkiller

  • Just can't stay away

  • Posts: 461

  • Since: 2004/6/9 2


Alright, lets give me a try of this module!

8
Bassman
Re: Getting the webmail module to work - Here's the file!
  • 2004/9/21 22:29

  • Bassman

  • Friend of XOOPS

  • Posts: 1272

  • Since: 2003/5/23


i'll make the icon - gimme a few minutes :)

9
Bassman
Re: Getting the webmail module to work - Here's the file!
  • 2004/9/21 22:50

  • Bassman

  • Friend of XOOPS

  • Posts: 1272

  • Since: 2003/5/23


How's this?

Resized Image

10
sbkiller
Re: Getting the webmail module to work - Here's the file!
  • 2004/9/22 1:08

  • sbkiller

  • Just can't stay away

  • Posts: 461

  • Since: 2004/6/9 2


Two thumbs up Bassman! I'm getting it. ... Wasn't it suppose to be in .png format? ... I have to convert it then.

Login

Who's Online

191 user(s) are online (146 user(s) are browsing Support Forums)


Members: 0


Guests: 191


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Jun 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits