Welcome to Geeklog, Anonymous Saturday, December 21 2024 @ 11:24 am EST

Geeklog Forums

New Block - Check your POP3 account for new messages


Status: offline

efarmboy

Forum User
Moderator
Registered: 02/26/02
Posts: 147
Overview This block was developed to check for new messages using the POP3 service. I've checked it using my ISP's email services and against a MS Exchange Service. This module checks for all messages in your inbox NOT only messages that have not been read.

This module is best suited for accounts that you normally pop messages off and don't leave them on the server. A future version may be able to determine messages that only have not been read.

Block Design Notes: This block will maintain separate POP3 account login settings for each registered user. A new table is used to store the user POP3 preferences records and does not use core GL tables. The administration of these properties is provided in the user admin screen of GL and provides an integrated look.

This will require changing the core GL file usersettings.php - for which I have supplied a patch. I have also provided a copy of the modified file (based on the original GL 1.3.5) which you can use to optionally just replace your original file. The patch method is good if you have made previous changes and works like CVS does.

The block is available on my site here

Cheers,
Blaine

 Quote

Status: offline

isol8

Forum User
Regular Poster
Registered: 05/14/02
Posts: 73
Really cool block. Small troubles setting it up, but efarmboy was on IRC and very helpful. Thanks a lot for all the help sir. I definitely appreciate it and love your block.
 Quote

Status: offline

roblinrey

Forum User
Junior
Registered: 05/18/02
Posts: 15
I installed this block, it sees everyone as a guest. Other blocks I have that use userpreferences work fine. What could be the problem?
 Quote

Status: offline

Blaine

Forum User
Moderator
Registered: 07/16/02
Posts: 1232
Location:Canada
Hum ... It definitely looks for $_USER['uid']. Have you setup the pop3 account settings for one of your login id's - under Account Information ? Blaine
Geeklog components by PortalParts -- www.portalparts.com
 Quote

Status: offline

roblinrey

Forum User
Junior
Registered: 05/18/02
Posts: 15
I can not get to that screen all I get is the guest message. "Hello guest, as a registered user you can check for new messages using any POP3 service." How can I get to account Information screen?
 Quote

Status: offline

Blaine

Forum User
Moderator
Registered: 07/16/02
Posts: 1232
Location:Canada
After you sign into GL .. In the User Functions Menu -> Account Information menu item. The same screen where you setup your GL account profile. Blaine
Geeklog components by PortalParts -- www.portalparts.com
 Quote

Status: offline

roblinrey

Forum User
Junior
Registered: 05/18/02
Posts: 15
Ok I did that now I get this message and can not access anything else. Warning: Failed opening 'lib-pop3.php' for inclusion (include_path='') in /home/www/randsfamily/chkMessages/chkMessages.php on line 35 Fatal error: Cannot instantiate non-existent class: pop3_class in /home/www/randsfamily/chkMessages/chkMessages.php on line 46 What can I do
 Quote

Status: offline

Blaine

Forum User
Moderator
Registered: 07/16/02
Posts: 1232
Location:Canada
Ok - that's better. Now have you verified the file lib-pop3.php (part of my distribution) is in the chkMessages directory. And it should be readable by your webserver. The error is very clearly saying that it was not able to open the file (include stmt) and then when if made a call to one of the classes (line 46) it failed. Blaine
Geeklog components by PortalParts -- www.portalparts.com
 Quote

Status: offline

roblinrey

Forum User
Junior
Registered: 05/18/02
Posts: 15
I verified that lib-pop3.php is in the chkMessages folder and is chmod 664. I tried chmod 777 but that didn't help. Still getting the same errors. Am I right in assuming that if lib-pop3 can not be included then the class will not be instantiated so the second error must exist?
 Quote

Status: offline

Blaine

Forum User
Moderator
Registered: 07/16/02
Posts: 1232
Location:Canada
>> Am I right in assuming that if lib-pop3 can not be included then the class will not be instantiated so the second error must exist? This is what I stated in my previous post. Your second error is caused by the first error message. It is not able to open the lib-pop3 file. Fix that and it should work.
Geeklog components by PortalParts -- www.portalparts.com
 Quote

Status: offline

roblinrey

Forum User
Junior
Registered: 05/18/02
Posts: 15
Ok! Any suggestions on how to start the trouble shooting process? It seems that the include statement is correct and the lib-pop3.php is located in the chkMessages folder.
 Quote

Status: offline

keystone

Forum User
Chatty
Registered: 09/21/02
Posts: 50
Hi, Blaine, do you have any more screen shots on what the "message summaries" looks like in the block? The current screenshot only lists msg # and sender. Thanks, Bob
 Quote

Status: offline

Blaine

Forum User
Moderator
Registered: 07/16/02
Posts: 1232
Location:Canada
Bob, This block really only shows who the message is from. I've never refined it to also download the message. Blaine
Geeklog components by PortalParts -- www.portalparts.com
 Quote

Status: offline

keystone

Forum User
Chatty
Registered: 09/21/02
Posts: 50
Thanks, Blaine. That helps me understand what it can do. I'm convinced that GL can be used as a corporate portal and providing visibility to a user's mail is very useful. Best Regards,
 Quote

All times are EST. The time is now 11:24 am.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content