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

  • kaotik

  • Just can't stay away

  • Posts: 861

  • Since: 2004/2/19


I've been tring to figure out why it's not working for me and here's what I've got so far:

- I'm running this on my localhost, so chmod is not an issue. I also tried this on a remote server, the end result is the same.
- I've tested this with 2 diferent POP3 servers, 1 works partially the other doesn't.
- The process fails during the STAT command during the TRANSACTION fase. Since it can't do a STAT, the rest fails. If I comment out line 146 of pop3.php the module works but only returns empty folders.
- I've also tried APOP set to 0 and 1. The end result is the same.
- I'm guessing that something's happening in the function Stats that's not quite kosher with my POP3 servers.
Has anyone else encountered this?

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

  • jmass

  • Friend of XOOPS

  • Posts: 524

  • Since: 2003/12/18


I also am testing this on my local host. I can not check my pop3 server either. I have not done any digging, but I can not even set up a account. I fill out the form, hit submit, and it returns me to the set up account screen with no account set up.

A quick look at the db table popsettings shows no entries!

BTW - You should put a wm_ or something like that in front of your table name. In the interest of DBA sanity.

JMass

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

  • flyingtux

  • Not too shy to talk

  • Posts: 146

  • Since: 2004/9/6 1


Being not a programming guru, I'll try to understand where and how to fix missing things. In the meanwhile, I would like to send to the whole community a kind of "call for patches": fi anybody discovers a bug and know how to fix it, just share this info with the community! Just send it to me, if you like that: I promise to test it and add it to the package. You all could use me as a "patch collector", if you like this.
Concerning other things:
1.The POP3/IMAP support was "promised" in the original file: as I said before, I did really minor changes to that. I actually really don't know if IMAP is supported or not;
2.Some people got it working some not. If it could be helpful in some way, let's say that I'm using it successfully with some italian free mail providers, i.e. email.it. These are their parameters:

POP Server popmail.email.it
SMTP Server smtp.email.it
IMAP Server imapmail.email.it
Account Name Form username@email.it

Bye!
ft

24
kaotik
Re: Getting the webmail module to work - Here's the file!
  • 2004/9/22 22:43

  • kaotik

  • Just can't stay away

  • Posts: 861

  • Since: 2004/2/19


can you plz turn on debug and show me so I can see the steps your webmail is doing. To turn on Debug go to pop3.php and on line 35 set var $DEBUG=1;
Right now mine does this:
Openning Connection to: mail.newserver.com
Connection opened
Sending Command: USER xxxxxx
Result OK:
Sending Command: PASS xxxxx
Result OK:
Sending Command: STAT

It hangs on STAT.

25
flyingtux
Re: Getting the webmail module to work - Here's the file!
  • 2004/9/22 23:10

  • flyingtux

  • Not too shy to talk

  • Posts: 146

  • Since: 2004/9/6 1


Ok...
Some notes, first:
1.Please download the latest version of the package: I just uploaded it. It contains a changelog, a new readme file and all newest versions of file. I sugest this because otherwise, for the changes I made, there's no correspondance between our "code-lines";
2.IMAP seems to be completely broken or not existing at all. I deleted it from the readme file. Let us focus now on POP3;
3.Here is my output, based on trashnight.org mail service:
Openning Connection to: pop3.trashnight.org
Connection opened
Sending Command: USER xxxxxxxx@trashnight.org
Result OK:
Sending Command: PASS xxxxxxxx
Result OK:
Sending Command: STAT
Result OK:
Hope this helps!
I'll stay tuned: next thing I'll do is trying to add a prefix to tables, for db sanity, as suggested few posts ago.

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

  • Bassman

  • Friend of XOOPS

  • Posts: 1272

  • Since: 2003/5/23


I know this is slightly off-topic, but i'm not trying to hijack your thread, honest :)
As I said before, I modularised the Zen Webmail script, but I can't get it to connect to my mail server. I don't know if it's something to do with permissions, or my lack of knowledge of mail servers, but I would like to know why it doesn't work. I can see there's some people in this thread who are smarter than me (not difficult LOL)so hopefully someone can have a look at it and get it working. Zen Webmail supposedly supports IMAP.
You can download it from here if you're interested.

27
flyingtux
Re: Getting the webmail module to work - Here's the file!
  • 2004/9/22 23:40

  • flyingtux

  • Not too shy to talk

  • Posts: 146

  • Since: 2004/9/6 1


This is the last for tonight, then I go sleeping.
I changed the mysql.sql instructions and all related files. Sql tables have now a wmfx_ prefix.
I uninstalled my previous version and installed this new one. it seems to work.
I updated the changelog file.
I uploaded this latest version: you'll find it to the usual place.
Happy testing/debugging!
Good night!
ft

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

  • Bassman

  • Friend of XOOPS

  • Posts: 1272

  • Since: 2003/5/23


oh,
i forgot to mention:
To set up the mail settings, edit the config/config.php file with your mail server settings. It's commented where changes need to be made.

29
kaotik
Re: Getting the webmail module to work - Here's the file!
  • 2004/9/23 1:32

  • kaotik

  • Just can't stay away

  • Posts: 861

  • Since: 2004/2/19


Fixed it!!!!!!! Aleluila, Praise the Lord!!!! Long live Google: Search and Thou Shall Find!
I found it Here

Copy 'from class POP3{' forward and paste over in pop3.php

...now must sleep

30
flyingtux
Re: Getting the webmail module to work - Here's the file!
  • 2004/9/23 6:48

  • flyingtux

  • Not too shy to talk

  • Posts: 146

  • Since: 2004/9/6 1


Could you post your "updated" file so that I'll include it in the package?

Login

Who's Online

156 user(s) are online (99 user(s) are browsing Support Forums)


Members: 0


Guests: 156


more...

Donat-O-Meter

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

Latest GitHub Commits