View Full Version : vBulletin POP3 / IMAP Email Client for vB3 - Web-based access to POP email accounts!
Erwin
06-16-2004, 10:00 PM
vBulletin POP3 / IMAP Email Client
Version 1.4 for vBulletin 3.x.x by Dr Erwin Loh
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!
If you see this error message, you do NOT have IMAP compiled with PHP:
Fatal error: Call to undefined function: imap_open() in /home/yourforums/public_html/forum/email.php on line 652
Please click the install link at the bottom of this thread for updates.
Enjoy! :)
Add-Ons (OPTIONAL) -
1) 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!
2) Force user to use a specific mail server:
In email.php, find:
$HTML .= "<tr><td align=right>Server: </td><td><input TYPE=text NAME=host value='$host'></td></tr>\n";
Change to:
$HTML .= "<input TYPE=hidden NAME=host value='mail.yourserver.com'>";
Change 'mail.yourserver.com' to your own mail server subdomain name.
3) To force users to use only POP3 or IMAP
In email.php, find:
$HTML .= "<tr><td align=right>Type: </td><td> POP3<INPUT TYPE=radio size=1 NAME=opt group=opt value='POP3' checked>";
$HTML .= "IMAP <INPUT TYPE=radio size=1 NAME=opt group=opt value='IMAP'></td></tr>";
// $HTML .= "<input type='hidden' name='opt' value='POP3'>\n"; // set to IMAP als IMAP
Replace with:
$HTML .= "<input type='hidden' name='opt' value='POP3'>";
Change POP3 to IMAP if you wish.
Updates:
Version 1.1 - removed the vB2 variable $bburl which was left over.
Version 1.2 - removed the vB2 variable $bbtitle, changed it to vB3, and also fixed up the table heading variable - purely cosmetic.
Version 1.3 - added automatic navbar support.
Version 1.4 - fixed email address server name domains, removed 1 query by caching template, fixed Attachment: alignment.
Screenshots:
1. Login screen
2. List of emails
3. Reading emails
4. Composing emails
Enjoy! :D
corsacrazy
06-17-2004, 12:36 PM
cant get it to work what is an example input for username/ server etc pls
just takes me to
my url /email.php?CMD=cookie which is an 404 page
did you put ads on that hack?
because i just got a popup..
Erwin
06-17-2004, 01:05 PM
did you put ads on that hack?
because i just got a popup..
Of course not.
Erwin
06-17-2004, 01:06 PM
cant get it to work what is an example input for username/ server etc pls
just takes me to
my url /email.php?CMD=cookie which is an 404 page
It works fine on my server. Do you have IMAP compiled with your PHP?
corsacrazy
06-17-2004, 01:44 PM
It works fine on my server. Do you have IMAP compiled with your PHP?
yes definatly ... do you want to take a look or can i see yours as a demo?
Boofo
06-17-2004, 01:44 PM
The $bburl isn't parsing right. When I click it, I get the same error. I have it set at http://www.yoursite.com/forums/email.php but it keeps going to http://www.yoursite.com/email.php after clicking the button.
corsacrazy
06-17-2004, 01:46 PM
The $bburl isn't parsing right. When I click it, I get the same error. I have it set at http://www.yoursite.com/forums/email.php but it keeps going to http://www.yoursite.com/email.php after clicking the button.
thats what i was tryin to say basically :) lol cheers man
NuclioN
06-17-2004, 01:46 PM
Erwin can there be a reason why a host not want to let people use IMAP based mail?
pjdaley
06-17-2004, 02:06 PM
maybe, someone can post the codes to edit the usercp so it'll have its own section, if member has never used the e-mail, it'll make them (if they choose to) give user and pw, and ect. so their account e-mail can get set up.... and also... under private messages on the forumhome, it'll say E-mails: or whatever... :squareeyed:
Ryan Ashbrook
06-17-2004, 02:22 PM
Great! Thanks I'll install this A.S.A.P. Been waiting for it. :)
attroll
06-17-2004, 04:27 PM
Erwin
Code you fix your first post so that we can read what is withing the PHP codes in the actual post?
350Chevy
06-17-2004, 04:27 PM
thats what i was tryin to say basically :) lol cheers man
Yup, same thing.. it's trying to goto /email.php instead of forums/email.php
I fixed that manually by doing a replace all $bburl/ to $bburl/forums/
Now am unable to recieve e-mail or login.. when entering my e-mail information...
Warning: Couldn't open stream {****.com:110/pop3}INBOX in /home/www/lssix/forums/email.php on line 653
350Chevy
06-17-2004, 04:31 PM
When trying to access hotmail:
ERROR
The requested URL could not be retrieved
--------------------------------------------------------------------------------
While trying to retrieve the URL: http://www.lssix.com/forums/email.php?
The following error was encountered:
Zero Sized Reply
Squid did not receive any data for this request
Looks like it needs some work.. Will be great when all the bugs are worked out though.. ;)
attroll
06-17-2004, 04:42 PM
I changed all the $bburl's and now I get the following error:
Fatal error: Call to undefined function: imap_open() in /home/atphotos/public_html/forum/email.php on line 652
RMS-Chef
06-17-2004, 04:43 PM
Odd....
I am getting the following error:
Fatal error: Call to undefined function: imap_open() in /xxxx/xxxx/xxxx/vb/email.php on line 652
(above for POP3 and line 653 when IMAP is selected)
phpinfo shows "mod_imap" as a loaded module....should that cover it?
gwhooooey
06-17-2004, 07:34 PM
Works fine for me... but I'd rather it was layed out better. Hopefully you'll do something about this in a future update.
Erwin
06-17-2004, 07:40 PM
I changed all the $bburl's and now I get the following error:
Fatal error: Call to undefined function: imap_open() in /home/atphotos/public_html/forum/email.php on line 652
It means you don't have IMAP compiled with PHP.
Erwin
06-17-2004, 07:51 PM
Update:
Version 1.1 - removed the vB2 variable $bburl which was left over.
Please download and upload the new email.php to fix the this bug. The redirects should work properly now.
Erwin
06-17-2004, 07:56 PM
Odd....
I am getting the following error:
Fatal error: Call to undefined function: imap_open() in /xxxx/xxxx/xxxx/vb/email.php on line 652
(above for POP3 and line 653 when IMAP is selected)
phpinfo shows "mod_imap" as a loaded module....should that cover it?
That is odd, as it should work if IMAP is compiled with PHP. Either recompile PHP again with IMAP, or speak to your host.
Jolten
06-17-2004, 08:07 PM
>>Call to undefined function: imap_open() in /home/atphotos/public_html/forum/email.php on line 652<<
Same error on my server. I assume it's because I don't have imap configured with php on the server.
DWard
06-17-2004, 08:08 PM
Won't let me login, says details are incorrect, but they're not.
Erwin
06-17-2004, 08:10 PM
Won't let me login, says details are incorrect, but they're not.
Try another POP account and see. Some mail servers have high security and don't allow web-based logins. This hack definitely works as my members are using it on my site.
corsacrazy
06-17-2004, 08:28 PM
i get this crap aswell
Call to undefined function: imap_open() in /home/public_html/forum/email.php on line 652
Erwin
06-17-2004, 08:30 PM
i get this crap aswell
Call to undefined function: imap_open() in /home/public_html/forum/email.php on line 652
Read my first post - you need IMAP compiled with PHP for POP access to work on PHP.
Merjawy
06-17-2004, 09:00 PM
Thanks Erwin
I've tried it ... but :)
Fatal error: Call to undefined function: imap_open() bluh bluh :(
I guess I can't use it for now till I get IMAP support... thnx though
350Chevy
06-17-2004, 09:27 PM
I got it to work.. anyway you could get the HTML to work in the e-mails? or no..
350Chevy
06-17-2004, 09:29 PM
One other thing.. when anyone sends an e-mail no matter what account or server they're logged into it's always sent from: Nobody [nobody@lssix.propagation.net]
Erwin
06-17-2004, 10:07 PM
One other thing.. when anyone sends an e-mail no matter what account or server they're logged into it's always sent from: Nobody [nobody@lssix.propagation.net]
That's probably because you do not have suexec compiled for php, so "nobody" is the owner of the php file.
My users and myself are able to send emails with the proper From: email information.
deathemperor
06-18-2004, 01:42 AM
primium yahoo/hotmail accounts....does that mean free-accounts cannot access via this hack ? if not, this would be incredible since yahoo upgrade free accounts to 100MB.
350Chevy
06-18-2004, 02:11 AM
Hotmail's pop server name is pop3hot.com.. I have no idea what Yahoo's is but I'm sure you could find out if you did a little research...
That's probably because you do not have suexec compiled for php, so "nobody" is the owner of the php file.
And exactly how would I do this? :ermm:
Erwin
06-18-2004, 02:15 AM
Hotmail's pop server name is pop3hot.com.. I have no idea what Yahoo's is but I'm sure you could find out if you did a little research...
And exactly how would I do this? :ermm:
Recompiling php with suexec, and making sure it's set in httpd.conf. To be honest, your problem is quite odd since most hosts would have it set up properly already.
Erwin
06-18-2004, 02:16 AM
primium yahoo/hotmail accounts....does that mean free-accounts cannot access via this hack ? if not, this would be incredible since yahoo upgrade free accounts to 100MB.
You can only access POP mail accounts, so if your yahoo/ hotmail accounts have POP, this would work.
deathemperor
06-18-2004, 01:25 PM
Y!mail upgraded but unfortunately free account still cannot use pop.
bad, It won't be able to grow up my board with this cool hack...
350Chevy
06-18-2004, 01:55 PM
Use Google's GMail when it's released (if it's not released yet).. It gives you 1000MB of email space.. that's 1 GIG of e-mail.. FREE.. :D
mharmon
06-18-2004, 02:02 PM
How can you check to see if you have IMAP compiled? I'm getting the same 404 error.
RetroDreams
06-18-2004, 02:14 PM
Erwin,
Lovely piece of work. What would be involved to make templates for this and build around this? This is some solid work and I'd love to integrate it further.
ChurchMedia
06-18-2004, 04:56 PM
I saw someone had this same error but didn't see a solution.
Warning: imap_open(): Couldn't open stream {******.net:110/pop3}INBOX in /***path/***to/forum/email.php on line 652
Any ideas? Great hack concept!
mdunne2004
06-18-2004, 06:13 PM
Super Hack, cheers m8
mbanje
06-18-2004, 07:22 PM
nice
thanks
why-not
06-18-2004, 10:38 PM
Hi
It works great for me, I am running it on 2 servers (1) windows/Apache/VB/Merak the other Unix/Apache/VB/UOW imap...
Also I did not have any trouble installing it!
Thanks Again.....
F!
dreamhost
06-18-2004, 10:38 PM
For some reason the table is displaying as 70% when I view the source. It means that my table is cutting off the right side, so instead of "log out" and anything that may be beyond that, I get "log o" with the page cut off.
I checked my vb globals and all tables are set to 100%.
I also searched the code from email.php but do not see the 70% width variable anywhere.
Is there something that I may be missing that would cause this?
Erwin
06-19-2004, 01:28 AM
I saw someone had this same error but didn't see a solution.
Warning: imap_open(): Couldn't open stream {******.net:110/pop3}INBOX in /***path/***to/forum/email.php on line 652
Any ideas? Great hack concept!
Wrong user information or the mail server is not authenticating you.
Erwin
06-19-2004, 01:30 AM
Erwin,
Lovely piece of work. What would be involved to make templates for this and build around this? This is some solid work and I'd love to integrate it further.
That's planned, but would take a long time. I wanted to upgrade the vB2 version of this to vB3 so that people can upgrade to vB3 with this.
Erwin
06-19-2004, 01:30 AM
For some reason the table is displaying as 70% when I view the source. It means that my table is cutting off the right side, so instead of "log out" and anything that may be beyond that, I get "log o" with the page cut off.
I checked my vb globals and all tables are set to 100%.
I also searched the code from email.php but do not see the 70% width variable anywhere.
Is there something that I may be missing that would cause this?
That's very odd, since I'm merely using the generic standard error vB3 template. I suggest playing around with the HTML code in email.php and see if that helps.
custsrvcrep
06-19-2004, 04:19 AM
Sorry for what is probably a stupid question: But is there a way to easily verify that your server meets the requirements (IMAP support compiled AND suexec compiled) BEFORE you attempt to install this hack? Is there a command-prompt command that could be issued to find out the above? Thank you
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 see this error message, you do NOT have IMAP compiled with PHP:
:
Fatal error: Call to undefined function: imap_open() in /home/yourforums/public_html/forum/email.php on line 652
:
Originally Posted by 350Chevy
One other thing.. when anyone sends an e-mail no matter what account or server they're logged into it's always sent from: Nobody [nobody@lssix.propagation.net]
That's probably because you do not have suexec compiled for php, so "nobody" is the owner of the php file.
SnowBot
06-19-2004, 04:20 AM
Erwin it all works great here, no problems at all.
Thanks for sharing this great addition :)
* SnowBot clicks instal :)
Erwin
06-19-2004, 04:43 AM
Sorry for what is probably a stupid question: But is there a way to easily verify that your server meets the requirements (IMAP support compiled AND suexec compiled) BEFORE you attempt to install this hack? Is there a command-prompt command that could be issued to find out the above? Thank you
Considering this hack is a 1 file upload with no PHP or template editing, the easiest way to find out is to download and upload the file, and run it.
You can look at your phpinfo if you know how to do it, but the fact that you are asking how to do it, means that it's easier to just upload and see if it runs.
Erwin
06-19-2004, 04:52 AM
Update Version 1.2
-------------------------
Updated vB2 variable $bbtitle to vB3, and fixed up the table heading so it states the correct name of the application.
This is purely a cosmetic upgrade - all you need to do is download and upload the new email.php - nothing to do really. It does look better, and your forum name shows up correctly, so I would say to do it. :)
custsrvcrep
06-19-2004, 05:48 AM
Thank you for your response. Since it doesn't work, I guess that means something isn't installed. :)
my url /email.php?CMD=cookie which is an 404 page
Considering this hack is a 1 file upload with no PHP or template editing, the easiest way to find out is to download and upload the file, and run it.
You can look at your phpinfo if you know how to do it, but the fact that you are asking how to do it, means that it's easier to just upload and see if it runs.
PS: mod_imap loaded under apache
Princeton
06-19-2004, 12:28 PM
{installs}
great job erwin!
attroll
06-19-2004, 01:50 PM
It means you don't have IMAP compiled with PHP.
Erwin
I don't want to use IMAP. Is there a was I can use this without IMAP?
neocorteqz
06-19-2004, 05:58 PM
Erwin
I don't want to use IMAP. Is there a was I can use this without IMAP?
Ditto, this is a great hack, but i don't have IMAP compiled with php.
Kalakov
06-19-2004, 08:56 PM
anyone know how to use this with gmail ?
nice hack0r btw =)
calldaffer
06-20-2004, 12:09 AM
I uploaded and when I try to log into my pop3 mail it loads a blank page. Any ideas why?
SnowBot
06-20-2004, 01:06 AM
Update Version 1.2
-------------------------
Updated vB2 variable $bbtitle to vB3, and fixed up the table heading so it states the correct name of the application.
This is purely a cosmetic upgrade - all you need to do is download and upload the new email.php - nothing to do really. It does look better, and your forum name shows up correctly, so I would say to do it. :)
Again works perfect :)
Thanks for the update Erwin.
Nice.
However, emails are sent with Unknown Sender as the name, and it doesn't seem to want to pick up the custom fields I set up for name...
*edit* Noticed that templating is not implemented. :o
one question about the userid
is there any way to give the permission to special persons?
if (!in_array($bbuserinfo['usergroupid'], array(5,6,7))) print_no_permission();
-> and if usergroupid (2) then permission for user with id 658,356,18,25 ....
is there any way to do?
big thx (installed)
Ahh.
I have a bit of a problem.
The login to my server IS my email address, so my 'From name' is displayed as 'username@domain@mail.domain.com'
I have hacked a few pieces of this hack out, and it works...but is there a way to stop this from happening?
Actually, even if my login to my mail server was just username, my 'From name' would still be 'username@pop3.domain.com' or whatever.
Have I missed something?
Erwin
06-20-2004, 12:04 PM
Ahh.
I have a bit of a problem.
The login to my server IS my email address, so my 'From name' is displayed as 'username@domain@mail.domain.com'
I have hacked a few pieces of this hack out, and it works...but is there a way to stop this from happening?
Actually, even if my login to my mail server was just username, my 'From name' would still be 'username@pop3.domain.com' or whatever.
Have I missed something?
This used to happen with my vB2 version - to be honest, I don't know how to fix that. You might want to search the vB2 thread and see if someone else posted a fix.
calldaffer
06-20-2004, 01:11 PM
I uploaded and when I try to log into my pop3 mail it loads a blank page. Any ideas why?
Anybody?
iamwhitey
06-20-2004, 07:19 PM
getting this error
Fatal error: Call to undefined function: imap_open() in /home/jwhite/public_html/forums/email.php on line 654
imap is turned on my server, is this me doing something wrong or what?
Erwin
06-20-2004, 08:53 PM
getting this error
Fatal error: Call to undefined function: imap_open() in /home/jwhite/public_html/forums/email.php on line 654
imap is turned on my server, is this me doing something wrong or what?
You do not have the IMAP module compiled with PHP. Turning on the IMAP server makes no difference - you need IMAP compiled with PHP.
gwhooooey
06-20-2004, 09:17 PM
<a href="https://vborg.vbsupport.ru/showpost.php?p=393091&postcount=219" target="_blank">https://vborg.vbsupport.ru/showp...&postcount=219</a>
^ That's an edit I found for your previous vb2 hack to remove the @fdfsf.com thingy in the from box.
Would that still work with this one, or do you have to edit it a bit? Thanks
ranger2kxlt
06-20-2004, 11:20 PM
one thing on the add-on feature....
I have a few accounts for my members on the site, and there username as there email but my server requires the @forumname.com as well for part of the username sign-in.
Any help?
Thanks
This used to happen with my vB2 version - to be honest, I don't know how to fix that. You might want to search the vB2 thread and see if someone else posted a fix.
I'll try what gwhoooey mentioned in post #66 in this thread and let you know how I get on.
YAY! *hugs gwhooey*
That worked like a charm.
find:
//CHANGE SETTINGS ABOVE//
Add above:
$email_regular_expression="^([-!#\$%&'*+./0-9=?A-Z^_`a-z{|}~ ])+@([-!#\$%&'*+/0-9=?A-Z^_`a-z{|}~ ]+\\.)+[a-zA-Z]{2,4}\$";
find:
if ($session_username) $errormessage .= " - ".$session_username."@".$session_server;
replace with:
if (eregi($email_regular_expression, $session_username))
{
if ($session_username) $errormessage .= " - ".$session_username;
}
else
{
if ($session_username) $errormessage .= " - ".$session_username."@".$session_server;
}
find (2 times)
$generated=$session_username."@".$session_server;
replace both instances with:
if (eregi($email_regular_expression, $session_username))
{
$generated=$session_username;
}
else
{
$generated=$session_username."@".$session_server;
}
ChrisBaktis
06-21-2004, 02:11 AM
Im going to sound real dum here but I uploaded the file and inputed the following:
my email is chris.baktis@rustysoaptraders.com
username: chris.baktis
Sever: rustysoaptraders.com
Password: -not showing-
This then takes me to a blank page that says:
http://rustysoaptraders.com/forums/email.php?CMD=cookie
1st) am I entering the right info?
2nd) why is it going to a blank page. I noticed 2 others asked but an answer was never really given. I believe my host has the right config setup for this.
RetroDreams
06-21-2004, 03:20 AM
For some reason the table is displaying as 70% when I view the source. It means that my table is cutting off the right side, so instead of "log out" and anything that may be beyond that, I get "log o" with the page cut off.
I checked my vb globals and all tables are set to 100%.
I also searched the code from email.php but do not see the 70% width variable anywhere.
Is there something that I may be missing that would cause this?
It is being inheirited from your tborder code. You will need to change it in there.
Im going to sound real dum here but I uploaded the file and inputed the following:
my email is chris.baktis@rustysoaptraders.com
username: chris.baktis
Sever: rustysoaptraders.com
Password: -not showing-
This then takes me to a blank page that says:
http://rustysoaptraders.com/forums/email.php?CMD=cookie
1st) am I entering the right info?
2nd) why is it going to a blank page. I noticed 2 others asked but an answer was never really given. I believe my host has the right config setup for this.
I am positive that I am using the correct information for my username and host's pop server (I can access it fine using outlook using the same info)
I have successfully logged in a couple of times to two of my pop accounts, but the greater majority of the time I get the same blank page everyone else is describing with the following url in the address bar:
http://www.mydomain.net/forum/email.php?CMD=cookie
Erwin
06-21-2004, 03:55 AM
Im going to sound real dum here but I uploaded the file and inputed the following:
my email is chris.baktis@rustysoaptraders.com
username: chris.baktis
Sever: rustysoaptraders.com
Password: -not showing-
This then takes me to a blank page that says:
http://rustysoaptraders.com/forums/email.php?CMD=cookie
1st) am I entering the right info?
2nd) why is it going to a blank page. I noticed 2 others asked but an answer was never really given. I believe my host has the right config setup for this.
server is for mail server - you are entering your domain name, not the mail server address, which is usually mail.domainname.com.
iamwhitey
06-21-2004, 04:08 AM
You do not have the IMAP module compiled with PHP. Turning on the IMAP server makes no difference - you need IMAP compiled with PHP.
um... anyway you could give me a reference on how to turn this on?
Erwin
06-21-2004, 05:05 AM
You need to recompile PHP with the IMAP module.
Cold Steel
06-21-2004, 06:02 AM
Works like a charm. Thanks.
ChrisBaktis
06-21-2004, 01:26 PM
server is for mail server - you are entering your domain name, not the mail server address, which is usually mail.domainname.com.
I did this and still get same blank page.
calldaffer
06-21-2004, 07:19 PM
I did this and still get same blank page.
same here man. I know I am entering in all my info right but it only loads a blank page. I'd love to use this but it seems no one has an answer to this problem.
gmtalk
06-21-2004, 07:35 PM
Can you verify that IMAP is compiled for your server? Originally I thought that it was compiled in and was getting the same blank page. Upon my recompilling php it has worked flawlessly.
ranger2kxlt
06-21-2004, 10:45 PM
Is there a way to recompile this by yourself or do you need the host to?
Erwin
06-21-2004, 11:09 PM
Is there a way to recompile this by yourself or do you need the host to?
You won't be able to do it unless you are on a dedicated or virtual server.
58sniper
06-22-2004, 12:49 AM
Okay - a couple of suggestions....
1. The attachment label and button should be on a new table row - otherwise they stretch fixed tables. I fixed this in my copy, but an overall fix would be nice.
2. It would be nice if this also included the ability to update WHO'S ONLINE to show as "Checking Email" or something similar instead of "Unknown Location /forum/email.php?CMD=compose"
3. The ability to grant access to this based on usergroups would be especially cool....
Erwin
06-22-2004, 02:51 AM
Okay - a couple of suggestions....
1. The attachment label and button should be on a new table row - otherwise they stretch fixed tables. I fixed this in my copy, but an overall fix would be nice.
2. It would be nice if this also included the ability to update WHO'S ONLINE to show as "Checking Email" or something similar instead of "Unknown Location /forum/email.php?CMD=compose"
3. The ability to grant access to this based on usergroups would be especially cool....
3. Is already possible - look and edit the email.php file itself (or read the first post carefully). :)
Natch
06-22-2004, 04:15 AM
I fuond that whenever I attempt to login, it takes me back to the same page with to alteration to the page, or error msg ...
@erwin
is there any way to give the permission to special persons fom a forbidden group ?
58sniper
06-22-2004, 09:57 PM
Okay - some things that need to be addressed:
1. The date field should be nowrap
2. The table widths are still screwed, with the table sometimes only being 70% wide.
Also, to make this show up in the WHO'S ONLINE area:
in includes/functions_online.php find
case 'attachment':
$userinfo['action'] = $vbphrase['viewing_attachment'];
if ($seetitle)
{
$userinfo['where'] = "<a href=\"showthread.php?$session[sessionurl]p=$postid#postid=$postid\" title=\"$threadpreview\">$threadtitle</a>";
}
break;
under that put
case 'check_email':
$userinfo['action'] = "Checking Email";
$userinfo['where'] = "<a href=\"email.php\">Email</a>";
break;
find
case 'attachment.php':
$userinfo['activity'] = 'attachment';
break;
and insert this under it
case 'email.php';
$userinfo['activity'] = 'check_email';
break;
Erwin
06-23-2004, 12:12 AM
This hack is meant to be plug-and-play - hence I avoided adding instructions for further integration - obviously if members want to modify it for their own forums, they are free to do so. :)
Kohhal
06-23-2004, 12:36 PM
I've a problem which I don't think has come up yet.
When sending a mail to another account from within this email client the "From" address is not working correctly. It works ok for me if I allow myself the ability to change it but the other way ie. in normal operation - the mail that arrives shows "nobody@myhost.com" in the "From" field?
Any idea why this is happening? :disappointed:
Erwin
06-23-2004, 10:27 PM
I've a problem which I don't think has come up yet.
When sending a mail to another account from within this email client the "From" address is not working correctly. It works ok for me if I allow myself the ability to change it but the other way ie. in normal operation - the mail that arrives shows "nobody@myhost.com" in the "From" field?
Any idea why this is happening? :disappointed:
Interesting... this is dependent on who owns the php files on your server - most servers which do not have suexec on for apache and/or php will have the user nobody own the web files, hence the name nobody. To be perfectly honest, I don't know how to go around it, except to advise to try to switch on suexec for apache first, and if that doesn't help, recompile php with phpsuexec. On my server, all I needed was suexec for apache.
Boofo
06-23-2004, 11:01 PM
Interesting... this is dependent on who owns the php files on your server - most servers which do not have suexec on for apache and/or php will have the user nobody own the web files, hence the name nobody. To be perfectly honest, I don't know how to go around it, except to advise to try to switch on suexec for apache first, and if that doesn't help, recompile php with phpsuexec. On my server, all I needed was suexec for apache.
Does it hurt to have them both turned on?
I've a problem which I don't think has come up yet.
When sending a mail to another account from within this email client the "From" address is not working correctly. It works ok for me if I allow myself the ability to change it but the other way ie. in normal operation - the mail that arrives shows "nobody@myhost.com" in the "From" field?
Any idea why this is happening? :disappointed:
Err...have I been tachied or something?
Check this post (https://vborg.vbsupport.ru/showpost.php?p=524753&postcount=68) that I made in this thread.
It fixed the issue for me.
Erwin
06-24-2004, 12:11 AM
Does it hurt to have them both turned on?
Having them turned on increases the load ever so slightly. You should have the apache one on. The php one caused some load issues and other bugs for me so I don't compile php with it.
And thanks kall! :) Maybe I should add it to my hack...
And thanks kall! :) Maybe I should add it to my hack...
You are most welcome Mr Erwin Sir. :)
However, the real thanks goes to gwhooey, who pointed out the post in your vb2 thread, and to whoever it was that posted said post.
:)
I am positive that I am using the correct information for my username and host's pop server (I can access it fine using outlook using the same info)
I have successfully logged in a couple of times to two of my pop accounts, but the greater majority of the time I get the same blank page everyone else is describing with the following url in the address bar:
http://www.mydomain.net/forum/email.php?CMD=cookie
I am still having the same trouble with this...
It seems to work correctly about 10-15% of the times I try it, but once it has failed it will not work again until I delete all of my cookies, clear out my internet cache, and wait for a few hours.
It also doesn't matter which pop account I am trying to log in to (I have 3 that I am trying to access, two of which are from my own servers)
Any recommendations on what I can try to either fix this or further steps I can take to help diagnose what is wrong?
Does it matter that I have the email.php file located in my /forum/ directory? Is that the same place everyone else has it? (I had assumed that was where it went but couldn't find any actual documentation that that is where it is supposed to go)
calldaffer
06-24-2004, 12:55 AM
***uninstalled***
couldn't get past a white screen after submitting.
In case it is helpful...
the exact sequence that occurs:
I attempt to login with
username = allenbm@sbcglobal.net
server = pop.sbcglobal.yahoo.com
password = <my password>
after a few seconds I am redirected to this url:
http://www.mydomain.net/forum/email.php?user=&host=&message=Unable+to+login+with+the+information+you+e ntered.+Please+login+again.
(mydomain.net was edited by me in this post)
if I then re-enter the information (exactly the same as before) then with almost no pause at all (like something is cached improperly) I am taken to this url:
http://www.mydomain.net/forum/email.php?CMD=cookie
and displayed in my browser is the The page cannot be displayed
The page you are looking for is currently unavailable. The Web site might be experiencing technical difficulties, or you may need to adjust your browser settings. page
returning to email.php after this has happened and re-enterring the same information (which I am positive is correct) continues to take me directly to the http://www.mydomain.net/forum/email.php?CMD=cookie URL with no apparent attempt to reload the information.
Erwin
06-24-2004, 01:42 AM
Sounds like weird cookie problems. Not sure the cause of that to be honest. Some servers run this hack without problems - I've run this on 2 different setups, and so have other people who've installed this. Other people have servers that do not have IMAP, or have different setups that are just incompatible.
Kohhal
06-24-2004, 06:55 AM
Err...have I been tachied or something?
Check this post (https://vborg.vbsupport.ru/showpost.php?p=524753&postcount=68) that I made in this thread.
It fixed the issue for me.
Thanks but that didn't solve the problem for me, still getting the mail from nobody@myhost.com although I see now that my email address that it shows is correct when I'm logged in. :( ?
350Chevy
06-24-2004, 03:48 PM
Err...have I been tachied or something?
Check this post (https://vborg.vbsupport.ru/showpost.php?p=524753&postcount=68) that I made in this thread.
It fixed the issue for me.
Yeah, same issue (nobody@host.com) .. Tried that, didn't work.. :(
Thnx though.. :)
kevin_r1
07-02-2004, 12:47 PM
Installed.
Question: Is there a way to add an automatic session timeout in the event the user does not logout manually?
*Clicks Install
THis is an awesome addition.
I am having one issue. After deleting some messages on my IMAP server, I got this error:
Warning: date(): Windows does not support dates prior to midnight (00:00:00), January 1, 1970 in C:\Net\wwwroot\hosted\forums.clanterritory.com\ema il.php on line 244
Also, I always see the e-mail headers. When I click the show headers button, it takes me to a another pages where I see two copies of the e-mail headers above the message.
Is there a way to make the username and host name the user logs into with the first time automatically get added to the custom userprofile fields we added in your optional addition?
I would love it if the next version could feature these enhancements.
A folder pane with the folders listed in a heiarchy on the left of the messages
HTML support for the messages
Not sure if it is possible, but it seems to run slowly compared to the other web client I use...any speed increases for IMAP would be appreciated.
Use a paperclip icon to display whether a mail has an attachment
Convert HTML links into links when viewing the message
Display the normal forum toolbar and breadbox above mail
Match the style of the page to the style used on the page it was linked from
Make unread messages appear in bold
Both the message and the sender should be hyperlinks that open the message as some messages come in without a sendername and you cannot open those in your tool
An easy method to copy or move messages to other folders.
In POP3 mode, does it leave a copy of the message on the server so that it will stay there until you delete it?
How do I make IMAP be the default radio button instead of POP3? Is there any way to store the default in a profile like we can the username and host?
As I said, this is an excellent addition to the forum. I really like it! Great work!
Shan
gwhooooey
07-07-2004, 11:21 PM
How would I get the navbar to show?
I've edited it quite a bit to my liking, that's the only thing really missing. Thanks for your help and great hack :)
Erwin
07-07-2004, 11:39 PM
How would I get the navbar to show?
I've edited it quite a bit to my liking, that's the only thing really missing. Thanks for your help and great hack :)
I'm going to add this to the hack, probably this weekend. Not hard to do, and no need to touch templates. :)
gwhooooey
07-08-2004, 12:36 AM
Will you be changing much else with this hack in this update, or do you mean...you'll just be adding the navbar to it over the weekend? If you're adding other stuff, would it be possible just to tell me now what's needed for the navbar bit?
aranthorn
07-08-2004, 01:02 AM
I had no problem-o. thx man!
axecity
07-08-2004, 05:22 AM
***uninstalled***
couldn't get past a white screen after submitting.
Same problem here. Did anyone who had this white screen, CMD=cookie halting problem get it corrected? There seems to be quite a few of us experiencing this.
Erwin
07-08-2004, 06:47 AM
Same problem here. Did anyone who had this white screen, CMD=cookie halting problem get it corrected? There seems to be quite a few of us experiencing this.
I have no idea why that should be happening to be honest. If I knew I would offer a suggestion. Mmm... could be conflicting cookies...
zennifer
07-08-2004, 03:33 PM
I get redirected to the following url:
http://www.mydomain.com/boards/s=&user=myuserid&host=mail.mydomain.com&pass=mypassword&opt=IMAP&submit=Login
And the forum home is displayed. Is anyone else having this problem?
-Jennifer
I have no idea why that should be happening to be honest. If I knew I would offer a suggestion. Mmm... could be conflicting cookies...
how do you have your cookie info setup for vb erwin?
I am running with whatever the default settings are, have you altered any of the cookie related settings in the admincp?
Erwin
07-08-2004, 10:36 PM
how do you have your cookie info setup for vb erwin?
I am running with whatever the default settings are, have you altered any of the cookie related settings in the admincp?
Everything is default, except I have the cookie domain blank.
Blackbeard
07-09-2004, 08:31 PM
This looks like a very nice hack, I am getting this alos..........forums/email.php?CMD=cookie
If someone finds a fix for this please post
Erwin
07-13-2004, 12:31 PM
Update:
----------
Version 1.3 - added automatic navbar support.
To upgrade, just download and upload the new email.php file. :) No file to edit or anything else to change.
gwhooooey
07-13-2004, 06:13 PM
When I change
//Change the userid number below to yours if you want yourself to be able to change the FROM email address
if ($bbuserinfo[userid] == 1) $allowfromchange = "1";
to
//Change the userid number below to yours if you want yourself to be able to change the FROM email address
if ($bbuserinfo[userid] == 0) $allowfromchange = "1";
it says
[no sender name]
*confused*
...and clicking the check box next to From in the inbox, should select all the other check boxes right? Well... it doesn't. And how would I make it so Attachment: is on a different line?
Erwin
07-13-2004, 08:16 PM
You're meant to change the userid = number to your own userid, or change $allowchange to 0 - making userid = 0 would not work.
gwhooooey
07-13-2004, 09:37 PM
Ah right, okay... what about the check box thing?
And how would I make it so Attachment: is on a different line?
Oh yes :rolleyes:
Please dont forget this !
This would be great
SnowBot
07-14-2004, 10:53 AM
Update:
----------
Version 1.3 - added automatic navbar support.
To upgrade, just download and upload the new email.php file. :) No file to edit or anything else to change.
Nice job Erwin, appreciated mate :)
gwhooooey
07-14-2004, 08:41 PM
I'm still getting the no sender name when I send myself an email... can somebody else try this and see what happens to them when they do it?
Baptizer
07-15-2004, 12:53 AM
Erwin:
Great hack, works perfectly! Quick Question though...Id only like this to work for people who have email addresses for my specific website. In other words, I would really like to hardcode my server to be:
server: 2darkpark.com
and option set to POP
Id like to remove the server box totally and the pop/IMAP option. Could you show me what code to edit?
redlabour
07-15-2004, 04:17 PM
What did i have to do if i update to 3.0.3 ??
Does it work with it ?
Erwin
07-15-2004, 08:26 PM
It works with 3.0.3. If you are observant, you can see that I am using 3.0.3 :)
spence2
07-16-2004, 01:39 AM
I know this question will probably just be a reflection of my ignorance, but...if I offer email accounts to my members and they receive an email infected with a virus...would this have any effect on my site, server, etc?
danbc
07-16-2004, 06:00 PM
Hey Erwin, great hack man, works like a charm! :)
One thing though.. Is it possible to set a "fixed" server, so my users doesn?t have to/cant log into any ?ther server than the one specified?
yeah i'd like to change that 2. I am trying to figure it out. If it find out how, i'll let you know.
Erwin
07-17-2004, 01:44 PM
Hey Erwin, great hack man, works like a charm! :)
One thing though.. Is it possible to set a "fixed" server, so my users doesn?t have to/cant log into any ?ther server than the one specified?
Easy:
In email.php, find:
$HTML .= "<tr><td align=right>Server: </td><td><input TYPE=text NAME=host value='$host'></td></tr>\n";
Change to:
$HTML .= "<input TYPE=hidden NAME=host value='mail.yourserver.com'>";
Change 'mail.yourserver.com' to your own mail server subdomain name.
Done!
I added these instructions to the first post. :)
lol thats better
I just deleted the entire input line and added
$host = "mail.yoursvere.com"; at the top.
Erwin how would i go about shutting down pop3 /imap selection. I just want them to be able to check the pop3.
and thanks !
danbc
07-17-2004, 02:48 PM
Sweet, thanks Erwin :)
QQ, not really relatated to your hack, but is it possible to make a navbarbutton that only specific usergroup(s) can see?
Erwin
07-17-2004, 10:52 PM
lol thats better
I just deleted the entire input line and added
$host = "mail.yoursvere.com"; at the top.
Erwin how would i go about shutting down pop3 /imap selection. I just want them to be able to check the pop3.
and thanks !
3) To force users to use only POP3 or IMAP
In email.php, find:
$HTML .= "<tr><td align=right>Type: </td><td> POP3<INPUT TYPE=radio size=1 NAME=opt group=opt value='POP3' checked>";
$HTML .= "IMAP <INPUT TYPE=radio size=1 NAME=opt group=opt value='IMAP'></td></tr>";
// $HTML .= "<input type='hidden' name='opt' value='POP3'>\n"; // set to IMAP als IMAP
Replace with:
$HTML .= "<input type='hidden' name='opt' value='POP3'>";
Change POP3 to IMAP if you wish.
I added this to the first post.
Erwin
07-17-2004, 10:53 PM
Sweet, thanks Erwin :)
QQ, not really relatated to your hack, but is it possible to make a navbarbutton that only specific usergroup(s) can see?
Use template conditionals.
gwhooooey
07-18-2004, 12:14 AM
Two things I'd like for you to look at if possible.
1. I'd like to know how to get the Attachment: part on a new line, as it stretches the page
2. Can you check this post (https://vborg.vbsupport.ru/showpost.php?p=524753&postcount=68) which does work in correcting the @domain.com@pop.domain.com issue... to make sure there's nothing wrong with the fix and wont effect/mess up anything.
Thankyou
Erwin
07-18-2004, 03:58 AM
<u>UPDATE</u>
Version 1.4
1) Fixed email address server name domains
2) Removed 1 query by caching template
3) Fixed Attachment: alignment.
To upgrade, just upload new email.php.
Erwin
07-18-2004, 04:04 AM
Two things I'd like for you to look at if possible.
1. I'd like to know how to get the Attachment: part on a new line, as it stretches the page
2. Can you check this post (https://vborg.vbsupport.ru/showpost.php?p=524753&postcount=68) which does work in correcting the @domain.com@pop.domain.com issue... to make sure there's nothing wrong with the fix and wont effect/mess up anything.
Thankyou
1) Fixed.
2) I added it to my hack actually in the version 1.4 update. :) It's a good idea.
1) Fixed.
2) I added it to my hack actually in the version 1.4 update. :) It's a good idea.
Wow! That's my post. :)
I just grabbed the latest email.php , but the test message I sent to myself came thru as nobody@myserver.com :(
Erwin
07-18-2004, 05:02 AM
Wow! That's my post. :)
I just grabbed the latest email.php , but the test message I sent to myself came thru as nobody@myserver.com :(
Was that the same problem as you had before???
Was that the same problem as you had before???
Yeah man, it was.
The other email.php (that I may or may have not mangled with my own code to make it work) still works, but there's no beautiful navbar.
Want me to email/PM you my one that works (the old one, minus the navbar) so you can compare the 2?
Erwin
07-18-2004, 11:33 AM
Yeah man, it was.
The other email.php (that I may or may have not mangled with my own code to make it work) still works, but there's no beautiful navbar.
Want me to email/PM you my one that works (the old one, minus the navbar) so you can compare the 2?Okay, let me take a look so I can see what the problem is. :) PM me, or attach it to a post here.
Okay, let me take a look so I can see what the problem is. :) PM me, or attach it to a post here.
Allrighty then.
Here's the one that works.
gwhooooey
07-18-2004, 12:01 PM
Just sent myself two test emails...
One with it set to
if ($bbuserinfo[userid] == 1) $allowfromchange = "1";
...which then showed my email addy in the From box
but when I changed it to
if ($bbuserinfo[userid] == 1) $allowfromchange = "0";
it said [no sender name]
Is that a problem with the php file? Or... do I need to talk with my hosting company or something? :-\
Not quite sure how I'd go about having it either say my name, or just the email addy at least, but I'd rather have the option for editing the From box, turned off
Edit - Just looking around for info from the hosting company, is this to do with it?
For outgoing mail server settings you be using smtp.yourdomain.com. We also recommend that you enable SMTP AUTH in your mail client for reliable sending of email.
... and i'm still not getting the check box to work next to From... it is meant to highlight the other check boxes when pressed right? Well it's not for me
*sigh* lol
Well maybe i misunderstood, but afaik isn't mine supposed to look like seen in screenshots in first post? On mine i only see navbar and footer and in between you see the email client. No tables or headers like can be seen in those screenshots. I did not change anything. Very tired atm so if it's just me let me know please hehe
thanks again !
Erwin
07-18-2004, 09:34 PM
*sigh* lol
Well maybe i misunderstood, but afaik isn't mine supposed to look like seen in screenshots in first post? On mine i only see navbar and footer and in between you see the email client. No tables or headers like can be seen in those screenshots. I did not change anything. Very tired atm so if it's just me let me know please hehe
thanks again !
I'm using a different base template now so that the navbar works. The other template had a table - the generic template does not.
SnowBot
07-18-2004, 10:36 PM
All working great here :) Thanks for the update Erwin.
Its crazy.
I changed it to 1.4 and after this adress...
http://myurl/email.php?CMD=cookie
... i get a white page.
Whats going wrong?
Its the same mail address and nothing changed?!
Is there someting i have to do ?
Please help me :disappointed:
Erwin
07-19-2004, 10:43 PM
Its crazy.
I changed it to 1.4 and after this adress...
http://myurl/email.php?CMD=cookie
... i get a white page.
Whats going wrong?
Its the same mail address and nothing changed?!
Is there someting i have to do ?
Please help me :disappointed:
I'll test a theory.
Check your config.php - do you have a cookie prefix for vB? If not, set it to "bb".
Then log out, and log in, and try again. See if that fixes this cookie problem.
I'll test a theory.
Check your config.php - do you have a cookie prefix for vB? If not, set it to "bb".
Then log out, and log in, and try again. See if that fixes this cookie problem.
i checked it.
it is set to "bb"!
log out and in doesn't change anything.
in firefox the same.
:rolleyes: maybe under 3.03? -> on 3.02 it works very well?!
Natch
07-20-2004, 09:53 AM
Erwin: I am using vB 3.0.2 still, but I have had this problem since the beginning.
I get no errors (PHP or otherwise) - but when I attempt to login with this script, it just takes me back to the same page - it doesn't seem to return anything at all.
I have PM'ed you with a test account, and the URL.
Erwin
07-20-2004, 10:11 AM
i checked it.
it is set to "bb"!
log out and in doesn't change anything.
in firefox the same.
:rolleyes: maybe under 3.03? -> on 3.02 it works very well?!
I had it working on 3.0.0, 3.0.1, 3.0.2 and 3.0.3. :) So it's not that.
Natch, when I tried your forum, it just gave me a 404 error when I tried to use it.
The moral of the story is that this hack does not seem to like some servers it seems. I don't really know why - I've run this hack on 3 different servers, and they all work.
Natch
07-20-2004, 10:24 AM
404 when you loaded the page? or 404 when you attempted to login to your chosen email account??
The moral of the story is that this hack does not seem to like some servers it seems.
this might be true
now i tried the same with 1.3 and 1.2.
suddenly, this script has no desire to work.
the provider didn't change anything.
i hope you'll find it :surprised:
Erwin
07-20-2004, 07:40 PM
404 when you loaded the page? or 404 when you attempted to login to your chosen email account??
When I login.
Natch
07-20-2004, 10:30 PM
Gee - that's just plain wierd - for me it seemed to re-load the same exact page ...
Erwin
07-20-2004, 11:28 PM
Gee - that's just plain wierd - for me it seemed to re-load the same exact page ...
You said it. :) I'm sure it's the way I've coded the cookies to work - I'll revisit it when I find time.
Natch
07-21-2004, 12:53 AM
Thanks Doc - your attention to detail is as always appreciated ;)
i checked it.
it is set to "bb"!
log out and in doesn't change anything.
in firefox the same.
:rolleyes: maybe under 3.03? -> on 3.02 it works very well?!
After waiting 2 days, i can log in (all versions).
I think, that it is a server problem.
Nothing changed by my side and now it works!
I don't know what happens on the server.
I forgot - great work!
The attachement problem is over now!
neocorteqz
08-07-2004, 02:47 AM
Fatal error: Cannot re-assign $this in /home/neocort2/public_html/email.php on line 120
any ideas?
Erwin
08-07-2004, 06:02 AM
Fatal error: Cannot re-assign $this in /home/neocort2/public_html/email.php on line 120
any ideas?
No idea. :)
n00belit3
08-09-2004, 07:30 AM
One word describes this hack AWESOME. Easiest and prob one of the most useful hacks ive installed.
Now if there was just a way to allow users to register free email account on your site that would be, well..... :banana: :banana:
Beowolf
08-17-2004, 05:23 PM
Parse error: parse error, unexpected $ in /home/thebarr/public_html/forum/email.php on line 712
Sorry if this has been posted, I have only read the first page and the last page :( An inside thread search for it produced nothing.
I got that error when I tried access email.php
pmay68
08-31-2004, 03:58 AM
how do I put a link on my navbar to lead users to the email sign in
neocorteqz
08-31-2004, 11:41 AM
how do I put a link on my navbar to lead users to the email sign in
In the Navigation / Breadcrumbs > Navbar
Edit this template and anywhere you'd like it to be, add this..
<td class="vbmenu_control"><a href="$vboptions[bburl]/email.php">Email</a></td>
You can also create a custom global phrase called pop_email, then you can use it in several templates you would like. that code would look like this
<td class="vbmenu_control"><a href="$vboptions[bburl]/email.php">$vbphrase[pop_email]</a></td>
the code you are looking for to put this, starts after this code.
<!-- nav buttons bar -->
<div align="center">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center" style="border-top-width:0px">
<tr align="center">
pmay68
08-31-2004, 11:52 PM
Thankyou very much... Worked well!!!!
neocorteqz
09-01-2004, 04:15 AM
Thankyou very much... Worked well!!!!
Glad to help.
This program rocks!!! Click install :)
DWard
09-09-2004, 06:04 PM
it's ok but ive never managed to get it working with my pop email
Dalvosaber
09-10-2004, 09:18 PM
Is there anyway that I could hide the Pre-Set The Server Name and then Hide it from the User?
Erwin
09-12-2004, 11:00 PM
Is there anyway that I could hide the Pre-Set The Server Name and then Hide it from the User?
I think someone else or possibly myself posted the way to do this in this thread.
fiber1
09-13-2004, 11:31 AM
Has anyone figure out the "Page cannot be diplayed" cookie issue?
forums/email.php?CMD=cookie
Fiber
eblivion
09-20-2004, 05:14 PM
------------------PROBLEM 1-----------------------------------
Scipt error when using select all checkbox to delete all messages.
Line: 543
Char: 3
Error: 'document.forms.0.allemaal.checked' is null or not an object
Code: 0
What do I need to do to fix this?
----------------PROBLEM 2------------------------------------
Also, I was able to access the email.php page successfully when I was logged in as an admin. I logged to the forum with a registered member account that I set up and got the standard forum permssion error:
"..., you do not have permission to access this page. This could be due to one of several reasons..."
What do I need to edit to allow all registered users to access the page?
-Thanks
Erwin
09-20-2004, 10:56 PM
------------------PROBLEM 1-----------------------------------
Scipt error when using select all checkbox to delete all messages.
Line: 543
Char: 3
Error: 'document.forms.0.allemaal.checked' is null or not an object
Code: 0
What do I need to do to fix this?
----------------PROBLEM 2------------------------------------
Also, I was able to access the email.php page successfully when I was logged in as an admin. I logged to the forum with a registered member account that I set up and got the standard forum permssion error:
"..., you do not have permission to access this page. This could be due to one of several reasons..."
What do I need to edit to allow all registered users to access the page?
-Thanks
Read the instructions in the first post.
eblivion
09-22-2004, 10:02 PM
Thanks Erwin,
The 2nd prob was an oversight on my part. The registed user acct that I logged into was under a new usergroup that I created. I had forgotten to add it to the list.
- Sorry about that -
I'm still having problems with the script error, though.
Do you have any idea what may be causing that to occur?
Erwin
09-22-2004, 10:57 PM
Thanks Erwin,
The 2nd prob was an oversight on my part. The registed user acct that I logged into was under a new usergroup that I created. I had forgotten to add it to the list.
- Sorry about that -
I'm still having problems with the script error, though.
Do you have any idea what may be causing that to occur?
None. I use the same code on my site and it works. Possibly conflict with javascript from another hack.
eblivion
09-23-2004, 12:42 AM
That's very likely. I've added quite a few mods.
~ Thanks ~
eblivion
09-26-2004, 01:41 PM
Erwin, it's me again...
I sent an e-mail using a member account I created that is not allowed to edit the "from" field. The compose page properly showed the un-editable from e-mail address. However, when I checked the e-mail account that I sent it to, it had the following:
From: World Wide Web Owner <www@xxxx.sxxxxxxes.net>
Why does it not show the from e-mail address for the user and why is it showing my website address?
I haven't made any modifications to the code except to the permissions.
Rick Sample
09-26-2004, 02:41 PM
I need a test site :p I found one that has this installed, but I don't know what to put in the field server: I want it to use my e-mail address from myhost.com/webmail Any thoughts on this?
Rick Sample
09-26-2004, 02:52 PM
ok, I keep getting that fatal error thing because I don't have imap on my php
Is their a site where I can download it at?
Thanks
Wential
09-26-2004, 09:18 PM
Installation went perfectly. I credit the author's great install instructions. :)
Erwin
09-27-2004, 06:33 AM
Erwin, it's me again...
I sent an e-mail using a member account I created that is not allowed to edit the "from" field. The compose page properly showed the un-editable from e-mail address. However, when I checked the e-mail account that I sent it to, it had the following:
From: World Wide Web Owner <www@xxxx.sxxxxxxes.net>
Why does it not show the from e-mail address for the user and why is it showing my website address?
I haven't made any modifications to the code except to the permissions.
Interesting... there is a fix for this posted somewhere in this thread. See if you can find it. The fix may be in the vB2 version as well. I thought I had addressed this in the latest version.
Wential
09-27-2004, 03:39 PM
ok, I keep getting that fatal error thing because I don't have imap on my php
Is their a site where I can download it at?
ThanksHopefully this is the last time this fix will have to be posted.
1. Go into your Windows folder on your server. For example, mine is located at C:\Windows
2. Open PHP.ini
3. Under the Dynamic Extensions, find ;extension=php_imap.dll
4. Remove the ; (semi-colon) from in front of it, making it extension=php_imap.dll
5. Save the file and restart your web site for the changes to take effect (optional but recommended).
P.S. If you don't have your own server and your host won't give you root access, you're screwed!
Kohhal
09-28-2004, 08:57 AM
Interesting... there is a fix for this posted somewhere in this thread. See if you can find it. The fix may be in the vB2 version as well. I thought I had addressed this in the latest version.
I still have this problem also even though I've tried the fixes in the thread, doomed to be without this hack I think :(
eblivion
09-28-2004, 08:13 PM
I still have this problem also even though I've tried the fixes in the thread, doomed to be without this hack I think :(
I was unable to find the fix. I redownload/uploaded the email.php file and it now uses the correct "FROM" info. I guess the previous download was corrupt. Still have the script error with select all option, but I can fix that myself.
SVTBlackLight01
09-28-2004, 09:43 PM
Great job, Erwin. :up:
Installed with no errors.
I do have a few problems.
The "check all" box doesn't check all the check boxes, and it's not sending the mail, although I am getting the confirmation.
dieselpowered
09-29-2004, 04:12 PM
Great hack my friend...can someone tell me one thing...I seem to remember a screen that shows logging in...please wait.....
And then when logging out another screen that shows logging out...please wait...
Right now, all I have when I logout is this - michael@xtremeoff-road.com and then it says "You Have Been Logged Out" Is that the way it should be?
Does this make sense at all???
Mike
Burgy
09-29-2004, 09:18 PM
This hack is about as usefull as litghter for a smoker!
After registration they can even fetch mail from the just anywhere with your hack to confirm their registration!!!!!
Best Greatings from Berlin and thanks very mutch
Yours Burgy Zapp
eblivion
09-29-2004, 09:33 PM
I wasn't able to fix the script error with the select all "From" checkbox. Here's the error in Internet Explorer:
Line: 977
Char: 3
Error: 'document.forms.0.allemaal.checked' is not null or not an object
Code: 0
Does anyone have any idea how to fix this?
eblivion
09-29-2004, 09:38 PM
Great hack my friend...can someone tell me one thing...I seem to remember a screen that shows logging in...please wait.....
And then when logging out another screen that shows logging out...please wait...
Right now, all I have when I logout is this - michael@xtremeoff-road.com and then it says "You Have Been Logged Out" Is that the way it should be?
Does this make sense at all???
MikeThat IS what you should get. I think it's a nice touch.
Erwin
09-29-2004, 11:07 PM
I wasn't able to fix the script error with the select all "From" checkbox. Here's the error in Internet Explorer:
Line: 977
Char: 3
Error: 'document.forms.0.allemaal.checked' is not null or not an object
Code: 0
Does anyone have any idea how to fix this?
I'll take a look when I find time. :) Never noticed it.
eblivion
09-29-2004, 11:18 PM
I'll take a look when I find time. :) Never noticed it.
~ Thanks ~
dieselpowered
09-29-2004, 11:19 PM
ok cool, just making sure...I thought it said something different before
Thanks!
Mike
zer026
09-29-2004, 11:30 PM
First off I must say great job Erwin! However I've noticed a rather large problem. When you view html-based email it for some odd reason changes the forum page background to the page attributes coded in the email.
Any ideas? Thanks.
Ber|Art
10-15-2004, 09:41 AM
Thank you very much this is working great, also the navbar add is OK :)
ndahiya
10-23-2004, 08:02 PM
firstly, it is a great mod!
but seem to be running into a small problem
my pop username is "user+domain.com@domain.com"
when i send a mail from email.php, it goes ok, but the recipient sees no sender ("sender unspecified")... what is a workaround for this?
one possible solution::: vbulletin itself sends mails with well-formed From: addresses. wonder if that module can be used to send a mail ?
ndahiya
samjo
10-27-2004, 01:12 AM
Err, ok, i?ll try to post with my little knowledge in using english, ?cause it?s about some years ago when i learned it in school ;)
anyway, first of all, big thx for this "hack", it?s working fine so far at my vbb, except the problem ndahiya mentioned at last in this thread.
what about an additional input field to set the desired email-address and show it instead of the server?s name? didn?t tried it so far, but think it couldn?t be that kind of work, could it?
well, the reason for which i do this post is another:
i did a little work on the email.php and translated all shown texts into german. for there was a little [in german it is: "Meinungsverschiedenheit" ;) ] for the german translation of the v3arcade-hack, i decided to myself to post it at vb.org at first and than ask if it is ok to post it on the vbulletin-germany-board.
there for i?ve got another question about the code:
how do i get the send-date formatted in german to the "reply"-page?
for example there is actually shown:"On Tue, 26 Oct 2004 11:27:19 <email-sender> wrote:"
but i?d like to see there something like this:" Am Die, 26.Okt 2004 11:27:19 schrieb <email-sender>"
Would be fine, if someone could give some help to this, ?cause it?s the last thing that is not shown in german.
Thx,
and Greetz,
from SamJo ;)
[German translated email.php attached]
unbelievable :D I clicked the virtuell "install"-Button In
Meinungsverschiedenheit = variance of opinion or difference in opinions or disagreement :rolleyes:
The Prohacker
11-06-2004, 06:30 AM
Has anyone mentioned a fix for receiving mail from "unknown sender"?
Everything else is working great, however when I send a message to another of my email accounts during testing I get:
From - unknown sender
and when I try to "Reply to" the address field is blank - I have to manually enter the email address.
Checked through all four pages and haven't seen anything yet.....unless I'm blind
Any help would be appreciated.
Erwin
11-07-2004, 12:23 AM
Wow, so many replies. :) I've been extremely busy - if I have time I'll look into it.
Setting a default email address as a reply is fairly simple to do by just adding that variable as a hidden input. I've been busy with my own site recently, doing 2 migrations in a short period of time - I will look into this when I find the time. :)
just wish there was a address book with it!
great mod..for admins
<installed>
Sweet Evil
11-10-2004, 04:55 PM
I get the error
Fatal error: Call to undefined function: imap_open() in /home/domain/public_html/forums/email.php on line 695
any ideas?
Erwin
11-10-2004, 09:15 PM
I get the error
any ideas?
Read the first post - you need IMAP compiled with PHP.
Harry Bo
11-18-2004, 07:47 PM
Hi all,
I've got a bit of an odd problem... just installed the hack with our own highly-modified 3.0.3. I've added the user profile fields and modded the form as per the instructions - no problems.
When I go to login, IMAP works fine. Loads the folders, shows messages etc - great :)
However, when I try to login to a POP3 server (I've tried a couple now), it fails and my PHP error log shows:
[18-Nov-2004 21:36:11] PHP Warning: imap_open(): Couldn't open stream {mail.domain.com:110/pop3}INBOX in /path/vbb/email.php on line 699
Any ideas? We're on PHP 4.3.8, hosted by Rackspace. If you have any suggestions, I'd greatly appreciate your help :)
Cheers,
HB
Erwin
11-25-2004, 09:44 PM
Is port 110 open or blocked by your firewall?
Harry Bo
11-25-2004, 11:06 PM
It seems to be open, I just tried logging in to my POP3 server via Telnet from the webserver and there are no issues there :)
Thanks,
HB
dookie
11-27-2004, 09:32 AM
I get
Warning: imap_open(): Couldn't open stream {pop3.xxxxxxxx.de:110/pop3}INBOX in /home/htdocs/web11/html/board/email.php on line 693
After that it redirects me to the login-form and displays the message:Unable to login with the information you entered. Please login again.
But my login informations ARE correct. :(
deathemperor
11-27-2004, 01:07 PM
good news that Gmail now support POP3
but my server could never been compared to Google's T_T
Deaths
12-09-2004, 03:33 PM
Hey there,
When I go to <myforum>/email.php I get :
Warning: Unknown(/home/death/public_html/vb/email.php): failed to open stream: Permission denied in Unknown on line 0
Warning: Unknown(/home/death/public_html/vb/email.php): failed to open stream: Permission denied in Unknown on line 0
Warning: (null)(): Failed opening '/home/death/public_html/vb/email.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in Unknown on line 0
I have no idea what I have done wrong , since there is nothing to do wrong :ermm: .
How can I fix this?
Thanks
Oops , fixed it already , it didnt have permitions :nervous: .
Thanks anyway :D
boo.3
12-09-2004, 11:55 PM
nice hack!!!
the text is hard to read on my gray background tho
boo.3
12-09-2004, 11:58 PM
where would be to code to change font color?
achtungbaby
12-12-2004, 05:18 AM
Great hack. Couple of questions though before I release it to my forum (and please excuse me if they sound dumb and/or they've been asked already):
1) How secure is this? To date I've given out about twenty email accounts to users from my site and nearly all of them access their webmail through a secure connection.
2) How much of a server resource hog is this? I have about 1,200+ emails in my inbox (I'm very slow to respond to emails:P) When I try logging in, it gets to the "now logging you in" page and then basically times-out. I have to hit refresh in order to actually see my inbox. I've tried using another email account and it still takes a while before I actually see some emails.
3) Is there any sort of pagination available?
jad65
12-18-2004, 02:49 PM
Thanks for this great hack
Installed and all working fine
1- Just if some one inter any wrong username or server name, coming this erroe and also if login me out affter sometime
Warning: imap_open(): Couldn't open stream {ggg:110/pop3}INBOX in /home/xxxxx/public_html/forum/email.php on line 695
2- and, how to chang font size please ?
Thanks again for help
sonicdriven
12-27-2004, 06:25 AM
Worked Perfect for me as well. :)
dieselpowered
12-27-2004, 07:14 AM
Worked fine for me except for the select all check box....Java error?
NexVision
12-29-2004, 01:42 AM
My question is I have installed this and its great also added the link in the navbar is there anyway to only make the navbar link show for certain usergroups.
djjeffa
12-30-2004, 01:03 AM
My question is I have installed this and its great also added the link in the navbar is there anyway to only make the navbar link show for certain usergroups.
<if condition="$bbuserinfo[usergroupid] == X"> $templatevar </if>
The Prohacker
01-01-2005, 04:26 PM
Still having trouble with no return sender with this hack.
While I'm composing the message, my user name shows up in the "From" box, like the first picture attached.
However, when I send it to my test gmail account, the message I receive is from "Unknown Sender", and the "Reply To" box is empty, like in pictures 2 and 3.
If I change to this...:
//You can allow or disallow users from changing the FROM email address by switching this to 0 for no or 1 for yes
$allowfromchange = "1";
...the hack works perfectly and my user name shows up in the test email "From" box, and is also in the "Reply To" box.
Which is perfect, except I do not want the other users to have the ability to change the "From" to an admin or mods nick and pass off the email as coming from someoene else.
I also do not want the users to have email being sent from "Unknown Sender" though.
If I switch it back to "0" however, I again get an email from "Unknown Sender" and the "Reply To" box is empty.
I know I can also change the third option to have myself as the only one allowed to change the "From" variable, however again, I don't want the other user's having emails sent from "Unknown Sender's".
Anybody have any ideas?
I really like this hack, but need to configure it properly.
Slave
01-09-2005, 08:59 AM
hmm .. I'd love to get this working on my forums ..
One problem though .. When trying to get into my own mailbox, which is based on the same server, I keep getting this error ..
Warning: imap_open(): Couldn't open stream {mail.domain.net:110/pop3}INBOX in /email.php on line 695
Now .. I know I'm using the right login info as it works when using http://www.mail2web.com/ ..
I've seen others have the same problem .. could it be because the mailbox is on the same server but using a different domain to what the email.php file is using?
Perhaps there is a security setting on the server to stop things jumping from one domain to another?
If anyone could shed some light on this it would be appreciated .. ta :)
Erwin
01-09-2005, 06:34 PM
hmm .. I'd love to get this working on my forums ..
One problem though .. When trying to get into my own mailbox, which is based on the same server, I keep getting this error ..
Warning: imap_open(): Couldn't open stream {mail.domain.net:110/pop3}INBOX in /email.php on line 695
Now .. I know I'm using the right login info as it works when using http://www.mail2web.com/ ..
I've seen others have the same problem .. could it be because the mailbox is on the same server but using a different domain to what the email.php file is using?
Perhaps there is a security setting on the server to stop things jumping from one domain to another?
If anyone could shed some light on this it would be appreciated .. ta :)
Your port 110 is blocked by your firewall? IMAP is not compiled in your PHP?
Slave
01-10-2005, 06:09 AM
Your port 110 is blocked by your firewall? IMAP is not compiled in your PHP?
Hi Erwin .. :)
This is what I've got in my PHP info ..
IMAP c-Client Version 2001
SSL Support enabled
Kerberos Support enabled
So it looks like I've got IMAP enabled ..
Next thing to look at is the firewall .. Although if I can get to my mailbox via a different server, wouldn't that then be the same for my own server getting to a different domain on the same box?
Cool - works perfectly on www.swanseasucks.com
djjeffa
01-26-2005, 02:52 AM
Cool - works perfectly on www.swanseasucks.com
Ok I cant get this to work lol
when i fill out the feilds and click log in it takes me to http://mysite.com/fourm/email.php?CMD=cookie
The page cannot be found
any ideals
djjeffa
02-03-2005, 08:44 PM
Ok I cant get this to work lol
when i fill out the feilds and click log in it takes me to http://mysite.com/fourm/email.php?CMD=cookie
The page cannot be found
any ideals
BUMP?
Erwin
02-03-2005, 09:03 PM
BUMP?
This happens on some servers - I can't explain it to be honest.
NexVision
02-03-2005, 09:15 PM
This happens on some servers - I can't explain it to be honest.
I have been reviewing his issue since he is a friend of mine havent tested it yet but my answer is in the filename he has the email.php in his folder as Email.php could this be the problem?
Erwin
02-05-2005, 03:26 AM
I have been reviewing his issue since he is a friend of mine havent tested it yet but my answer is in the filename he has the email.php in his folder as Email.php could this be the problem?
Yes, on linux filenames are case sensitive.
djjeffa
02-20-2005, 12:10 AM
Ok I cant get this to work lol
when i fill out the feilds and click log in it takes me to http://mysite.com/fourm/email.php?CMD=cookie
The page cannot be found
any ideals
Im a dummy the e in email was capitol lol
Durtay
02-20-2005, 04:25 PM
Erwin is there anywhere you can suggest on how to install IMAP for dummies? I'd like for my users to have email access via my forums but it seems I don't have IMAP installed.
ccunnin71
02-23-2005, 01:02 PM
Erwin this is VERY nice. Thank you. I installed it with relatively no problems. My only suggestion or request is if you could illustrate a good way to integrate it into vB3. I could likely jury rig a link on the nav bar, or create a forum link to goto it... both are messy option in my book.
Does anyone have suggestions on how to add a link in UserCP? Just the php file change or is it a template that needs to be adjusted?
Once again Erwin great MOD!! :D
Durtay
02-23-2005, 10:30 PM
Erwin this is VERY nice. Thank you. I installed it with relatively no problems. My only suggestion or request is if you could illustrate a good way to integrate it into vB3. I could likely jury rig a link on the nav bar, or create a forum link to goto it... both are messy option in my book.
Does anyone have suggestions on how to add a link in UserCP? Just the php file change or is it a template that needs to be adjusted?
Once again Erwin great MOD!! :D
It's a template edit. In your templates find the one called "USERCP_SHELL"
If you want it in the 'Settings & Options' category, in that template find:
<if condition="$show['profilepiclink']">
<tr>
<td class="$navclass[profilepic]" nowrap="nowrap"><a class="smallfont" href="profile.php?$session[sessionurl]do=editprofilepic">$vbphrase[edit_profile_picture]</a></td>
</tr>
</if>
and below it add:
<tr>
<td class="$navclass[options]" nowrap="nowrap"><a class="smallfont" href="email.php?$session[sessionurl]">Email</a></td>
</tr>
i believe thats the correct URL
ccunnin71
02-24-2005, 12:02 PM
You are correct Sir! I meddled with the code a bit but thank you very much with the pointer. Great MOD! Thankfully I my webhosting service had PHP set up to make this a smooth install. ;)
BigCheeze
02-24-2005, 09:32 PM
Hmmm... I get a blank page. When I look at the source all I see is
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1"></HEAD>
<BODY></BODY></HTML>
TechGuy
02-25-2005, 01:22 PM
I've got this exact problem as well... Anyone know of any solutions?
Still having trouble with no return sender with this hack.
While I'm composing the message, my user name shows up in the "From" box, like the first picture attached.
However, when I send it to my test gmail account, the message I receive is from "Unknown Sender", and the "Reply To" box is empty, like in pictures 2 and 3.
If I change to this...:
//You can allow or disallow users from changing the FROM email address by switching this to 0 for no or 1 for yes
$allowfromchange = "1";
...the hack works perfectly and my user name shows up in the test email "From" box, and is also in the "Reply To" box.
Which is perfect, except I do not want the other users to have the ability to change the "From" to an admin or mods nick and pass off the email as coming from someoene else.
I also do not want the users to have email being sent from "Unknown Sender" though.
If I switch it back to "0" however, I again get an email from "Unknown Sender" and the "Reply To" box is empty.
I know I can also change the third option to have myself as the only one allowed to change the "From" variable, however again, I don't want the other user's having emails sent from "Unknown Sender's".
Anybody have any ideas?
I really like this hack, but need to configure it properly.
H@K@N
03-01-2005, 09:30 AM
Hello Erwin,
very cool addition, th@nks ....
How can i make a check for new mails automatically in a refresh meta tag ? So that the Mail System checks every 5 Minutes for new Mails automatically.
Still have a Problem, if i read Mails, that they are layered with the Background Image, the Box is missing, where the content of the Mail could be read.
see attached screenshot
pxtek
03-06-2005, 08:43 PM
Fatal error: Call to undefined function: imap_open() in /home/pxtek00/public_html/forum/email.php on line 695
This happens after i input all my infos on the fields and selected POP3
how to fix
Erwin
03-06-2005, 08:52 PM
Fatal error: Call to undefined function: imap_open() in /home/pxtek00/public_html/forum/email.php on line 695
This happens after i input all my infos on the fields and selected POP3
how to fix
:sigh: Read my first post - you do not have imap compiled in php.
MojoNixon
03-15-2005, 11:12 AM
Ok now i have some serious problems ...i tried it with 3 different mail "providers"
First one is working: T-Online (German provider):
I can log in with the data, but when i want to send an email i get the following error message:
Fatal error: Call to undefined function: mail() in /home/htdocs/web1/html/board/email.php on line 686
Don´t know how to solve it.
2nd provider: google mail.
i used the data which i regulary use on gmail.com.
Pop Server: pop.gmail.com
It takes ages to connect and after that it says that my login information is wrong.
3rd provider....i have a Linux Root Server..so the Pop Data is something like that:
pop.mydomain.net
In Outlook its working like a charm. When i use the same login information it says after a short while that i cannot login with the specified data. This is when i try it with Firefox......when i use Opera is see the error message for a short time:
Warning: imap_open(): Couldn´t open stream pop.mydomain.de/110/pop3 Inbox in/email.php on line 695
i hope you can help me out with that.
EH-Jay
03-17-2005, 11:27 PM
Works 100% perfect. EXACTLY what I wanted. Awesome job! Also it's easy to modify too ;)
Erwin
03-20-2005, 08:41 PM
This hacks works fine for some servers, not for others - it's to do with the different OS installs and firewall settings. All I can say is that it works for most servers. :)
integra99
03-24-2005, 04:51 AM
I'd find it helpful to add the following features. If you coulduseonedomain to login and authenticate for checking mail, but be abletosetanother domain to actually put on the headers for the emailaddressandthe one listed at the top of every page as the address.
The way my web hosting is setup, I have one main domain thatalltheemail accounts are setup under. The email names from theotherdomainsare just aliases.
i.e. use User1@domain1.com for authentication, but use User1@domain2.com (useUser1@domain2.com) in the header information, 'from' address, listed at the top of the page, etc.
Flow Fusion
04-01-2005, 11:13 AM
thank you worked perfectly
Hi. This hack looks awesome, and I decided I'd use it to set up IMAP accounts for my moderators. I created profile fields that could only be access from the admincp to hold the username and password, and I was forcing it to use our server for mail. They'd get no permission if I hadn't entered a username and password for them. If they had, all they'd see is the log-in button. (If I get this working I'll probably make it auto-login, but I won't worry about that until later)
Didn't work. I always get the "Unable to login with the information you entered. Please login again." error.
Here's the section of the code I've modified.
if (!$session_server)
{
$user = $bbuserinfo['field20'];
$host = "tasteslikespam.com";
$pass = $bbuserinfo['field21'];
if ($message) $HTML .= "<font size=-1>$message</font>";
$HTML .= "<form ACTION='email.php?CMD=cookie' METHOD='post'>\n";
$HTML .= "<table cellpadding=0 cellspacing=0 border=0 width=100%><tr><td align=center colspan=2><br><b>vB POP3 / IMAP Email Login Client 1.4 - by Dr. Erwin Loh</b><br><br></td>\n";
$HTML .= "<input TYPE=hidden NAME=username value='$user'>";
$HTML .= "<input TYPE=hidden NAME=host value='$host'>";
$HTML .= "<input TYPE=hidden NAME=pass value='$pass'>";
$HTML .= "<input type='hidden' name='opt' value='IMAP'>";
$HTML .= "<tr><td align=center colspan=2><input type=\"submit\" class=\"button\" name=\"submit\" value=\"Login\" accesskey=\"s\" tabindex=\"3\">";
$HTML .= "</td></tr></table></form><br /><br />";
When I test them same login and server in thunderbird, it works fine.
What did I do wrong? Does it seem like it's just my server?
EDIT: Nevermind, I've got it working.
boo.3
05-17-2005, 03:35 PM
Fatal error: Call to undefined function: imap_open() in /home/b3playg/public_html/forums/email.php on line 695
Erwin
05-18-2005, 02:40 AM
Fatal error: Call to undefined function: imap_open() in /home/b3playg/public_html/forums/email.php on line 695
Read the first post. You don't have IMAP compiled in PHP.
COBRAws
05-23-2005, 04:58 PM
is there an addon or way to integrate de "new post" or "new thread" editor for this? So we can give HTML format to emails :D
thanx in advance
Erwin
05-25-2005, 02:53 AM
is there an addon or way to integrate de "new post" or "new thread" editor for this? So we can give HTML format to emails :D
thanx in advance
Not at the moment. It can be done but I don't have time to do this.
H@K@N
06-02-2005, 11:14 AM
Hello Erwin,
i have updated my php4.3.11 > php 5.0.4
Now i am getting a blank page, when i try to execute the Page.
My error_log is saying following:
PHP Fatal error: Cannot re-assign $this in /srv/www/htdocs/web1/html/email_istek.php on line 120
Line 120 says:
if (is_array($num)) $this=$num[$i]; else $this=$num;
do u know, what could be the reason ?
mfarmerhi
06-03-2005, 08:39 AM
Anyone have problems getting this to work with Gmail?
It's working with my site's mail server, but Gmails is a no go... !@#$
v4f webmaster
06-03-2005, 04:20 PM
Anyone have problems getting this to work with Gmail?
It's working with my site's mail server, but Gmails is a no go... !@#$
Perhaps because Gmail POP3 required SSL @ Port 995
mfarmerhi
06-03-2005, 05:44 PM
That was my assumption -- any way to add that to the hack?
reborg
06-06-2005, 12:00 AM
Hello Erwin,
i have updated my php4.3.11 > php 5.0.4
Now i am getting a blank page, when i try to execute the Page.
My error_log is saying following:
PHP Fatal error: Cannot re-assign $this in /srv/www/htdocs/web1/html/email_istek.php on line 120
Line 120 says:
if (is_array($num)) $this=$num[$i]; else $this=$num;
do u know, what could be the reason ?
Same php version same problem here.
Erwin
06-06-2005, 12:05 AM
Mmm... I don't use PHP5 yet so I don't know why this is the case. The hack may need to be rewritten for PHP5.
reborg
06-06-2005, 03:54 PM
Mmm... I don't use PHP5 yet so I don't know why this is the case. The hack may need to be rewritten for PHP5.
It appears to be only the delete which is affected by this. It runs fine without the delete block.
LeeWicKeD
06-07-2005, 10:29 AM
hi erwin,
at first: awesome hack, very useful in my forum
* LeeWicKeD clicks install :)
but i have only one problem:
i have a squirrelmail account, and if i log in there and write an email it works fine. the recipient see's for example: leewicked@myforum.de as the sender.
but if i write an email using your hack the recipient everytime see's a sender called "World Wide Web Owner <www@speedy.highendserver.de>" i think is the homepage hoster's emailaddress.(see screenshot 1) can i change something that the sender is MY emailaddress and not "World Wide Web Owner <www@speedy.highendserver.de>". when i write the email it show's "From: leewicked@myforum.de" (see screenshot 2)
hope you understand what i mean, sorry for bad english :)
LeeWicKeD
asciidic
06-11-2005, 10:48 PM
Very cool hack, but I have a few issues with this.
1: Select all doesn't work. I check it and hit delete, and all of my emails are still there. No error messages.
2: Mail does not actually send. It says the email was sent, but the recipient never gets it. Again, no error messages.
I'm guessing the second problem has to do with my server or firewall settings, which I cannot change, but the first one I'm not sure about.
Snake
06-12-2005, 12:23 PM
Excellent. But will this work on 3.0.7? Also, I have a few suggestions in my mind, would ya like to hear 'em? :)
mfarmerhi
06-12-2005, 06:06 PM
It works fine on 3.0.7.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.