Thanks guys for your time and effort.
We appreciate the work.
Dawg Nuke Soldier
Joined: Feb 27, 2003
Fri Jan 02, 2004 6:25 pm
Ok I thought I would just share some interesting facts I found out about Webmail while I was trying to fix a problem that I was having logging in to the mailserver on the Local System.
I was tyring to login to my mail account on the local system and found that I was always getting Auth Errors when trying to connect. I thought that this had something to do with the Mail Server being on the same system as the webserver. Well I was wrong about this, once reading this thread I enabled the Debug variable in the script and found that the password was being munged after 6 Characters.
Is this a known bug? Now it is not a problem on my server as I can set my passwords to any length but I know some servers require atleast 8 character passwords.
Just thought I would pass on my success story for Webmail, so far so good.
Shep Nuke Soldier
Joined: May 28, 2003
Fri Jan 16, 2004 10:08 pm
The problem seems to be in the pop3.php file on line 57 where it says
$result = @fgets($this->connection, 100);
This returns the servers reply as a string with length 100. But if the servers reply is longer than 100 chars then it wont read the whole reply from the server. The remainder of the servers reply will be returned next time that line is executed and then you get the error. So changing line 57 to
$result = @fgets($this->connection, 200);
will most likely solve the problem.
My server replies a string that looks something like this when webmail connects to my mailserver
+OK You have 4 messages totaling 8094 octets from /home2/mysite4/mail/mysite.se/mail/inbox (full load)
and when i went to check my mail before i got the error message
where "ad)" were the last chars of the string thats longer than 100 chars. But that problem was solved by changing 100 to something bigger.
This solved my problem! Thank you so much.
Joined: Dec 01, 2003
Sun Jan 18, 2004 12:10 pm
I have a similar problem I can recieve mail I just cant send it. WhenI do it says it went threw fine but I never get it.
latest php and mysql
win 2003 ser
any suggestions please
miha Nuke Cadet
Joined: Dec 18, 2003
Fri Jan 23, 2004 6:42 am
Author Dennis above has the right idea AND is on the right track.
I was getting a plain Error when opening one of my webmail accounts which had 27 messages in it..but would only display 6 of them and show an error at the top of the list. I changed what Dennis said above and that didn't do it.
I went thru the script and found several more places to change from 100 to 200. Look for '=@fgets($this->connection, 100);' and '=fgets($this->connection, 100);' and change them all to ' =@fgets($this->connection, 200); ' or '=fgets($this->connection, 200);' . This seemed to clear up my problem and hopefully all of the error problems with this module.
Also, at line 27 is a var $DEBUG=0;. Change this to var $DEBUG=1; for troubleshooting the script out. It will list all good and bad results. Remember to change it back to '0' when you are done testing it out.
I've follow the instruction,
but that ain't solve the problem
This what happened when I change line 27 var $DEBUG=1;.
and line 57 as stated above.
Parse error: parse error in /public_html/modules/WebMail/pop3.php on line 100
Fatal error: Cannot instantiate non-existent class: pop3 in /public_html/modules/WebMail/index.php on line 84
Joined: Jan 19, 2004
Wed Jan 28, 2004 9:27 am
I'm lost here...been searching the message boards here for over an hour and seem to find lots of people with WebMail error problems and few with it working right....mine is one that doesnt work right....chuckle...
However, being as I am clues for the clueless, I probably do not have webmail configured correctly under preferences either. None of the docs, including Idiots Guide, guide an idiot thru WHAT each of the settings in the webmail section of preferences do exactly and when to use single account? what default pop3 - if any? How does that affect the account name?
Could someone please elucidate on configuring webmail CORRECTLY under Preferences?
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum