phpBB - Email functionality?

Discussion in 'PHP and MySQL' started by Daze, Mar 30, 2004.

  1. Daze

    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?
  2. SubSpace

    SubSpace Bass

    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)
  3. Yash

    Yash Bass

    I dont think we have misconfigured it.. we set mail.jodoshared.com as they smtp server in php.ini

    What value should we change?
  4. Daze

    Daze Perch

    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 webmaster@archonevolution.com and I provided the mailbox password.

    Should this have worked then?
  5. SubSpace

    SubSpace Bass

    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.
  6. SubSpace

    SubSpace Bass

    Try it without the username and password, I believe SMTP authentication is currently disabled on the mailserver.
  7. Daze

    Daze Perch

    Thanks SubSpace - I'll give it a go.

    Incidentally, how do I determine if I'm hosted on Win5?
  8. Daze

    Daze Perch

    Yep -That worked SubSpace. Much appreciated :D
  9. Yash

    Yash Bass

    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
  10. SubSpace

    SubSpace Bass

    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 ;)
  11. Daze

    Daze Perch

    Thanks again. Looks like I'm on Win2.
  12. Stephen

    Stephen US Operations Staff Member

    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 :)
  13. SubSpace

    SubSpace Bass

    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.
  14. Stephen

    Stephen US Operations Staff Member

    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.
  15. Stephen

    Stephen US Operations Staff Member

    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.
  16. NeuroPsyche

    NeuroPsyche Guppy

    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
  17. Stephen

    Stephen US Operations Staff Member

    Windows or linux plesk server?
  18. NeuroPsyche

    NeuroPsyche Guppy

    Stephen, hello!
    Windows version of Plesk.

    Thank you!
  19. Stephen

    Stephen US Operations Staff Member

    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.

Share This Page

JodoHost - 26,000 hosting end-users in 100 countries
Plesk Web Hosting
VPS Hosting
H-Sphere Web Hosting
Other Services