View Full Version : vB POP3 / IMAP Email Client 1.4 - Web-based access to POP email accounts
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
Today at 06:13 AM noppid said this in Post #251 (https://vborg.vbsupport.ru/showthread.php?postid=419802#post419802)
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
Today at 09:21 AM ssabmud said this in Post #255 (https://vborg.vbsupport.ru/showthread.php?postid=426471#post426471)
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 :
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
PurpleCow
08-17-2003, 09:30 AM
Is there any difference between just having IMAP functionality on my server and Compiling IMAP with PHP ??
B'cos, i already have IMAP working, but if compiling IMAP with PHP is whats required, I'll have to do it !
Thanks much
ssabmud
08-17-2003, 06:21 PM
Erwin,
Look at my link and see if it works for you. http://www.ssabmud.org/email.php I cant get it to work for me and I believe I have cookies enabled. Correct me if I'm wrong. Thanks in advance.
Erwin
08-18-2003, 01:47 AM
PHP needs IMAP compiled.
ssabmud
08-18-2003, 05:20 AM
Today at 07:47 PM Erwin said this in Post #263 (https://vborg.vbsupport.ru/showthread.php?postid=426724#post426724)
PHP needs IMAP compiled.
Or was it intended for someone else? Do I need to have my webmaster compile IMAP? Is that why its is a white screen and goes nowhere? Thanks again.
ssabmud
08-19-2003, 04:24 PM
^^^
Erwin
08-19-2003, 11:39 PM
08-18-03 at 04:20 PM ssabmud said this in Post #264 (https://vborg.vbsupport.ru/showthread.php?postid=426761#post426761)
Or was it intended for someone else? Do I need to have my webmaster compile IMAP? Is that why its is a white screen and goes nowhere? Thanks again.
Unless you have a dedicated server, your host needs to recompile PHP. The white screen is a different issue. Read this thread for help with that.
ssabmud
08-20-2003, 01:21 AM
Today at 05:39 PM Erwin said this in Post #266 (https://vborg.vbsupport.ru/showthread.php?postid=427226#post427226)
The white screen is a different issue. Read this thread for help with that.
Erwin,
I searched and read this whole thread and really don't see anything that would help me. You said to clear cookies and thats about all I found. Hate to sound lost but I am. LOL
K33nny
08-21-2003, 08:01 PM
Erwin,
Is there anyway you can make this hack based around templates for the main parts of it like the login, the inbox, viewing of emails, attachments, and so forth? I would like to alter the look but editing the PHP file is a pain.
Erwin
08-21-2003, 08:23 PM
I purposely made the templates integrated in the PHP file so this hack is easy to use with a single file upload.
Feel free to modify it to use templates.
K33nny
08-22-2003, 03:13 AM
I was hoping you would make a template version, but if I must I shall try. :(
ssabmud
09-01-2003, 10:59 PM
08-19-03 at 05:39 PM Erwin said this in Post #266 (https://vborg.vbsupport.ru/showthread.php?postid=427226#post427226)
Unless you have a dedicated server, your host needs to recompile PHP. The white screen is a different issue. Read this thread for help with that.
Erwin, I still can't find the answer and I have read the entire thread. I would like to have this hack but if not I guess I will just uninstall it. Thanks for your help.
Parker Clack
09-11-2003, 01:39 PM
Erwin:
Great hack. I am playing around with the layout some but I have found that the emails that I get are listed twice. In other words if I get an email and I go to read it the email comes up and then repeats itself in the same listing.
Any ideas?
Parker
Ian Cunningham
09-16-2003, 11:16 AM
I am still getting problems with this script... I just get sent to a "cannot find server" page once I click submit... it is not a IMAP problem, as it is all set up correctly.
Is there any other way to log in? i.e running:
email.php?user=username&host=mail.domain.co.uk&pass=1234&opt=POP3&submit=Login
Please help :)
ceedee
09-29-2003, 07:46 PM
I get a "page not found" error too when clicking the login button.
Weird thing is, when I went to bed last night it worked, when I woke up a few hours later, it didn't work. Absolutely NOTHING changed that I have any control over.
Is anyone any closer to finding a solution (or even a cause) for this?
Cheers,
Chris
MrNase
10-02-2003, 05:51 PM
thanks for this hack :)
IE is showing a blank page but firebird does it without a problem :)
Erwin
10-03-2003, 02:18 AM
Sorry, but if there are problems, I cannot do much about them, since this hack is very server dependent, and I cannot debug the hack since it is possible that this hack can only work for certain servers. When it does work, it works well. :)
MrNase
10-03-2003, 10:45 AM
yeah but why does it work with firebird and not with ie ?
Erwin
01-11-2004, 11:00 AM
Well I guess I am one of the unlucky ones. Because I put it in my forum directory and now I get the same error as the others.
==========
Fatal error: Call to undefined function: imap_open() in /home/inreview/www/email.php on line 601
Read the first post: You need PHP compiled with the IMAP module for this hack to work
Erwin
01-11-2004, 11:02 AM
yeah but why does it work with firebird and not with ie ?
It works with IE for me.
Zaeolos
01-21-2004, 03:29 AM
Well I still cannot get past the browser error.....I must be missing something somewhere.
Kohhal
03-23-2004, 12:17 PM
Do you plan to port this to vB3 or do you know of another similiar hack for vB3?
Datenpapst
03-29-2004, 05:56 AM
Does this hack also work for VB 3.0.0 Gold?
I uploaded the file and tried it:
Fatal error: Call to undefined function: gettemplate() in /www/htdocs/v104530/vbulletin/email.php on line 91 :speechless:
deathemperor
04-07-2004, 04:02 AM
Erwin, do you have enough time to finish vb3 version ? you've released the beta 1 for vb3 but why it's deleted....
I'm eager to let my users read mail from my forum. That's incredible.
Erwin
04-07-2004, 04:51 AM
I'm working on a vB3 version, but it's on hold as I am busy with other things. I took the beta version out as it was not working.
deathemperor
04-07-2004, 03:02 PM
Ok. that satisfied me well enough just to know you are working on it Erwin. I believe you will make it soon.
I'm looking forward to it.
thanks you sir.
Just piping in to say that I tried installing this on vb3 and got the same error message as Datenpapst (undefined function -- gettemplate.) I was wondering if there's been any update on the vb3 version. This looks like a great hack.
Erwin, I'm a programmer -- if you need a hand, please let me know. I'd be more than happy to help out.
r6xual
06-13-2004, 10:14 PM
**edited for realizing this is the wrong version :rolleyes: **
Cant wait for the Vb3 version.
attroll
06-14-2004, 02:30 AM
I get the same error. I guess I need to wait for new version that works with VB3. So for now I will have to click on Uninstall. I will install when the new version comes out that works with VB3.
Erwin
06-17-2004, 12:30 PM
vB3 version finally here:
https://vborg.vbsupport.ru/showthread.php?t=66247 (https://vborg.vbsupport.ru/showthread.php?t=66247)
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.