![]() |
Quote:
Jbear6 |
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 |
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. :)
|
Thank you Erwin :)
Any comment on the other points I raised? |
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 |
Quote:
|
I changed server to someone that compile IMAP (venturesonline) - and the hack works like a charm!
|
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? |
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...
|
check through the pages of the thread...i asked the same thing and got an answer
|
Great! Thanks for the heads up Gruntie!
|
Quote:
EDIT: I guess I do not have IMAP now maybe? |
[QUOTE]
Quote:
|
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 |
Quote:
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... |
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? |
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. |
Quote:
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 |
Yes there is, and the answer to that is somewhere in this thread already. :)
|
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.
|
Quote:
Edit email.php and find: PHP Code:
PHP Code:
$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. |
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 :) |
Hmmm I got a small problem, Recieving emails works fine but I can't send them, any ideas? oh ya and theres no errors.
|
This doesnt seem to work with the latest version of PHP... any ideas? I got this help from my hosts.
Quote:
|
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. |
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
|
looks like it is compiled : http://juliet.dnsaction.com/serverphpinfo
|
damnit - I still can't get it working, I just get "server not found" :(
|
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.
|
It's port 143.
|
Checked that too - damn this is strange!!!! Just as I had integrated it to server all my news posts too - grrrr :(
|
That's what I'm looking for..
Thumbs up! |
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 :) |
Erwin, what are the known security issues with using this hack?
|
Quote:
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. |
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 ? |
Wrong username or password, or mail server name. That's usually the cause of that error.
|
All times are GMT. The time now is 11:58 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|