You are missing our premiere tool bar navigation system! Register and use it for FREE!

•  Home •  Downloads •  Gallery •  Your Account •  Forums • 
Readme First
- Readme First! -

Read and follow the rules, otherwise your posts will be closed
· Home
· Buy a Theme
· Advertising
· AvantGo
· Bookmarks
· Columbia
· Community
· Donations
· Downloads
· Feedback
· Forums
· Private Messages
· Search
· Statistics
· Stories Archive
· Submit News
· Surveys
· Theme Gallery
· Top
· Topics
· Your Account
Who's Online
There are currently, 455 guest(s) and 0 member(s) that are online.

You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - Webmail Problem [ ]
 Forum FAQ  •  Search  •   •  Memberlist  •  Usergroups   •  Register  •  Profile •    •  Log in to check your private messages  •  Log in

Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
Author Message
Nuke Soldier
Nuke Soldier

Joined: May 06, 2003
Posts: 21

PostPosted: Wed Dec 31, 2003 11:19 pm Reply with quoteBack to top

Finally a fix for the webmail problem.

Thanks guys for your time and effort.
We appreciate the work.
Find all posts by LazmorphView user's profileSend private messageVisit poster's website
Nuke Soldier
Nuke Soldier

Joined: Feb 27, 2003
Posts: 13

Location: Canada

PostPosted: Fri Jan 02, 2004 6:25 pm Reply with quoteBack to top

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.

Find all posts by DawgView user's profileSend private messageVisit poster's websiteYahoo MessengerMSN MessengerICQ Number
Nuke Soldier
Nuke Soldier

Joined: May 28, 2003
Posts: 22

PostPosted: Fri Jan 16, 2004 10:08 pm Reply with quoteBack to top

dennis wrote:
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/ (full load)

and when i went to check my mail before i got the error message

Error: ad)

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.

Find all posts by ShepView user's profileSend private message

Joined: Dec 01, 2003
Posts: 37

PostPosted: Sun Jan 18, 2004 12:10 pm Reply with quoteBack to top

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.

PHPNuke 6.9
latest php and mysql
win 2003 ser

any suggestions please
Find all posts by Turtle9000View user's profileSend private message
Nuke Cadet
Nuke Cadet

Joined: Dec 18, 2003
Posts: 2

Location: Indonesia

PostPosted: Fri Jan 23, 2004 6:42 am Reply with quoteBack to top

mtalley887 wrote:
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
Find all posts by mihaView user's profileSend private messageYahoo Messenger

Joined: Jan 19, 2004
Posts: 39

PostPosted: Wed Jan 28, 2004 9:27 am Reply with quoteBack to top

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?


Find all posts by AlphaWolfView user's profileSend private messageSend e-mailVisit poster's website
Display posts from previous:      
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
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

Powered by phpBB © 2001, 2005 phpBB Group

Ported by Nuke Cops © 2003
:: FI Theme :: PHP-Nuke theme by coldblooded ( ::
Web site engine's code is Copyright © 2002 by PHP-Nuke. All Rights Reserved. PHP-Nuke is Free Software released under the GNU/GPL license.
Page Generation: 0.219 Seconds - 176 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded ( ::