vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   vB POP3 / IMAP Email Client 1.4 - Web-based access to POP email accounts (https://vborg.vbsupport.ru/showthread.php?t=50783)

noppid 07-22-2003 07:13 PM

PHP Info shows IMAP on my server yet I get the IMAP function not defined error.

Configure Command '--with-imap'

IMAP c-Client Version 2001
SSL Support enabled
Kerberos Support enabled

Any ideas?

Thanks

EDIT: After playing with it, it throws this error at line 618 when an invalid user name is put in...Is this a bug?

EDIT: After playing some more, we added the @ to the IMAP function calls at line 618 and the error is no longer thrown, the login screen returns as expected.

if ($opt=="POP3") $mbox = @imap_open("{".$host.":110/pop3}".urldecode($folder), $user, $pass);
elseif ($opt=="IMAP") $mbox =@ imap_open("{".$host."}".$folder, $user, $pass);

groovesalad 07-22-2003 11:25 PM

Erwin- You always amaze me with your hacks. Good job! :)

Erwin 07-23-2003 10:10 AM

Quote:

Today at 06:13 AM noppid said this in Post #251
PHP Info shows IMAP on my server yet I get the IMAP function not defined error.

Configure Command '--with-imap'

IMAP c-Client Version 2001
SSL Support enabled
Kerberos Support enabled

Any ideas?

Thanks

EDIT: After playing with it, it throws this error at line 618 when an invalid user name is put in...Is this a bug?

EDIT: After playing some more, we added the @ to the IMAP function calls at line 618 and the error is no longer thrown, the login screen returns as expected.

if ($opt=="POP3") $mbox = @imap_open("{".$host.":110/pop3}".urldecode($folder), $user, $pass);
elseif ($opt=="IMAP") $mbox =@ imap_open("{".$host."}".$folder, $user, $pass);


Good example of how different servers with different setups need minor changes to the code. The code should work with most servers. For some reason that is beyond my skill, some servers have their own idiosyncrasies. Glad to know it works in the end. :)

noppid 07-23-2003 01:03 PM

My members really like this feature on the forum, thanks for the code!

ssabmud 08-16-2003 10:21 PM

Once I logon I get http://www.hostname.org/email.php?CMD=cookie. What do you think the problem is? I tried with pop3 accounts.

MaDCaT75 08-17-2003 03:23 AM

No problems here..... I love it!!!

Erwin 08-17-2003 03:50 AM

Quote:

Today at 09:21 AM ssabmud said this in Post #255
Once I logon I get http://www.hostname.org/email.php?CMD=cookie. What do you think the problem is? I tried with pop3 accounts.
That's what you are meant to get. Make sure cookies are switched on, as the program remembers what you are doing via cookies.

PurpleCow 08-17-2003 03:59 AM

I want to install this ! I uploaded the file email.php an wanted to test it.

I get a fatal error when i try to login to my pop mail account.

I have chosen the POP mail radio button and also given the mail server name in the server field.

I get the following error :

Quote:

Fatal error: Call to undefined function: imap_open() in /*****/**********/*******/path/email.php on line 618
Okay, in the above, i have removed the path and added **** . not to confuse.

Thanks for any help.

Cheers

Erwin 08-17-2003 04:00 AM

You need IMAP compiled with PHP on your server. Read the first post which warns you about this. :)

PurpleCow 08-17-2003 04:03 AM

Thank you ! I'll do that and get back, if i bump into any problems.

Cheers


All times are GMT. The time now is 10:03 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01249 seconds
  • Memory Usage 1,740KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete