phpBB - Email functionality?

Daze

Perch
Does anyone know what email settings I need to use in phpBB 2.0.7? Whenever anyone tries to join my forum, they are presented with a debug error message. Emailing is clearly not working, but I have never used php myself, being an ASP.Net developer.

I assume email within phpBB should work on jodohost?
 
If you're running on a Windows server, I believe JodoHost has misconfigured PHP mailsending there :(

You need to enable "Use SMTP Server for email" in the phpBB configuration, and set it to mail.m****here.biz or similar.

For other php scripts you may have problems with, this makes the mail() function work for me on Win5:
PHP:
ini_set("SMTP", "mail.m****here.biz");

Would be easier if JodoHost fixed that particular configuration value though 8)
 
I dont think we have misconfigured it.. we set mail.jodoshared.com as they smtp server in php.ini

What value should we change?
 
I've tried using the SMTP settings too, but without luck.

My domain with Jodohost is archonevolution.com. I used mail.archonevolution.com for the SMTP server address, username I set to [email protected] and I provided the mailbox password.

Should this have worked then?
 
Yash said:
I dont think we have misconfigured it.. we set mail.jodoshared.com as they smtp server in php.ini
What value should we change?

It's set to "localhost" on Win5 in any case. And you shouldn't use mail.jodoshared.com, but rather mail.m****here.biz, as reseller customers can request the current setting using ini_get() which would identify JodoHost as the actual hosting company, which you were trying to avoid with the m****here.biz thing.
 
Daze said:
My domain with Jodohost is archonevolution.com. I used mail.archonevolution.com for the SMTP server address, username I set to [email protected] and I provided the mailbox password.
Should this have worked then?

Try it without the username and password, I believe SMTP authentication is currently disabled on the mailserver.
 
Thanks SubSpace - I'll give it a go.

Incidentally, how do I determine if I'm hosted on Win5?
 
SubSpace said:
It's set to "localhost" on Win5 in any case. And you shouldn't use mail.jodoshared.com, but rather mail.m****here.biz, as reseller customers can request the current setting using ini_get() which would identify JodoHost as the actual hosting company, which you were trying to avoid with the m****here.biz thing.

Sorry, we are using mail.m****here.biz... said mail.jodoshared.com because it gets censored... Even for the DSN connections for CF, we take particular care to use m****here.biz

i'm not sure why its set to localhost on win5, i'll have that changed
 
Daze said:
Incidentally, how do I determine if I'm hosted on Win5?

Log on to your H-Sphere control panel and go to Account - Account Settings, check under Host Name. That should tell you which server you're on, I can't determine it easily since you seem to have a dedicated IP on your domain, or at least one I don't recognize ;)
 
Helpful tip #1:
you can make a custom php.ini, just create the php.ini with the values you want in it, and put it in the domain root.

Typical changes are the smtp server, and the mailfrom.
I normally set it to mail.myhosteddomain.com and it works flawlessly :)
 
The domain root? Even if there isn't anything critical in there I would feel a bit apprehensive against placing a configuration files there for all to see.

If it's just the SMTP server to use and maybe 1 or 2 other settings, I would prefer using ini_set() in your standard include file, which would have a PHP extension so it's not viewable.
 
umm, someone can get all the info in php.ini from php.net except the email server, and wow, mail.domain.com that is too easy to guess, plus ini set doesn't work for all items a true file does.
 
I just tested on a site where I have a custom php.ini, it gives a 404 error if I try loading it up in a browser.
 
I just installed PhpBB on a dedicated Plesk 11.5 server.
It functions perfectly except it wont send email.
I followed the instructions listed in this chain, such as using 'localhost' setting SMTP on and off,
creating a username in Plesk users for email, w/password, entering them into PhpBB,
but without any luck. PhpBB just simply doesn't seem to want to send email.

If anyone has any suggestions, or even better, a cheat-sheet on how to setup Plesk to work with PhpBB I'd greatly appreciate it.

Thanks!
David
 
ok, I've seen this many times before you need to either setup SMTP auth and authenticate through your mail server smtp, or install MS SMTP and assign it on port 2525 and set it to pickup mail and send out. Sometimes easiest is the ms stmp simple server so a plain php mail() command works without extras, but it can get exploited a bit more if there is a stray form mail etc.
 
Back
Top