View Full Version : vB POP3 / IMAP Email Client 1.4 - Web-based access to POP email accounts
Erwin
03-24-2003, 10:00 PM
vB POP3 / IMAP Email Client 1.4 - by Dr. Erwin Loh
vB3 version here:
https://vborg.vbsupport.ru/showthread.php?t=66247
World's easiest hack to install! Upload a file, and you're done! No templates to add, no files to edit!!! :cool:
Ever wanted to access your POP3 or IMAP email account when you are away from your Outlook Express? Sick of Hotmail and free web-based email addresses, and want to just stick with your ISP email account? Want to be able to use a web-based interface? Want to be able to integrate this interface into your forums and offer it to your members?
Here we have it - I've created a file that does all that.
Features:
1. Only 1 file to upload, no templates, no file edits!
2. Automatic integration into your forums, with your forum colors and layout.
3. Accesses any POP3 or IMAP email account.
4. Ability to bypass any firewalls that any mail servers may have.
5. Ability to READ, REPLY, REPLY ALL, DELETE, FORWARD, and COMPOSE emails using the interface.
6. Ability to read HTML emails.
7. Ability to ATTACH files.
8. Ability to VIEW / DOWNLOAD ATTACHMENTS.
9. Ability to show HEADERS of emails.
10. Ability to allow certain usergroups access to this.
11. Ability to allow or disallow users from changing their FROM: email address
12. Ability to let yourself change the FROM: email address at at all times.
13. Your user can use this to access their ISP email account, or (Yahoo email or Hotmail premium accounts) via your forums!
Installation:
Upload email.php into your forums directory, link to it, and you've got an instant web-based POP3/ IMAP email interface in your forums!
Nothing else to do!
By default, this allows registered members, moderators and admins access only. You can edit the top of email.php to add or remove usergroupids easily.
Settings:
At the top of the PHP file, you can change the variables to:
1. Decide which usergroups can use this
2. Allow or disallow the changing of the FROM: email address (security update)
3. Exempt yourself so you can always change the FROM: email address
Requirements:
1) This hack requires PHP 4 or higher on your server.
2) This hack requires you to have IMAP support compiled with PHP on your server. If you get a error like "imap_open undefined function", then you dont have IMAP support. Sorry!
Please click the install link at the bottom of this thread for updates.
Enjoy! :)
Add-On (OPTIONAL) - Username and Mail Server saved in Member Profile:
To make the Username and Password become part of a member's profile (I don't suggest to include password as well as staff can then have access to this), just create 2 custom profile fields in your Admin CP - one for Username, the other for Mail Host Server. Make sure they do not show up in the user's profile.
Then, note down the custom profile ID number of each of the 2 custom profile fields (hover your mouse over the link to each, and it's the number at the very end of the URL in the status bar).
Then, in email.php, find:
if ($CMD=="")
{
if (!$session_server)
{
Underneath, add:
$user = $bbuserinfo[fieldx];
$host = $bbuserinfo[fieldy];
Change x to the ID number of the username profile ID, and y to the ID number of the host mail server profile ID. Done!
Updates
Version 1.1 - Fixed <td> errors. Fixed error where message did not show when attachment present.
Version 1.2 - Security update - Added settings at the top of the PHP file that you can change to allow or disallow users from changing their FROM: email address. You can exempt yourself and always be able to change your own FROM: email address by modifying the userid here as well.
Version 1.3 - Fixed header text colors - Minor cosmetic improvements - Fixed Attachment Viewer and Downloader!!!
Version 1.4 - Fixed PHP header and cookie problem for certain servers that prevented login.
Screenshots:
https://vborg.vbsupport.ru/external/2008/01/12.gif Attachment: email.jpg (https://vborg.vbsupport.ru/attachment.php?s=&postid=372845)
Courtesy of irn-bru.
Download:
When downloading, make sure it's the latest version - 1.4 (it will say this at the top of the PHP file).
Kars10
03-25-2003, 05:28 AM
Installed! :)
Thank you for sharing this
Kars
Koutaru
03-25-2003, 05:28 AM
This sounds great :) I am definately going to install it in the morning when it's not 1 am ;) I'm going to bed soon
Though, I would love screen shots, this is so easy to install and uninstall so it's not a big deal
Very nice!
*EDIT
Decided to upload anyway XD took about a second!
Worked perfectly! Very very nice!
:cool:
Kevorkian
03-25-2003, 05:34 AM
ohohohohohoh really good idea! ^_^
/me click install
partang2
03-25-2003, 05:38 AM
Installed, Thanks!
irn-bru
03-25-2003, 06:05 AM
thanks *installed*
Screenshot
GoTTi
03-25-2003, 06:14 AM
when i put this on, and i put the info in, i got error 404
http://www.SITE.com/email.php?CMD=cookie
The page cannot be found
The page you are looking for might have been removed, had its name changed, or is temporarily unavailable.
Spike05
03-25-2003, 06:17 AM
Today at 08:14 AM Da_GoTTi said this in Post #7 (https://vborg.vbsupport.ru/showthread.php?postid=372847#post372847)
when i put this on, and i put the info in, i got error 404
http://www.SITE.com/email.php?CMD=cookie
The page cannot be found
The page you are looking for might have been removed, had its name changed, or is temporarily unavailable.
I have the same problem! I have also installed vbportal!
cu
Jochen
Edgemyster
03-25-2003, 06:27 AM
I get an error as well - but not quite the same thing. Instead, if I pick POP3 and put anything or nothing in the other fields, I get this error:
------
Fatal error: Call to undefined function: imap_open() in /xxxx/xxxx/xxxx/email.php on line 601
-----
Line 601 is:
if ($opt=="POP3") $mbox = imap_open("{".$host.":110/pop3}".urldecode($folder), $user, $pass);
If I choose IMAP, it comes up with the same error for 602:
elseif ($opt=="IMAP") $mbox = imap_open("{".$host."}".$folder, $user, $pass);
Thanks for any help.
alkatraz
03-25-2003, 06:32 AM
WOW! you are the man
this is fantastic
thank you!
hmmm I just tried installing and I get the 404 error too
hmmm now im getting this error:
"Warning: Couldn't open stream {mail.pdm-racing.com:110/pop3}INBOX in /home/alkatraz/www/board/email.php on line 601"
Smoothie
03-25-2003, 06:46 AM
Today at 03:14 AM Da_GoTTi said this in Post #7 (https://vborg.vbsupport.ru/showthread.php?postid=372847#post372847)
when i put this on, and i put the info in, i got error 404
http://www.SITE.com/email.php?CMD=cookie
The page cannot be found
The page you are looking for might have been removed, had its name changed, or is temporarily unavailable. yep, same here.
Boofo
03-25-2003, 06:57 AM
I'm getting the same error as Smoothie and the others.
Kars10
03-25-2003, 06:58 AM
For me it works like a charm. :)
Is there a way to store the data (Username, password, server) for the users?? Or is this a high security-problem??
Kars
Freezerator
03-25-2003, 07:24 AM
I have installed it,
but i think he doesn't look in wich dir it is in
Because my forum is located in www.site.com/forum/ and when you login, it goes to www.site.com/ and not to /forum/ dir
Freezerator
03-25-2003, 07:31 AM
Well,
i fixed problem one ^^
but i still can't login to my pop3 boxes.
Also, what would be nice, that an user can give in in his profile his email server and login name, that he only has to type his password.
Just a thougt
Nice script though, when it would work as promised.
Broekie
03-25-2003, 07:59 AM
I don't get a 404, but I do get a blank page after trying to log in
And, when I go to email.php, the Username field contains "Array".
Boofo
03-25-2003, 08:16 AM
Today at 02:58 AM Kars10 said this in Post #13 (https://vborg.vbsupport.ru/showthread.php?postid=372861#post372861)
For me it works like a charm. :)
Is there a way to store the data (Username, password, server) for the users?? Or is this a high security-problem??
Kars
The magic man! ;) What did you do to get it working? ;)
Smoothie
03-25-2003, 08:25 AM
17 installs, and one working.. wOOt!
Boofo
03-25-2003, 08:37 AM
LOL @ Smoothie. What are the odds? ;)
Ghostsuit
03-25-2003, 08:40 AM
Ok didn't work to start with for me.
I got it working by doing a find and replace for all ../email.php to ../forums/email.php
/forums being my forums directory.
Hope that helps some people.
You can test it out at http://www.alternativenation.net/forums/email.php
but you would need to be a member :S
Boofo
03-25-2003, 09:03 AM
Ok, that helped on the page not found error. Now it get this error:
Fatal error: Call to undefined function: imap_open() in /xxxxxx/xxxx/xxxxxxxxxx/forum/email.php on line 601
I was using POP3 when I got this.
Ghostsuit
03-25-2003, 09:06 AM
I only got that message when I used the wrong Username:, Server: or Password: details
Boofo
03-25-2003, 09:12 AM
I just tried it again and I get the same error. Everything is correct. The only thing it might be is my pop3 server name is like this:
pop.server.com
Kars10
03-25-2003, 09:15 AM
Today at 11:16 Boofo said this in Post #17 (https://vborg.vbsupport.ru/showthread.php?postid=372879#post372879)
The magic man! ;) What did you do to get it working? ;)
Dont know why it works, but it works! ;)
I?ve just copy the file to my forum-dir and browse it...
The Data i use: my Username, my Server (like pop.server.com), and my Password.
Idea: Why don?t make 3 Profilefields for the user like: Email-Username, Server, Password and than use this as input for the fields? So the user has his Data cached. :)
* Kars10 Copperfield
Ghostsuit
03-25-2003, 09:25 AM
Today at 11:12 AM Boofo said this in Post #23 (https://vborg.vbsupport.ru/showthread.php?postid=372899#post372899)
I just tried it again and I get the same error. Everything is correct. The only thing it might be is my pop3 server name is like this:
mail.mchsi.com
Mines like that too mail. however I have to put my fullemail in for some accounts in stead of just the bit before the @ for example
kosh@.inyourcity.com instead of just kosh as the username. (Note I stuck an extra . in there to stop spam)
Boofo
03-25-2003, 09:34 AM
I've tried everything. I can't get past that error. :(
Ghostsuit
03-25-2003, 09:50 AM
Probably have to wait for Erwin then :(
colicab-d
03-25-2003, 10:05 AM
hmm im gonna give this a try but having checked it on ghostsuit`s site i enetered all my data and it worked
and my mail server is set up mail.kjshsk.co.uk
Erwin
03-25-2003, 10:07 AM
Okay, I've fixed that directory path bug. :)
I forgot to update it to make it workable for some forums. It now uses the $bburl variable - make sure your forum path is set correctly in your Admin CP vB Options section. :)
For those with problems, download the new email.php (making sure you refresh the cache). Also, this uses cookies, so make sure you close all windows, upload the new email.php and open a new window to login again.
EDIT: Make sure you empty your browser cache when attempting to download again - otherwise, the email.php is in your temporary folder and will be the OLD one. :)
X-Fan
03-25-2003, 10:14 AM
Another great hack from Erwin! Thanks mate
Erwin
03-25-2003, 10:14 AM
Today at 07:58 PM Kars10 said this in Post #13 (https://vborg.vbsupport.ru/showthread.php?postid=372861#post372861)
For me it works like a charm. :)
Is there a way to store the data (Username, password, server) for the users?? Or is this a high security-problem??
Kars
Not a bad idea... easily done... but my aim was to make this hack the easiest hack to install, while having great features. :)
Erwin
03-25-2003, 10:16 AM
Today at 11:14 PM X-Fan said this in Post #30 (https://vborg.vbsupport.ru/showthread.php?postid=372938#post372938)
Erwin, just noticed on first loading this file there's a loose <td tag in the footer. I know my footer has a table in it, but why would this file corrupt it so?
Really? Looks fine on my forums.
Erwin
03-25-2003, 10:19 AM
NOTE: This hack requires PHP 4 or higher to work. Check to see if this is the case if you are having streaming problems.
Also, make sure you use the latest email.php file (I just uploaded it) if you have path problems - make sure you clear your browser cache.
Kars10
03-25-2003, 10:26 AM
Today at 13:14 Erwin said this in Post #31 (https://vborg.vbsupport.ru/showthread.php?postid=372939#post372939)
Not a bad idea... easily done... but my aim was to make this hack the easiest hack to install, while having great features. :)
Maybe like that way Erwin?
Link... (https://vborg.vbsupport.ru/showthread.php?postid=372902#post372902)
Kars :)
Erwin
03-25-2003, 10:33 AM
Today at 11:26 PM Kars10 said this in Post #34 (https://vborg.vbsupport.ru/showthread.php?postid=372944#post372944)
Maybe like that way Erwin?
Link... (https://vborg.vbsupport.ru/showthread.php?postid=372902#post372902)
Kars :)
Done. I've included instructions on how to do this in the first post. Untested, but should work.
Boofo
03-25-2003, 10:42 AM
I'm still getting this error with the new file:
Fatal error: Call to undefined function: imap_open() in /xxxxx/xxxx/xxxxxxxxx/forum/email.php on line 601
Broekie
03-25-2003, 11:00 AM
Today at 01:42 PM Boofo said this in Post #36 (https://vborg.vbsupport.ru/showthread.php?postid=372955#post372955)
I'm still getting this error with the new file:
Fatal error: Call to undefined function: imap_open() in /xxxxx/xxxx/xxxxxxxxx/forum/email.php on line 601
Me too
And once again, when I go to email.php, the username-field contains the word "Array". I don't think it's supposed to contain that, is it?
Pop3-box information:
username: xxx@yyy.nl (or xxx%yyy.nl would work too, if the @ should be a problem, but I've tried that and didn't work either)
server: pop.yyy.nl
password: zzz
(Where xxx, yyy and zzz stand for something else ofcourse ;))
Server information:
OS: FreeBSD 4.5
Apache: 1.3.22 (Unix)
PHP: 4.2.1
MySQL: 3.23.49
partang2
03-25-2003, 11:14 AM
Worked great from the start here! :)
Boofo
03-25-2003, 11:17 AM
You're one of the lucky few. ;)
mforster
03-25-2003, 11:21 AM
Working - as soon as I remembered the right password :doh:
I was getting the <TD error too, but on page refresh it was fine
mforster
03-25-2003, 11:30 AM
This along with your FTP hack, have to be two of the best hacks around !
Kars10
03-25-2003, 11:33 AM
Today at 13:33 Erwin said this in Post #35 (https://vborg.vbsupport.ru/showthread.php?postid=372947#post372947)
Done. I've included instructions on how to do this in the first post. Untested, but should work.
Works perfect! :)
Thanks
Kars
Craigr
03-25-2003, 11:46 AM
Can't wait to install this.
Very useful.
Thanks
Craig
Spike05
03-25-2003, 11:52 AM
Very Great Hack! :) :)
cu
Jochen
mforster
03-25-2003, 11:55 AM
One weird thing - I dont use POP accounts very often, but by being able to edit the "from" box, you could play some nasty tricks on unsuspecting people...
Not that I care ;)
NuclioN
03-25-2003, 12:56 PM
http://www.site.com/email.php?CMD=cookie Call to undefined function: imap_open() rror :( Looks great D.r. Erwin :) I hope this will be fixed.
Ghostsuit
03-25-2003, 01:24 PM
check the second page for the solution
msimplay
03-25-2003, 01:29 PM
this is fantastic just what i wanted :D
just clicking install now :D is there a way to add html server support as in outlook ?
clicks install :D
support for multiple accounts ?
NuclioN
03-25-2003, 01:32 PM
Nope, i've cleared hystorie, cash, temp files, downloaded the new email.php and linked direct from the forum and the same error. :(
mforster
03-25-2003, 01:34 PM
... you did put the file in your /forum directory right?
NuclioN
03-25-2003, 01:41 PM
yes i did sir :)
amykhar
03-25-2003, 01:41 PM
I got a flash of warnings about unable to open files when I sent an email. They went by too fast for me to be able to capture them. Anybody else seeing this problem?
Amy
amykhar
03-25-2003, 01:50 PM
Took some doing, but I finally snagged a screenshot of the warnings. The emails that I send come through bad as well. I'll get a shot of them in a sec.
amykhar
03-25-2003, 01:51 PM
Just off the top of my head, it looks like that might be because I didn't attach a file?
amykhar
03-25-2003, 01:55 PM
Erwin, I would advise moving this to beta for now. Otherwise you are going to get a ton of newbies with problems.
mforster
03-25-2003, 01:59 PM
It seems to be like a T-Shirt, where "one size fits all". Although people are installing the same file, we are all getting different errors (or there are a few of us who have it working).
Beta sounds good to me
PiotrasG
03-25-2003, 02:04 PM
and yet the same error as other people got....
Warning: Couldn't open stream {mail.xxxxxxxx.com:110/pop3}INBOX in /xxxx/xxxxx/xxxx/xxx/xxx/xxx/xxxx/forum/email.php on line 601
username: xxxxxxx@xxxxxxxxx.com
server: mail.xxxxxxxx.com
password: xxxxxxxx
>>>using pop3
attroll
03-25-2003, 02:04 PM
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
PSI|Dr-X
03-25-2003, 02:51 PM
I have put in the username
My username :)
Server pop.xxxxxxxxxx.nl
Password xxxxxxxxxxxxx
but i get this error
Fatal error: Call to undefined function: imap_open() in /home/axenkixl/public_html/forum/email.php on line 601
can't you make something if you don't put the correct something else shows up?
I'm sure i put the right things do you know why this happens :)
thnx
Does this keep the email on my server?
Slynderdale
03-25-2003, 03:30 PM
This requires you to have imap support compiled with php, you might have pop3 access to your site but it also might not have imap support as well. So if you get a error like imap_open undefined function, then you dont have imap support.
Theres a way to access a pop3 mail server without using Imap compiled with php using fsocket, I use a online mail script that connects to pop3 using fsocket instead of imap because I dont have Imap compiled.
For more ifo on imap go here:
http://www.php.net/manual/en/ref.imap.php
sonic3d
03-25-2003, 03:40 PM
works perfect for me.
nice job erwin.
l8er
sonic
Dean C
03-25-2003, 03:48 PM
Oh my god - this is the hack i've been waiting for :p
* Mist bows down to erwin
- miSt
Intex
03-25-2003, 04:55 PM
Sweet as Erwin - just in time to integrate with my email server - nice one :cool:.
Smoothie
03-25-2003, 04:57 PM
ok, installed new file. Working fine. Question about the attachments. I assume this will not show inline attachments. Sent a test message with a small image. The attachment shows in the email as a link, when clicked will not display, Get the red X, and sometimes when clicked, it wants to download the whole page.
Smoothie
03-25-2003, 05:02 PM
Clicking delete message gives me this;
Warning: Bad message number in /home/virtual/site2/fst/var/www/html/forums/email.php on line 280
Smoothie
03-25-2003, 05:26 PM
after logging in to a mail server which requires username@.com, it shows this,
admin@macfora.com@macfora.com and when relpying to a message that shows in the from field.
Smoothie
03-25-2003, 05:33 PM
Same with a server which requires pop-server, when replying to a message, the pop-server must be removed in the from field.
bandersen
03-25-2003, 06:00 PM
Installed - great idea...
I get this error:
Fatal error: Call to undefined function: imap_open() in ..../forums/upload/email.php on line 601
yxboom
03-25-2003, 06:50 PM
Installed!!! Absolutely no problems sending recieving or anything......sorry guys :ermm:
Am using it as a perk for anyone who has an email account with us. Good job! :)
jbear6
03-25-2003, 07:43 PM
Ahhh, the Doc is indeed a man of many hats :)
Installed, and working great! Could this be considered "low tech virus protection" because it is web based?
Thanks Again,
Jbear6
msimplay
03-25-2003, 07:54 PM
one of the best hacks ever and also one of the easiest
i wonder if they could add a proper Outlook type pop3 email interface built into the pm system would be great to Vb3
i will post this at Vbulletin.com aswell see what they think :D
cirisme
03-25-2003, 08:39 PM
To prevent abuse, I would like to add an IP address of the sender to the header of the email being sent. What variable do I need to make that happen?
Boofo
03-25-2003, 08:47 PM
Today at 01:26 PM Smoothie said this in Post #67 (https://vborg.vbsupport.ru/showthread.php?postid=373153#post373153)
after logging in to a mail server which requires username@.com, it shows this,
admin@macfora.com@macfora.com and when relpying to a message that shows in the from field.
Smoothie, how did you get it working? ;)
cirisme
03-25-2003, 08:50 PM
Ha! I just figured it out.
Sorry, I'm a Perl geek, not a PHP geek. :D
If you want to add it to your email system, find
if ($bcc) $head.="BCC: $bcc\n";
and add below it....
$head.="REMOTEIP: $REMOTE_ADDR\n";
I hope Erwin doesn't mind. I also did not know what the standard for IP addresses in email headers was, so I just used REMOTEIP.
BTW, great hack!
Erwin
03-25-2003, 09:04 PM
Today at 07:00 AM bandersen said this in Post #69 (https://vborg.vbsupport.ru/showthread.php?postid=373167#post373167)
Installed - great idea...
I get this error:
Fatal error: Call to undefined function: imap_open() in ..../forums/upload/email.php on line 601
Update:
Just realized what Slynderdale posted as well:
To use this hack these are the requirements:
Requirements:
1) This hack requires PHP 4 or higher on your server.
2) This hack requires you to have IMAP support compiled with PHP on your server. If you get a error like "imap_open undefined function", then you dont have IMAP support. Sorry!
If you don't have IMAP compiled, then this hack won't work, as you the IMAP function will cause an error. I apologize for this.
Erwin
03-25-2003, 09:07 PM
Today at 06:02 AM Smoothie said this in Post #66 (https://vborg.vbsupport.ru/showthread.php?postid=373145#post373145)
Clicking delete message gives me this;
Warning: Bad message number in /home/virtual/site2/fst/var/www/html/forums/email.php on line 280
Delete works fine for me. I can delete a single or multiple emails on the INBOX screen, or delete the email I am reading - no error messages.
You may be trying to delete a message that was already deleted - hence the bad message number error.
Erwin
03-25-2003, 09:22 PM
Today at 02:51 AM amykhar said this in Post #54 (https://vborg.vbsupport.ru/showthread.php?postid=373048#post373048)
Just off the top of my head, it looks like that might be because I didn't attach a file?
Doesn't happen to me.
Make sure you don't try to put a non-existent attachment in. Leave the attachment text box blank and emails are send normally. Otherwise, attachments work.
Make sure you have the latest PHP version, and IMAP is compiled.
As for making this beta - it is not beta. It works, just not for all servers. :)
Erwin
03-25-2003, 09:24 PM
Today at 04:26 AM Oricon said this in Post #60 (https://vborg.vbsupport.ru/showthread.php?postid=373094#post373094)
Does this keep the email on my server?
No, the emails remain on your mail server, not on your forum server.
amykhar
03-25-2003, 09:43 PM
Today at 06:22 PM Erwin said this in Post #78 (https://vborg.vbsupport.ru/showthread.php?postid=373281#post373281)
Make sure you don't try to put a non-existent attachment in. Leave the attachment text box blank and emails are send normally. Otherwise, attachments work.
Make sure you have the latest PHP version, and IMAP is compiled.
Didn't touch the attachment field at all. Put in subject "test" and message "test" and hit send.
As you can see from my phpinfo (http://www.eaforums.com/phpinfo.php) , Imap is enabled and the version is 4.1.1.
Amy
Erwin
03-25-2003, 09:55 PM
Today at 05:57 AM Smoothie said this in Post #65 (https://vborg.vbsupport.ru/showthread.php?postid=373143#post373143)
ok, installed new file. Working fine. Question about the attachments. I assume this will not show inline attachments. Sent a test message with a small image. The attachment shows in the email as a link, when clicked will not display, Get the red X, and sometimes when clicked, it wants to download the whole page.
Mmm... the attachment viewer is not working as well... the attachment works - an attached file is attached properly, and is sent properly. When you click to view it, something weird happens - you're right... I will look into it when I get home. Doesn't affect the functionality of the email functions though.
Erwin
03-25-2003, 09:56 PM
Today at 08:43 AM jbear6 said this in Post #71 (https://vborg.vbsupport.ru/showthread.php?postid=373230#post373230)
Ahhh, the Doc is indeed a man of many hats :)
Installed, and working great! Could this be considered "low tech virus protection" because it is web based?
Thanks Again,
Jbear6
Virus protection... good idea. :) Good for removing spam before you download it onto your computer too.
Erwin
03-25-2003, 09:58 PM
Today at 10:43 AM amykhar said this in Post #80 (https://vborg.vbsupport.ru/showthread.php?postid=373295#post373295)
Didn't touch the attachment field at all. Put in subject "test" and message "test" and hit send.
As you can see from my phpinfo (http://www.eaforums.com/phpinfo.php) , Imap is enabled and the version is 4.1.1.
Amy
Weird.
Like I said, doesn't happen to me.
Make sure you download the LATEST version of email.php - just in case.
The code is done so that if the attachment field is left blank, the whole attachment functions is not called. If this is called without an attachment, you get the error you are getting (I got the same error beta testing the code on my own forums). But I've fixed it.
Make sure you have the latest version. Since you are a coder, check your code - make sure the attachment functions are not called if the attachment field is empty.
Smoothie
03-25-2003, 10:00 PM
When a user includes an email in their message to reply to, and you click it, you get;
The URL/email.php was not found on this server message.
Also, i noticed, one of your table bgcolor="{ tableheadtextcolor }"
<table bgcolor=\"{ tableheadtextcolor }\" BORDER=0 cellpadding=0 cellspacing=0 width=100%>\n";Which results in the message ..... From area displaying black, or whatever your tableheadtextcolor is set to.
Erwin
03-25-2003, 10:21 PM
Today at 11:00 AM Smoothie said this in Post #84 (https://vborg.vbsupport.ru/showthread.php?postid=373310#post373310)
When a user includes an email in their message to reply to, and you click it, you get;
The URL/email.php was not found on this server message.
Also, i noticed, one of your table bgcolor="{ tableheadtextcolor }"
<table bgcolor=\"{ tableheadtextcolor }\" BORDER=0 cellpadding=0 cellspacing=0 width=100%>\n";Which results in the message ..... From area displaying black, or whatever your tableheadtextcolor is set to.
Fixed the color issue. :)
As for the directory path problem - make sure you are using the latest EMAIL.php with the $bburl fix. :) It works.
Smoothie
03-25-2003, 10:29 PM
Erwin, I posted a message a few back about when logging in to a server which requires either a username@, or a pop-server.
This is appears in the from message:
admin@xxxx.com@mail.xxx.com or
username@pop-server.xxxx.com
amykhar
03-25-2003, 10:46 PM
Fixed Erwin. Where you had if ($userfile) I had to put if ($userfile!="none")
That solved my problems. For some reason, the value of an empty userfile was coming through as none.
Amy
Erwin
03-25-2003, 11:07 PM
Today at 11:46 AM amykhar said this in Post #87 (https://vborg.vbsupport.ru/showthread.php?postid=373325#post373325)
Fixed Erwin. Where you had if ($userfile) I had to put if ($userfile!="none")
That solved my problems. For some reason, the value of an empty userfile was coming through as none.
Amy
You were using my first uploaded email.php :) - I no longer use the "none" variable.
Erwin
03-25-2003, 11:12 PM
Today at 11:29 AM Smoothie said this in Post #86 (https://vborg.vbsupport.ru/showthread.php?postid=373320#post373320)
Erwin, I posted a message a few back about when logging in to a server which requires either a username@, or a pop-server.
This is appears in the from message:
admin@xxxx.com@mail.xxx.com or
username@pop-server.xxxx.com
Mmm... just change the From: field to the real email address when replying or composing. :) That's why I made that field editable.
amykhar
03-25-2003, 11:25 PM
Today at 08:07 PM Erwin said this in Post #88 (https://vborg.vbsupport.ru/showthread.php?postid=373338#post373338)
You were using my first uploaded email.php :) - I no longer use the "none" variable.
I downloaded it after you said you had updated it. The colors had been fixed, but I still had problems. I cleared my browser cache too. The weird thing is, I couldn't find the word none in the code.
No matter. It's fixed now and if anybody else runs into the same problem, a possible solution is documented. :)
Amy
Schorsch
03-25-2003, 11:26 PM
Hi Erwin,
I get an error message :(
any advice ?
thanks,
Schorsch
Erwin
03-25-2003, 11:30 PM
Weird, because the original email.php I used "none" as the default attachment value... then changed my mind. :)
Erwin
03-25-2003, 11:32 PM
Today at 12:26 PM Schorsch said this in Post #91 (https://vborg.vbsupport.ru/showthread.php?postid=373348#post373348)
Hi Erwin,
I get an error message :(
any advice ?
thanks,
Schorsch
Wrong or unknown username, host server or password would do that.
wolfe
03-25-2003, 11:57 PM
how do i view hotmail is it like this
Username: xxx
Server: hotmail.com
Password: xxx
is that right
amykhar
03-26-2003, 12:29 AM
Hotmail isn't a POP3 server. It is a different format entirely and probably will not work with this script.
Erwin
03-26-2003, 12:36 AM
I want to be able to check my HotMail account, what do I do?
With this hack, you can check your HotMail messages but you have to pay a fee to Hotmail in order to have access. HotMail offers POP access on a for-fee basis. This is something new and that I've just discovered (in the past this was not the case). If you have registered for this premium service, you should have received detailed information regarding server settings.
I want to be able to check my Yahoo Mail, what do I do?
Use the following information to setup your Yahoo account:
User name: <Your Yahoo user name (without the @yahoo.com part)
Mail (POP3) Server: pop.mail.yahoo.com
Password: <Your Yahoo Password>
amykhar
03-26-2003, 01:05 AM
Pop3 is a paid service from yahoo.com now too.
Erwin
03-26-2003, 01:16 AM
Really? Well, there you go... times have changed since I last used them... my apologies... my hack still works for both Hotmail and Yahoo... but you need POP access to them... sounds like you have to pay now... in the good old days it was all free...
user360
03-26-2003, 02:13 AM
is there any template thing you could make for it , Like so I could add some text link or colors or anything great hack by the way!
msimplay
03-26-2003, 02:22 AM
just wondering in outlook i can still get my hotmail free
Erwin
03-26-2003, 02:58 AM
If so, what you do msimplay, is to get the settings from Outlook Express, and try it with this hack.
Erwin
03-26-2003, 03:00 AM
Today at 03:13 PM user360 said this in Post #99 (https://vborg.vbsupport.ru/showthread.php?postid=373425#post373425)
is there any template thing you could make for it , Like so I could add some text link or colors or anything great hack by the way!
I purposely made this hack non-template based to make it easy to install - just upload and use. So I won't be making a template-based version.
limey
03-26-2003, 03:00 AM
how can you restrict this to certain usergroups? ie donators
Erwin
03-26-2003, 04:35 AM
Today at 04:00 PM limey said this in Post #103 (https://vborg.vbsupport.ru/showthread.php?postid=373435#post373435)
how can you restrict this to certain usergroups? ie donators
Instructions on how to do this has always been in my first post. :) Read it carefully.
Smoothie
03-26-2003, 04:47 AM
Yesterday at 07:46 PM amykhar said this in Post #87 (https://vborg.vbsupport.ru/showthread.php?postid=373325#post373325)
Fixed Erwin. Where you had if ($userfile) I had to put if ($userfile!="none")
That solved my problems. For some reason, the value of an empty userfile was coming through as none.
Amy That fix worked for me. i just downloaded the latest file, and ($userfile) was still there. Changing it to ($userfile!="none") fixed the errors I was getting.
Smoothie
03-26-2003, 05:05 AM
Yesterday at 05:47 PM Boofo said this in Post #74 (https://vborg.vbsupport.ru/showthread.php?postid=373265#post373265)
Smoothie, how did you get it working? ;) Boofo, you get this working yet?
Erwin
03-26-2003, 05:06 AM
Okay, I've updated the email.php file:
I now use this:
if (!$userfile) $userfile="none";
if ($userfile!="none") Attach($userfile,$userfile_name);
That would work for BOTH types of servers - those that parse the $userfile to "" and those that parse it to "none". :)
For those with the above problems, clear your browser cache, download and upload the new email.php file, and try it. Should work. :)
Boofo
03-26-2003, 05:12 AM
Today at 01:05 AM Smoothie said this in Post #106 (https://vborg.vbsupport.ru/showthread.php?postid=373472#post373472)
Boofo, you get this working yet?
No. Apparently my ISP doesn't have IMAP installed. They are using 4.3.1 but must not be using the IMAP. All I get are the errors. Slynderdale said something about a way around that. Can you do that Erwin?
Slynderdale
03-26-2003, 06:05 AM
fsocketopen can also be used to connect to a pop3 and IMAP server but theres no predfeined mail functions like with IMAP so you have to code the parts that connect to the server, get the mail, get the folders, parse the data, display the data, and abilities like delete, new and old mail and so on, and also to close the connection.
As you can see, using fsocket is alot more work but is more compatible with servers.
http://www.php.net/manual/en/function.fsockopen.php
Smoothie
03-26-2003, 07:05 AM
When I add an attachment to an outgoing message, with text in the message body, when it arrives, the text is not in the email, just the attachment. If I send just text, it's fine.
Courage
03-26-2003, 09:34 AM
Ok, I copied email.php
http://www.softnews.ro/forum/email.php
I'm using vBulletin 2.2.8. The hack is working, but not very good. i cannot conect to any pop3 or imap mail server !
I get "Array" to username :(
See the atachment plz
Erwin
03-26-2003, 10:37 AM
Today at 08:05 PM Smoothie said this in Post #110 (https://vborg.vbsupport.ru/showthread.php?postid=373503#post373503)
When I add an attachment to an outgoing message, with text in the message body, when it arrives, the text is not in the email, just the attachment. If I send just text, it's fine.
You get that error when you use the "none" method.
Download and upload the latest email.php - that should fix this problem.
Erwin
03-26-2003, 10:38 AM
Today at 10:34 PM Courage said this in Post #111 (https://vborg.vbsupport.ru/showthread.php?postid=373524#post373524)
Ok, I copied email.php
http://www.softnews.ro/forum/email.php
I'm using vBulletin 2.2.8. The hack is working, but not very good. i cannot conect to any pop3 or imap mail server !
I get "Array" to username :(
See the atachment plz
Make sure you have IMAP compiled with your PHP.
auz1111
03-26-2003, 01:37 PM
great hack! Can't wait to get future versions! Pressing Install NOW! :)
auz1111
03-26-2003, 01:59 PM
Is there anyway a help guide can be added...maybe just a one page link that describes to users that they can add the username and host server address to their profile fields and also describe them to people who have no idea what they are?
alkatraz
03-26-2003, 02:17 PM
downloaded the latest version and
it works like a charm! thanks!
alkatraz
03-26-2003, 02:23 PM
just did the Add-on and it works great!
Smoothie
03-26-2003, 05:14 PM
Today at 07:37 AM Erwin said this in Post #112 (https://vborg.vbsupport.ru/showthread.php?postid=373541#post373541)
You get that error when you use the "none" method.
Download and upload the latest email.php - that should fix this problem. I have the latest email.php. It isn't any error I see, but the attachment only shows (the link). iIf text is included in the message, it doesn't show. When no attachment is included, the text in the message shows fine.
Courage
03-26-2003, 05:14 PM
I have IMAP.
My phpinfo.php say:
--with-imap-ssl=/tmp/pine4.44/imap/c-client' '--with-imap=/tmp/pine4.44/imap/c-client'
So.. why doesnt work ?
I cannot login to any pop3 server. I tried 3 or 4 accounts (pop3 and/or IMAP)
Smoothie
03-26-2003, 05:30 PM
just tested again, not working.
Erwin
03-26-2003, 10:17 PM
Today at 06:14 AM Smoothie said this in Post #118 (https://vborg.vbsupport.ru/showthread.php?postid=373673#post373673)
I have the latest email.php. It isn't any error I see, but the attachment only shows (the link). iIf text is included in the message, it doesn't show. When no attachment is included, the text in the message shows fine.
Fixed this. :) Mistake my part.
Updates
Version 1.1 - Fixed <td> errors. Fixed error where message did not show when attachment present.
Download and upload the latest version of email.php (make sure you clear your browser cache).
After downloading the latest email.php, make sure the top of the file says Version 1.1
Erwin
03-26-2003, 10:21 PM
Today at 06:14 AM Courage said this in Post #119 (https://vborg.vbsupport.ru/showthread.php?postid=373674#post373674)
I have IMAP.
My phpinfo.php say:
--with-imap-ssl=/tmp/pine4.44/imap/c-client' '--with-imap=/tmp/pine4.44/imap/c-client'
So.. why doesnt work ?
I cannot login to any pop3 server. I tried 3 or 4 accounts (pop3 and/or IMAP)
I have no explanation. As you can see, it works with the majority of servers. Some servers may not be set up properly, or this hack may interfere with another hack you've got - who knows.
msimplay
03-26-2003, 11:10 PM
works excellent for me i love it Thank u extremely very much Erwin :D
NuclioN
03-26-2003, 11:24 PM
Our provider will not install imap for what reason we don't know. I hope that the 'workaround' from slynderdale can be made for this. ;)
Erwin
03-26-2003, 11:26 PM
Important Security Update
Version 1.2
Previous versions allowed users to simply change their FROM: email address at anytime. This can create problems with users using your forums to send anonymous emails to others.
In the latest version 1.2, I have added settings at the top of the PHP file that you can change to allow or disallow users from changing their FROM: email address.
You can exempt yourself and always be able to change your own FROM: email address by modifying the userid here as well.
The default setting is NO (users cannot change their FROM: email addresses). The default userid exempted is 1. You can change these settings at the top of the email.php file.
Please download the latest version now, and upload it. That's all you need to do to upgrade. :) Make sure the top of the newest PHP file says version 1.2.
Smoothie
03-26-2003, 11:28 PM
Today at 07:17 PM Erwin said this in Post #121 (https://vborg.vbsupport.ru/showthread.php?postid=373832#post373832)
Fixed this. :) Mistake my part.
Updates
Version 1.1 - Fixed <td> errors. Fixed error where message did not show when attachment present.
Download and upload the latest version of email.php (make sure you clear your browser cache).
After downloading the latest email.php, make sure the top of the file says Version 1.1
Is working fine now, except for the attachment. The text in the message body appears, along with the attachment link. When clicking on the link, I get a blank page, with a red x thru the image. Not sure why. It is a small .gif file
Erwin
03-26-2003, 11:30 PM
The attachment viewer has a strange bug that I will need to fix when I have time to do it. In the meantime, this hack works 100% - just the attachment viewer is defective... not sure why, but I'm at work now, and don't have time to fix it yet. :)
auz1111
03-27-2003, 12:32 AM
$errormessage .= "<font color=\"{timecolor}\">";
how could i hard code the color here?
Erwin
03-27-2003, 12:38 AM
All colors are based on your forum's style colors. None of the color is hard coded in my hack. Do you actually want to hardcode colors?
auz1111
03-27-2003, 01:07 AM
i don't really want to, but when i look at the email headers i can't read them. I tried to change the replacement code for the forum colors but it did not work. I thought I could just hardcode it. Is it possible? thanks
Grunt
03-27-2003, 03:58 AM
wow..this now tops the list as my favorite hack :) :)
one question however..I'm not planning on using the 'Member Profile' add-on...i would however like to remove the server field, and force it to always use mail.whatever.com. do-able?
Smoothie
03-27-2003, 04:30 AM
Yesterday at 08:30 PM Erwin said this in Post #127 (https://vborg.vbsupport.ru/showthread.php?postid=373850#post373850)
The attachment viewer has a strange bug that I will need to fix when I have time to do it. In the meantime, this hack works 100% - just the attachment viewer is defective... not sure why, but I'm at work now, and don't have time to fix it yet. :) All your work is appreciated...
attroll
03-27-2003, 04:37 AM
Yes this is an awesome hack. The best I have seen so far. One that has long been wanted. Thank You!
I have it working on my site with no problems now. But when I type in the user name and server and password then click Login.
It puts my footer on the top of my page and my header under the following message saying:
HTTP/1.1 200 OK Date: Thu, 27 Mar 2003 06:25:03 GMT Server: Apache/1.3.26 (Unix) mod_log_bytes/1.0 mod_bwlimited/1.0 PHP/4.2.3 FrontPage/5.0.2.2510 mod_ssl/2.8.10 OpenSSL/0.9.6b X-Powered-By: PHP/4.2.3 Expires: Thu, 19 Nov 1981 08:52:00 GMT Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0 Pragma: no-cache Content-Length: 4981 Keep-Alive: timeout=15, max=98 Connection: Keep-Alive Content-Type: text/html
Is this something that is suppose to be displayed or is there a way I can get it to stop displaying. Everything work but this texted being displayed is annoying. It does go away after it finishes logging in.
I don't know why it is putting my header under my footer either. It does not do this all the time????
Smoothie
03-27-2003, 04:38 AM
Question, would it be possible to have the extra @yourdomain stripped from the from field email if your server requires you to login with username@yourdomain? The reason being, if the newest version won't allow users to change the from field, the receiver of the email will get from: yourname@xx.com@yourname.xx.com
Areku
03-27-2003, 07:11 AM
Awesome!
/me installs!
Erwin
03-27-2003, 07:58 AM
Today at 02:07 PM auz1111 said this in Post #130 (https://vborg.vbsupport.ru/showthread.php?postid=373870#post373870)
i don't really want to, but when i look at the email headers i can't read them. I tried to change the replacement code for the forum colors but it did not work. I thought I could just hardcode it. Is it possible? thanks
Fixed this. :) Download the latest email.php version 1.3
Erwin
03-27-2003, 07:59 AM
Today at 12:28 PM Smoothie said this in Post #126 (https://vborg.vbsupport.ru/showthread.php?postid=373849#post373849)
Is working fine now, except for the attachment. The text in the message body appears, along with the attachment link. When clicking on the link, I get a blank page, with a red x thru the image. Not sure why. It is a small .gif file
Fixed this. Download version 1.3. :)
Erwin
03-27-2003, 08:01 AM
Update: Version 1.3 - Fixed Attachment Viewer and Downloader & Fixed Header Text Color
I've finally fixed the Attachment Viewer and Downloader... whew! Took some branstorming. Also, I've fixed up some minor cosmetic defects, with the header text colors, table widths etc.
Just download the latest email.php and upload it. Make sure you clear your browser cache - it should say Version 1.3 when you look in the PHP file.
Enjoy. :)
Erwin
03-27-2003, 08:03 AM
Today at 05:38 PM Smoothie said this in Post #134 (https://vborg.vbsupport.ru/showthread.php?postid=373927#post373927)
Question, would it be possible to have the extra @yourdomain stripped from the from field email if your server requires you to login with username@yourdomain? The reason being, if the newest version won't allow users to change the from field, the receiver of the email will get from: yourname@xx.com@yourname.xx.com
In the latest version, you can switch the ability to change the FROM field on or off at the top of the PHP file. I may or may not find the time to strip the extra domain bits - the reason is that I don't have an email account to test with, you see, so I would never know if it works or not.
bandersen
03-27-2003, 08:28 AM
You do great work - I think I may need to change server... to someone that include IMAP!
partang2
03-27-2003, 08:58 AM
Sometimes when I executes email.php I get this at the bottom at the page:
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber7" backg
When I reloads the page after that, I see only the contents of the email.php file on the screen...
What can it be? I have the latest version who works sending mail etc most of the time...
auz1111
03-27-2003, 11:47 AM
That's perfect Erwin! Keep improving it. I am loving this one. thanks!
Smoothie
03-27-2003, 01:51 PM
Today at 05:03 AM Erwin said this in Post #139 (https://vborg.vbsupport.ru/showthread.php?postid=373948#post373948)
In the latest version, you can switch the ability to change the FROM field on or off at the top of the PHP file. I may or may not find the time to strip the extra domain bits - the reason is that I don't have an email account to test with, you see, so I would never know if it works or not. I would be more than happy to test this for you. Great work BTW!
Grunt
03-27-2003, 01:55 PM
erwin i would be more than happy to set you up with an email account that you can use for all eternity if you'd like..pm me if you're interested
no answers to post#131 anybody?
Smoothie
03-27-2003, 02:06 PM
Today at 05:03 AM Erwin said this in Post #139 (https://vborg.vbsupport.ru/showthread.php?postid=373948#post373948)
In the latest version, you can switch the ability to change the FROM field on or off at the top of the PHP file. I may or may not find the time to strip the extra domain bits - the reason is that I don't have an email account to test with, you see, so I would never know if it works or not.
Hmmm, if I leave it set to not allow users to change the from field, I get this in the from field:
Apache <apache@ensim.rackshack.net>
msimplay
03-27-2003, 02:39 PM
just realised can't attach more then one attachment at a time
Areku
03-27-2003, 03:31 PM
Erwin,
Don't you capture errors to a standard error screen?
I downloaded new mail while still loged in via email.php and then i get a nasty "Warning: Bad message number in /usr/.../email.php on line 279
" error...
Good work anyway!
Up and working on VB2.2.0
ok, this is working very well erwin, and i thank you for your time on this hack! :D
one little thing though - when i log in to an email account via this script and view an inbox, it displays two of everything - an exact copy of everything appears below the main page. i have read through the thread a few times, and have been following the updates aswell, but haven't seen anyone mention this. i'm wondering if it's just me that's getting this hehe
any ideas on why it's returning two of everything? it doesn;t happen on the login screen part, just on all the pages when logged in to an account.
i'm using v1.3 now, but it was happening when i used v1.1 aswell. also happens on different accounts from different servers and domain names.
thanks for your help, and keep up the good work :)
attroll
03-27-2003, 05:06 PM
Ok. I got it working fine now. At least for the present time. It must have been a glitch on the web last night. Because I did not change anything but it is working fine this morning.
Erwin
03-27-2003, 06:34 PM
Yesterday at 04:58 PM Gruntie said this in Post #131 (https://vborg.vbsupport.ru/showthread.php?postid=373909#post373909)
wow..this now tops the list as my favorite hack :) :)
one question however..I'm not planning on using the 'Member Profile' add-on...i would however like to remove the server field, and force it to always use mail.whatever.com. do-able?
Easily done.
Open email.php, find:
$errormessage .= "<tr><td align=right><normalfont>Server: </normalfont></td><td><input TYPE=text NAME=host value='$host'></td></tr>\n";
REPLACE with:
$host = "mail.yourserver.com";
$errormessage .= "<tr><td align=right><normalfont>Server: </normalfont></td><td><normalfont><b>$host</b></normalfont></td></tr>\n";
And change the variable "mail.yourserver.com" to your own mail server.
Done.
The other questions by other people - I will have to deal with them later... gotta go to university now. :)
Most of them, like the double output, I cannot explain to be honest, but I will try to look into it.
And @ gruntie - go ahead and set me an account, and email me the details, and I will go and start testing it out.
Lethal
03-28-2003, 04:00 AM
Can you access a hotmail or yahoo account?
attroll
03-28-2003, 04:46 AM
No you can not access Hotmail or Yahoo. You believe you can access Yahoo mail if you signed up for the paid email services.
Erwin
03-28-2003, 04:53 AM
Today at 05:00 PM Lethal said this in Post #151 (https://vborg.vbsupport.ru/showthread.php?postid=374396#post374396)
Can you access a hotmail or yahoo account?
Read this thread.
Lethal
03-28-2003, 04:55 AM
Sick of Hotmail and free web-based email addresses, and want to just stick with your ISP email account?
I see, not what I was thinking then sorry erwin.
Just might install it anyway.
Lethal
03-28-2003, 04:56 AM
well upload it anyway lol
Erwin
03-28-2003, 04:58 AM
It WILL work for Hotmail or Yahoo accounts if you pay them for a premium POP mail account. :) Not the free ones though - in the past they worked, but they've started charging for POP access.
Lethal
03-29-2003, 12:35 AM
I get this when I try to login:
Fatal error: Call to undefined function: imap_open() in /htdocs/www/forums/email.php on line 614
Erwin
03-29-2003, 12:42 AM
Before posting, please read the FIRST post.
I've already stated why people get this error. Your server does not have IMAP compiled with PHP.
limey
03-29-2003, 01:48 PM
Uploaded new version and can't read mail. I get blank pages and the newer mail is stuck on the meta refresh. I can compose and delete email.
Buddha
03-29-2003, 05:30 PM
hey doc. how can i change the
- by Dr. Erwin Loh
so that it links to your site (that is, if you are interested). in my opinion, it's the least i can do for all the great hacks you've created.
Grunt
03-30-2003, 06:07 AM
Erwin: check your PM's for your email account
Erwin
03-31-2003, 12:24 AM
Yesterday at 06:30 AM Buddha said this in Post #160 (https://vborg.vbsupport.ru/showthread.php?postid=375141#post375141)
hey doc. how can i change the
so that it links to your site (that is, if you are interested). in my opinion, it's the least i can do for all the great hacks you've created.
That's fine. :) I like to keep my own forums anonymous.
Erwin
03-31-2003, 12:27 AM
Yesterday at 02:48 AM limey said this in Post #159 (https://vborg.vbsupport.ru/showthread.php?postid=374995#post374995)
Uploaded new version and can't read mail. I get blank pages and the newer mail is stuck on the meta refresh. I can compose and delete email.
Can't explain that. Log out and log in again. Close all windows, and log in again. This hack should work if you have the latest PHP with IMAP installed.
Grunt
03-31-2003, 01:23 AM
03-25-03 at 12:07 PM Erwin said this in Post #29 (https://vborg.vbsupport.ru/showthread.php?postid=372932#post372932)
Okay, I've fixed that directory path bug. :)
I forgot to update it to make it workable for some forums. It now uses the $bburl variable - make sure your forum path is set correctly in your Admin CP vB Options section. :)
Would it be possible to place this in the root directory of the site? perhaps replacing $bburl variables with $homeurl?
Erwin
03-31-2003, 02:29 AM
Today at 02:23 PM Gruntie said this in Post #164 (https://vborg.vbsupport.ru/showthread.php?postid=375748#post375748)
Would it be possible to place this in the root directory of the site? perhaps replacing $bburl variables with $homeurl?
Absolutely... but you need to rename the require global.php line to make it find the forum/global.php file which is needed.
Smoothie
03-31-2003, 02:38 AM
03-27-03 at 05:03 AM Erwin said this in Post #139 (https://vborg.vbsupport.ru/showthread.php?postid=373948#post373948)
In the latest version, you can switch the ability to change the FROM field on or off at the top of the PHP file. I may or may not find the time to strip the extra domain bits - the reason is that I don't have an email account to test with, you see, so I would never know if it works or not.
Bumping this, if you get time. :)
Grunt
03-31-2003, 02:52 AM
Today at 04:29 AM Erwin said this in Post #165 (https://vborg.vbsupport.ru/showthread.php?postid=375780#post375780)
Absolutely... but you need to rename the require global.php line to make it find the forum/global.php file which is needed.
replaced all occurances of $bburl to $homeurl, changed the global.php line to: require('forum/global.php');
and getting a blank page. Tried also : require('./forum/global.php'); with no luck
jbear6
03-31-2003, 12:35 PM
Yesterday at 10:52 PM Gruntie said this in Post #167 (https://vborg.vbsupport.ru/showthread.php?postid=375783#post375783)
replaced all occurances of $bburl to $homeurl, changed the global.php line to: require('forum/global.php');
and getting a blank page. Tried also : require('./forum/global.php'); with no luck
I think I had this problem once, and I had to add the path to get it to work:
<?php
chdir('/home/jbear6/public_html');
require('/home/jbear6/public_html/global.php');
Please disregard if I am totally off base here....
Jbear6
Buddha
03-31-2003, 05:15 PM
Today at 02:24 AM Erwin said this in Post #162 (https://vborg.vbsupport.ru/showthread.php?postid=375734#post375734)
That's fine. :) I like to keep my own forums anonymous.
no problem.
thanks regardless.
D|ver
04-01-2003, 09:41 AM
wow what a great hack :)
but i get always this error message:
Warning: Couldn't open stream {pop.gmx.net:110/pop3}INBOX in /www/htdocs/forums/email.php on line 614
does anybody know, what i can do know ?
imap is installed and configured with php
Erwin
04-01-2003, 09:42 AM
Wrong username, password or host details will give you that error.
D|ver
04-01-2003, 09:53 AM
hmm, there must be another error, because all these datas must be valid
i also tried to login using different servers, but i always get this message ...
Marzas
04-01-2003, 09:59 AM
another, another and another keep pouring out of you Erwin, keep up da exellent work, it works fine with me. *installs
Erwin
04-01-2003, 10:14 AM
Thanks. :) Like I said, if your server is set up right (both forum and mail servers) this hack should work without a hitch. Don't forget to click the install link at the bottom of this thread so that I can email updates if I do them.
Harken
04-01-2003, 03:17 PM
Well it seems to work....I dont ever get an error msg..i type in the info and it says logging in..and then reverts back to the main screen to enter in your info. Ive tried this with multiple pop3 servers. IDeas?
limey
04-01-2003, 04:34 PM
I had to reinstall php...what should I look for in phpinfo.php for this to work? --with-imap? ? ?
Erwin
04-01-2003, 09:06 PM
Today at 04:17 AM Harken said this in Post #175 (https://vborg.vbsupport.ru/showthread.php?postid=376392#post376392)
Well it seems to work....I dont ever get an error msg..i type in the info and it says logging in..and then reverts back to the main screen to enter in your info. Ive tried this with multiple pop3 servers. IDeas?
Make sure your browser cache is not set too high - the page needs to refresh the file into a new page.
The alternative is that it's a browser version issue - try using IE 6.
Harken
04-05-2003, 04:15 PM
I have tried using IE6 and i get the same thing...even setting my browser cache low manually...i just get LOGGING IN... and this is the same for mutiple pop3 servers
Erwin
04-05-2003, 11:34 PM
Well, your server is not set up to use this hack unfortunately. This hack will work if the server has IMAP compiled properly with it.
Harken
04-06-2003, 02:25 AM
The problem i see has to be with the php file...im showing on the imap server that im connecting...then it just closes...but its the client thats closing. I show "logged in" on the server...then "connection closed" i never get completely in. Im a admin at an isp ive setup multiple servers...and i cannot get this to work with any of them. I really would like to get this to work... if u would like to see i would be more than happy to show you.
Erwin
04-06-2003, 02:38 AM
If it's to do with my PHP file, then I better ask the 50 people who have installed it and get them to stop using it... ;)
Seriously, it's working fine for me. So if it's not working for you, it must be something at your end.
Jim Mayhugh
04-11-2003, 04:57 AM
04-05-03 at 07:09 PM Harken said this in Post #178 (https://vborg.vbsupport.ru/showthread.php?postid=377901#post377901)
I have tried using IE6 and i get the same thing...even setting my browser cache low manually...i just get LOGGING IN... and this is the same for mutiple pop3 servers
I appear to be having the same problem, and it looks as though the session variables set during the "cookie" portion of the code are not being either stored or retrieved properly during the next iteration of the code.
Just for the record, I'm using PHP 4.3.1. Might that also be a difference?
I notice that you use session_register("session_variable") rather than using $_SESSION["session_variable"]. Might that make a difference?
UPDATE:
OK, I got it working. For some reason session_register() is not working properly for me. Everything I read about sessions at www.php.net (http://www.php.net) seems to lean toward using $_SESSIONS[] for parameter passing in later revisions of PHP. Here's the changes I made that worked.
In email.php, look for
//CHANGE SETTINGS ABOVE//
and add just below it:
$session_server=$_SESSION["session_server"];
$session_username=$_SESSION["session_username"];
$session_password=$_SESSION["session_password"];
$type=$_SESSION["session_type"];
then find
session_register("session_server"); $session_server=$host;
session_register("session_username"); $session_username=$user;
session_register("session_password"); $session_password=$pass;
session_register("type"); $type = $opt;
and replace it with:
$_SESSION["session_server"]=$host;
$_SESSION["session_username"]=$user;
$_SESSION["session_password"]=$pass;
$_SESSION["session_type"]=$opt;
I am by no means a PHP programmer, but like I said, it seems to work for me. YMMV
Erwin
04-11-2003, 06:45 AM
UPDATE: Version 1.4 - Fixed header cookie problem for certain servers that prevented login
Thanks to Jim, who suggested the fix. This only applies to certain servers which have problems with the cookies created in the previous versions of this hack. Most servers appear to be unaffected for some reason.
I have applied the fix to the hack anyway.
This update will fix the problem that some servers have, where you cannot seem to login. It appears to be a cookie problem as described.
For those who previously had problems with this hack, download the newest email.php. Make sure the top of the file says "Version 1.4". If this hack already works for you, no need to upgrade.
Enjoy!
msimplay
04-11-2003, 01:00 PM
Today at 08:39 AM Erwin said this in Post #183 (https://vborg.vbsupport.ru/showthread.php?postid=380485#post380485)
UPDATE: Version 1.4 - Fixed header cookie problem for certain servers that prevented login
Thanks to Jim, who suggested the fix. This only applies to certain servers which have problems with the cookies created in the previous versions of this hack. Most servers appear to be unaffected for some reason.
I have applied the fix to the hack anyway.
This update will fix the problem that some servers have, where you cannot seem to login. It appears to be a cookie problem as described.
For those who previously had problems with this hack, download the newest email.php. Make sure the top of the file says "Version 1.4". If this hack already works for you, no need to upgrade.
Enjoy!
If i am having no problems with the hack do i really need to download this ?
Harken
04-11-2003, 05:47 PM
well it worked...thanx alot. : )
I do have one problem still...for some reason whenever i did what u put in about making the mail server stay the same...it stopped allowing me to login...now it doesnt even hit the mail server. I hit login and it goes white...then back to the beggining.. Anyway thought u might want to know. Ive checked my file twice with what u put ...and it causes that problem.
Erwin
04-11-2003, 09:58 PM
Today at 12:54 AM msimplay said this in Post #184 (https://vborg.vbsupport.ru/showthread.php?postid=380581#post380581)
If i am having no problems with the hack do i really need to download this ?
No. :) Only for those with problems need to upgrade. If you don't have problems, you can still upgrade, but it will make no difference (unless you change to a server that has problems with the older version).
Erwin
04-11-2003, 09:59 PM
Today at 05:41 AM Harken said this in Post #185 (https://vborg.vbsupport.ru/showthread.php?postid=380675#post380675)
well it worked...thanx alot. : )
I do have one problem still...for some reason whenever i did what u put in about making the mail server stay the same...it stopped allowing me to login...now it doesnt even hit the mail server. I hit login and it goes white...then back to the beggining.. Anyway thought u might want to know. Ive checked my file twice with what u put ...and it causes that problem.
That's very strange... remember, some mail servers do not let you log in multiple times within a short period, to prevent server load increases... maybe that's a problem... if it's a major problem, don't use the saved server settings option.
msimplay
04-11-2003, 10:02 PM
Yesterday at 11:52 PM Erwin said this in Post #186 (https://vborg.vbsupport.ru/showthread.php?postid=380801#post380801)
No. :) Only for those with problems need to upgrade. If you don't have problems, you can still upgrade, but it will make no difference (unless you change to a server that has problems with the older version).
thanks
Harken
04-12-2003, 12:36 AM
well i tried that...waited about 30 minutes...tried it again...still just gave me a wrong info. However put back in the orginal..and typed in the mail server and went right through. Its something else....sorry for the continuos replies...also...whenever i send an email with an attachment its sending a .dat file thats about 4bytes big everytime.
verbum
04-16-2003, 04:53 AM
I've found one very significant "bug" when using this hack in VBulletin when accessed with IE6 on XP:
For whatever reason, which I hope someone can address, once accessed, the hack prohibits normal cookie sessions. Examples:
An old cache is shown when I go to the forums; even after logging in, the cache is different each time; when I next access the forum, it shows me logged on, even though I clearly logged off, etc. At first, I thought this was just a problem on my end, although I noticed it only after I installed and tried the mod out--until I got the following message from the only forum member who used tried out the email mod:
"When I enter the main page it has shown the same page every time I enter (same posts, same time 6:51pm). I found a bunch of posts that weren't showing on the first page by going to "view new posts". I even posted a new topic about the convention... and I couln't find it after I returned to the main page. It seems to be the same page no matter how I access it. I can go from my favorites list, backpage or go directly to it by highlighting the main page from an individual forum and it still shows the same page. "
The same problem I've been having.
In BOTH cases, this hapopens only when using IE6, and only on the one particular forum in question. The members I've asked who have *not* used the hack report that everything is running smoothly.
Any ideas for a solution? I even removed the hack, deleted every last cookie--and I still can't have a normal session on my board.
(I've since re-installed the hack in case anyone would like to confirm--or, conversely, disprove--my brief findings.)
Thanks!
Erwin
04-16-2003, 06:23 AM
Well, I don't have that problem at all, and I'm using Windows XP SP1, and IE 6.02.
My cookies work fine... so I can't imagine what's the problem...
verbum
04-16-2003, 06:46 AM
It's the darndest thing. I'd re-read this entire thread looking for any hint of this phenomenon. I'd initially blown off my solo experience as coincidence (trying to avoid the post hoc ergo...trap); but when the only other person who used it wrote to me of an identical problem...well, I did some ballpark odds-figuring.
The hack does work, by the way :)
Now if I can only figure out the cache problem.
Erwin
04-16-2003, 06:55 AM
Are you using the latest version? We fixed a cookie problem in version 1.4.
It would seem that certain servers have trouble with this hack for whatever reason... when I find time I will look into it a bit more... :)
verbum
04-16-2003, 07:14 AM
Yes, I downloaded version 1.4 (three days ago, I think). I compiled IMAP with php, and the hack seemed to work just fine.
I don't get the same problem when using Opera, for example (and neither does the other user)--just IE6.
Stranger still, even with the hack deleted, the cache problem persists. It's because of the entirety of the series of events that I believe that the cache issue ties in with the email hack. Super-coincidences? Could be, I suppose; but the sequence of things suggests otherwise.
Thanks for taking the time to read, Erwin :)
Tom
jbear6
04-16-2003, 11:31 PM
Well, I had this working since the day it was released. I haven't used it for a week or so, and when I tried to use it today, I get this error message: "Fatal error: Call to undefined function: imap_open() in /home2/jbear6/public_html/email.php on line 618".
I also uploaded the newest version, with the same results. Is this the error message you receive if imap is not compiled on the server (even though it was there last week)?
Thanks for any help
Jbear6
Jim Mayhugh
04-16-2003, 11:35 PM
If you're on a shared server, it looks like they updated PHp without IMAP support.
Erwin
04-16-2003, 11:47 PM
Jim is right. Your PHP no longer has IMAP compiled. Talk to your host to put it back in.
jbear6
04-17-2003, 12:31 AM
Thanks guys, yes it is on a shared server, and they have been trying many possible fixes for the "new" MySQL problem . I guess they upgraded PHP also.
Thanks again,
Jbear6
DaveRobbo
04-17-2003, 10:29 AM
Hi Erwin - great hack as usual :D
I do have a couple of questions/concerns though - one *potentially* very serious - I'd appreciate you giving it some thought.
The serious problem is to do with "Who's Online" locations ... when I first log into a POP3 mailbox, Who's Online shows me as "unknown location - email.php" .. and a long session ID string. And this link is clickable! If someone were to click that link, would they get into my mailbox?
I know there is a "how to" somewhere in here about adding new locations to the "who's online" list ... maybe if my worries are correct you need to add a new "location" for "reading mail" ? Can you explain in simpler terms than the "how to", how to do this?
The second problem I'm noticing is that when I actually view a message, i seem to get everything twice - right down from my forum header to footer immediately after the message (i.e. header, mail body, forum footer, header, message and footer again)
Also if the email has stationary (html backgrounds) this stationary seems to be used in my forum header too! A bug in the html mail viewer maybe?
Great work though - sorry if any of these have been mentioned before - I've tried to read through the entire thread again but can't find anyof them mentioned.
Dave
kushtiUK
04-17-2003, 12:37 PM
Today at 11:29 AM DaveRobbo said this in Post #199 (https://vborg.vbsupport.ru/showthread.php?postid=383324#post383324)
I know there is a "how to" somewhere in here about adding new locations to the "who's online" list ... maybe if my worries are correct you need to add a new "location" for "reading mail" ? Can you explain in simpler terms than the "how to", how to do this?
https://vborg.vbsupport.ru/showthread.php?s=&threadid=32849&highlight=unknown+location
jbear6
04-17-2003, 01:30 PM
Today at 05:29 AM DaveRobbo said this in Post #199 (https://vborg.vbsupport.ru/showthread.php?postid=383324#post383324)
The serious problem is to do with "Who's Online" locations ... when I first log into a POP3 mailbox, Who's Online shows me as "unknown location - email.php" .. and a long session ID string. And this link is clickable! If someone were to click that link, would they get into my mailbox?
Dave
I think only the Admin (and maybe Mods) can see the "Unknown Location" link on WOL. A regular registered member will see "Main Index" as the location of the person using email.php.
Jbear6
DaveRobbo
04-17-2003, 07:29 PM
Thank you Jbear ... I hoped that was the case ... but I was looking for confirmation.
It may still be a useful addition to Erwin's hack to provide specific instructions on how to add the email.php to the "Who's Online" locations ... thx Kushti - I knew where the "how to" was .. I just don't find it terribly easy reading
Erwin
04-18-2003, 01:10 AM
Install Firefly's "Who's Online Location" hack - it lets you add other files to Who's Online using your Admin CP. I use it all the time, and it saves you from hacking online.php all the time. :)
DaveRobbo
04-18-2003, 06:44 AM
Thank you Erwin :)
Any comment on the other points I raised?
solent
04-18-2003, 09:00 AM
i have the same proplem as most of the ppl had with the imap_function but then i re-compiled my php with imap enabled and it worked liked a charm.
ppl that still have the impa_function problem it will be a good idea to contact your host to re-compile php with imap enabled.
excellent hack dude.
very nice works
thanks very much
Erwin
04-18-2003, 03:36 PM
04-17-03 at 08:29 PM DaveRobbo said this in Post #199 (https://vborg.vbsupport.ru/showthread.php?postid=383324#post383324)
The second problem I'm noticing is that when I actually view a message, i seem to get everything twice - right down from my forum header to footer immediately after the message (i.e. header, mail body, forum footer, header, message and footer again)
Also if the email has stationary (html backgrounds) this stationary seems to be used in my forum header too! A bug in the html mail viewer maybe?
Mmm... it's another server-specific problem - this hack is very sensitive to individual server setups, etc... I don't really understand why to be honest. What browser did you use? Does it happen with another browser? The only thing to do is to experiment with the hack, change the cookie/ sessionhash settings a bit, see if it helps. :)
bandersen
04-19-2003, 12:54 PM
I changed server to someone that compile IMAP (venturesonline) - and the hack works like a charm!
vB-Host.com
04-20-2003, 10:54 AM
Nice job! Easy install!
http://www.vb-host.com/webmail-shot.gif
Can you tell me how I can make the mail server a hidden field so it can't be changed to what ever so it can be used only by my customers?
vB-Host.com
04-20-2003, 10:58 AM
also can pop3 be a hidden field too? so it would be two fields only showing... user and pass. It gets it is a pop3 server and the mx of the server via hidden fields...
Grunt
04-20-2003, 11:05 AM
check through the pages of the thread...i asked the same thing and got an answer
vB-Host.com
04-20-2003, 11:14 AM
Great! Thanks for the heads up Gruntie!
:Judge:
05-01-2003, 02:14 AM
Fatal error: Call to undefined function: imap_open() in /home/judge/public_html/forums/email.php on line 618
EDIT: I guess I do not have IMAP now maybe?
vB-Host.com
05-01-2003, 02:56 AM
[quote]Fatal error: Call to undefined function: imap_open() in /home/judge/public_html/forums/email.php on line 618
Any idea what this may be?
The error is because your server you are hosting on does not support IMAP....
:Judge:
05-01-2003, 02:59 AM
Yeah I thought that was it, I missed the one post where someone else had the same error.
Contacted server and IMAP should be good to go in about 30 mins.
Thank you for the quick reply :D
vB-Host.com
05-01-2003, 03:03 AM
Today at 08:59 PM :Judge: said this in Post #214 (https://vborg.vbsupport.ru/showthread.php?postid=389799#post389799)
Yeah I thought that was it, I missed the one post where someone else had the same error.
Contacted server and IMAP should be good to go in about 30 mins.
Thank you for the quick reply :D
no prob :banana:
Myself and a few customers are using it.. It is pretty cool... It's not hivemail.. but again it's free ;)
Nice hack...
Sure Hivemail seems nice, but for those offering POP e-mail or planning too, this should be great!
Thanks...
gmarik
05-02-2003, 05:15 AM
So is it for only one account or can I have several users for it?
Can it be interated with HiveMail, have you thought about it?
The open-stream-error:
Ik took me some hours to figure it out, but this seems to be the solution:
$MAILSERVER="{my.server.com:143/imap/notls}INBOX";
or
$MAILSERVER="{pop.server.com:143/pop3/notls}INBOX";
$mbox = imap_open ($MAILSERVER, "username", "password");
Then, it works!!!
It happens when you use a self-signed certificate. The notls-thing tells it not to check for it.
Hope this will lead to a new version?
Jim Mayhugh
05-08-2003, 06:56 PM
I run a number of qmail servers that are set up with virtual accounts. In order to access the account, you have to enter the full e-mail address, ie mymail@mymail.com as the username, as well as the server address. This causes the address in the "From:" header and a few other places to show up as mymail@mymail.com@mymail.com.
Here's how to correct that:
1) Look for:
//CHANGE SETTINGS ABOVE//
Below it add:
$email_regular_expression="^([-!#\$%&'*+./0-9=?A-Z^_`a-z{|}~ ])+@([-!#\$%&'*+/0-9=?A-Z^_`a-z{|}~ ]+\\.)+[a-zA-Z]{2,4}\$";
2) Replace
if ($session_username) $errormessage .= " - ".$session_username."@".$session_server;
with
if (eregi($email_regular_expression, $session_username))
{
if ($session_username) $errormessage .= " - ".$session_username;
}
else
{
if ($session_username) $errormessage .= " - ".$session_username."@".$session_server;
}
3) For each single line occurence of
$generated=$session_username."@".$session_server;
(there are two), replace it with
if (eregi($email_regular_expression, $session_username))
{
$generated=$session_username;
}
else
{
$generated=$session_username."@".$session_server;
}
That should take care of it.
allan grossman
06-12-2003, 12:13 AM
04-01-03 at 08:41 AM D|ver said this in Post #170 (https://vborg.vbsupport.ru/showthread.php?postid=376269#post376269)
wow what a great hack :)
but i get always this error message:
does anybody know, what i can do know ?
imap is installed and configured with php
I get almost exactly the same error but on line 618:
Warning: Couldn't open stream {pointbeing.com:110/pop3}INBOX in /usr/www/bassforum/email.php on line 618
I own the mail and web server. Neither pop3 nor IMAP work. IMAP is compiled into php (Squirrelmail runs flawlessly) username, password and mail server are correct. vB version is 2.3.0
Any ideas? I just downloaded and installed this about half an hour ago so I'm pretty sure it's the current version :)
Is there a syntax to force them to use one server?
Example: mail.myserver.com?
Thanks
Erwin
06-15-2003, 08:33 AM
Yes there is, and the answer to that is somewhere in this thread already. :)
Ian Cunningham
06-15-2003, 12:06 PM
Is there any way so that when a user opens email.php they will automatically be logged into a specific account (i.e predefined $hosts, $pass, $user). Basically, I want all of my mods to only be allowed access to the file and for it to check a single account for news.
Erwin
06-16-2003, 01:49 AM
Yesterday at 11:06 PM Ian Cunningham said this in Post #223 (https://vborg.vbsupport.ru/showthread.php?postid=409219#post409219)
Is there any way so that when a user opens email.php they will automatically be logged into a specific account (i.e predefined $hosts, $pass, $user). Basically, I want all of my mods to only be allowed access to the file and for it to check a single account for news.
Not hard to do at all.
Edit email.php and find:
$errormessage .= "<tr><td align=right><normalfont>Username: </normalfont></td><td><input TYPE=text NAME=user value='$user'></td>\n";
$errormessage .= "<tr><td align=right><normalfont>Server: </normalfont></td><td><input TYPE=text NAME=host value='$host'></td></tr>\n";
$errormessage .= "<tr><td align=right><normalfont>Password: </normalfont></td><td> <input TYPE=password NAME=pass></td></tr>\n";
Replace with:
$user = "Username";
$host = "mail.server.com";
$pass = "Password";
$errormessage .= "<tr><td align=right> </normalfont></td><td><input TYPE=hidden NAME=user value='$user'></td>\n";
$errormessage .= "<tr><td align=right></td><td><input TYPE=hidden NAME=host value='$host'></td></tr>\n";
$errormessage .= "<tr><td align=right></td><td> <input TYPE=hidden NAME=pass value=$password></td></tr>\n";
Edit the values here:
$user = "Username";
$host = "mail.server.com";
$pass = "Password";
It should work... Feel free to edit that bit of code so that it looks the way you want it to.
Ian Cunningham
06-16-2003, 10:08 AM
cheers :) Thats what I am using at the moment, but is there any way to skip this section automatically, i.e it just logged in?
Thanks :)
TheVoidz
06-16-2003, 05:02 PM
Hmmm I got a small problem, Recieving emails works fine but I can't send them, any ideas? oh ya and theres no errors.
Ian Cunningham
06-19-2003, 11:09 AM
This doesnt seem to work with the latest version of PHP... any ideas? I got this help from my hosts.
PHP has been upgraded and you may need to connect to the mail server in a diferent way. With the latest version of PHP, you need to connect to the mail server using;
$inbox = @imap_open ("{server.com/pop3:110/notls}", $username, $password);
Erwin
06-19-2003, 11:35 AM
This definitely works for the newest versions of PHP - I know because I use the latest version.
PHP needs to be compiled with IMAP support. :) That's missing from your host. Your host needs to recompile PHP with IMAP for this to work.
Ian Cunningham
06-19-2003, 11:40 AM
ah, ok. The reason I told my hosts it didn't work was because after I have submitted the form I just end up on a server not found page - and this only happened after the PHP update
Ian Cunningham
06-19-2003, 11:42 AM
looks like it is compiled : http://juliet.dnsaction.com/serverphpinfo
Ian Cunningham
06-19-2003, 04:03 PM
damnit - I still can't get it working, I just get "server not found" :(
Erwin
06-20-2003, 02:21 AM
You're right, your PHP has IMAP. Make sure your host is not using a firewall that blocks the port that IMAP uses... I can't remember what it is exactly.
allan grossman
06-20-2003, 09:32 AM
It's port 143.
Ian Cunningham
06-21-2003, 07:49 AM
Checked that too - damn this is strange!!!! Just as I had integrated it to server all my news posts too - grrrr :(
Mr. Brian
06-24-2003, 09:01 PM
That's what I'm looking for..
Thumbs up!
Ninth Dimension
06-24-2003, 11:52 PM
very very cool, nice little addition to the forum :) I'm not sure if anyone would ever use it, but it's a nice thing to have anyway :)
you once again jave out done yourself, the only thing i would say is that some of the HTML and design could be tided-up a little, but ignoring this, very well done :)
Evil Chris
07-01-2003, 10:52 AM
Erwin, what are the known security issues with using this hack?
Erwin
07-01-2003, 11:53 AM
Today at 09:52 PM Evil Chris said this in Post #237 (https://vborg.vbsupport.ru/showthread.php?postid=414445#post414445)
Erwin, what are the known security issues with using this hack?
None known. :) But I can't guarantee anything - use this at your own risk. As far as I know, it's secure. It uses your normal POP username and password, so it's as secure as that.
Sliderx
07-01-2003, 04:05 PM
Warning: imap_open(): Couldn't open stream {pop.wanadoo.fr:110/pop3}INBOX in /home/******/www/forum/email.php on line 620
i look at the line but i just see
if ($opt=="POP3") $mbox = imap_open("{".$host.":110/pop3}".urldecode($folder), $user, $pass);
where the problem ?
Erwin
07-01-2003, 09:27 PM
Wrong username or password, or mail server name. That's usually the cause of that error.
Evil Chris
07-03-2003, 08:23 PM
07-01-03 at 08:53 AM Erwin said this in Post #238 (https://vborg.vbsupport.ru/showthread.php?postid=414458#post414458)
None known. :) But I can't guarantee anything - use this at your own risk. As far as I know, it's secure. It uses your normal POP username and password, so it's as secure as that.
Yes I suppose the only security issue would be for the end user and not for the board itself. I have installed this on one of my boards and tested it. It's nice.
I had to have my host compile the IMAP (if that makes sense to you).
But I'd like to play with it more until I install it on my busier board.
Cheers...
anywhereanytime
07-06-2003, 05:43 PM
Will this hack work with 2.3 ??
What about v3 Beta 4 ??
We are very excited about this ... are there any screenshots or demo pages to see it in action ??
Erwin
07-07-2003, 10:09 AM
This hack works with 2.3.0 - just upload the file and it will work instantly without any file or template hacking.
Screenshot is in the first post.
It will not work for vB3 until I update it... but it won't be hard to do.
cklaszlo
07-18-2003, 01:14 PM
I get this error:
Fatal error: Call to undefined function: imap_open() in /usr/domains/www.radicalzoo.com/community/email.php on line 619
community.singlereel.com/email.php
cklaszlo
07-18-2003, 01:15 PM
I get this error:
Fatal error: Call to undefined function: imap_open() in /usr/domains/www.radicalzoo.com/community/email.php on line 619
On this site:
http://community.singlereel.com/email.php
Ninth Dimension
07-18-2003, 01:19 PM
lol, once is enough :)
cklaszlo
07-18-2003, 01:24 PM
opps. not my fault. lol. I hit submit once. Sorry about that.
Erwin
07-19-2003, 03:41 AM
cklaszlo,
Where did you download my hack? Obviously not from this site.
You are currently showing up as unlicensed. To be able to download hacks and/or receive support here at vBulletin.org, we ask you to please click here (http://www.vbulletin.com/members/forums.php) (vB-germany users click here (http://www.vbulletin-germany.com/members/forums.php)) and enter your email address, to show us that you are licensed.
You will need to use your customer number and password (which will be in the email you got when you paid for your license) to access that page. Please note that your email is case sensitive.
Thank you.
cklaszlo
07-21-2003, 01:06 PM
Sorry but I do have 2 licences.
1) (ThrillNetwork Boards) Active (Owned) 18th Oct 2003
2) (SingleReel) Active (Leased) 13th Sep 2003
And I did download the hack from this site as with all the other hacks. This email hack we wanted to place on our SingleReel Site. Please check or update your records. Thanks.
Maybe I can get help now? :)
Erwin
07-22-2003, 11:48 AM
You are appearing as licensed now. :) You were appearing as unlicensed before for whatever reason.
Your server needs to have PHP with IMAP compiled. Do it yourself if its dedicated, or ask your host. :)
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.